Bibiano Wenceslao http://bibiano.io UX, Social Media, Customer Support & Workflows Sat, 04 Jul 2015 18:53:17 +0000 en-US hourly 1 http://wordpress.org/?v=4.2.2 Design is content with intenthttp://bibiano.io/design-is-content-with-intent/ http://bibiano.io/design-is-content-with-intent/#comments Sun, 14 Jun 2015 16:02:34 +0000 http://bibiano.io/?p=2117 Design is content with intent. Content without intent is noise. Intent without content is decoration. — Joe Sparano

Original Post: Design is content with intent
Posted By: Bibiano Wenceslao

]]>

Design is content with intent. Content without intent is noise. Intent without content is decoration.

Joe Sparano

Original Post: Design is content with intent
Posted By: Bibiano Wenceslao

]]>
http://bibiano.io/design-is-content-with-intent/feed/ 0
Productivity vs. Efficiencyhttp://bibiano.io/productivity-vs-efficiency/ http://bibiano.io/productivity-vs-efficiency/#comments Fri, 05 Jun 2015 13:24:38 +0000 http://bibiano.io/?p=2096 Productivity: quantity of work done over time. Effectiveness: quantity of the *right* work done over time. Focus on the latter. — Sean Rose

Original Post: Productivity vs. Efficiency
Posted By: Bibiano Wenceslao

]]>

Productivity: quantity of work done over time.

Effectiveness: quantity of the *right* work done over time.

Focus on the latter.

Sean Rose

Original Post: Productivity vs. Efficiency
Posted By: Bibiano Wenceslao

]]>
http://bibiano.io/productivity-vs-efficiency/feed/ 0
Being interested in othershttp://bibiano.io/being-interested-in-others/ http://bibiano.io/being-interested-in-others/#comments Fri, 29 May 2015 16:00:41 +0000 http://bibiano.io/?p=2057 You can make more friends in two months by being interested in other people than in two years of trying to get people interested in you. — Dale Carnegie

Original Post: Being interested in others
Posted By: Bibiano Wenceslao

]]>

You can make more friends in two months by being interested in other people than in two years of trying to get people interested in you.

— Dale Carnegie

Original Post: Being interested in others
Posted By: Bibiano Wenceslao

]]>
http://bibiano.io/being-interested-in-others/feed/ 0
Becoming how we are treatedhttp://bibiano.io/becoming-how-we-are-treated/ http://bibiano.io/becoming-how-we-are-treated/#comments Sun, 24 May 2015 14:41:49 +0000 http://bibiano.io/?p=2166 People will notice the change in your attitude towards them but won’t notice their behavior that made you change. — Unknown Related & recommended reading: 7 Smart Ways to Deal with Toxic People

Original Post: Becoming how we are treated
Posted By: Bibiano Wenceslao

]]>

People will notice the change in your attitude towards them but won’t notice their behavior that made you change.

— Unknown

Related & recommended reading: 7 Smart Ways to Deal with Toxic People

Original Post: Becoming how we are treated
Posted By: Bibiano Wenceslao

]]>
http://bibiano.io/becoming-how-we-are-treated/feed/ 0
Perceptionhttp://bibiano.io/perception/ http://bibiano.io/perception/#comments Sat, 23 May 2015 01:53:50 +0000 http://bibiano.io/?p=2052 We don’t see things as they are, we see them as we are. — Anaïs Nin

Original Post: Perception
Posted By: Bibiano Wenceslao

]]>

We don’t see things as they are, we see them as we are.

— Anaïs Nin

Original Post: Perception
Posted By: Bibiano Wenceslao

]]>
http://bibiano.io/perception/feed/ 0
How to make an iframe fit or fill 100% of its container’s remaining heighthttp://bibiano.io/make-iframe-fit-container-height/ http://bibiano.io/make-iframe-fit-container-height/#comments Sun, 17 May 2015 08:16:32 +0000 http://bibiano.io/?p=2140 There are a lot of suggested solutions out there: mostly not working when I tried them, and some required several lines of code which seems unnecessary for such a simple issue. After a lot of testing, I found one solution that worked 100%, at least for a PDF I’m trying to embed and display in […]

Original Post: How to make an iframe fit or fill 100% of its container’s remaining height
Posted By: Bibiano Wenceslao

]]>
There are a lot of suggested solutions out there: mostly not working when I tried them, and some required several lines of code which seems unnecessary for such a simple issue.

After a lot of testing, I found one solution that worked 100%, at least for a PDF I’m trying to embed and display in full height using an iframe on a page.

It came from a short answer from Stack Overflow user sree when the same problem was asked there.

<iframe src="/sample.pdf" width="100%" style="height: 100em;"></iframe>

How it works

We set set the iframe’s width to 100%. This makes the iframe stretch out to fit the full width of the src file/page.

So, give it an attribute=value of height="100%" too?

While we can, it doesn’t work the way we expect it to.

You can research about it but as far as I know and have tried, the height attribute only works with pixel values, not percentage.

As a workaround, we style the iframe by giving it a height of 100em instead.

Why not style it with height: 100%;?

It doesn’t work, unless the iframe’s container e.g. a div has a defined height itself e.g. <div style="height: 500px;"><iframe … > … </iframe></div>.

I’m honestly not sure how 100em works in this case (I also can’t find a good source explaining it), but the way the em unit is interpreted for fonts is that font-size: 1em; equals to 100% of the inherited (parent container’s) font-size.

Where to place it

Just add width="100%" style="height: 100em;" inside the opening iframe tag, preferably right after the src attribute.

Did this approach work for your case? Did you come up with another working solution for your problem? Let us know in the in the comments section down below.

Yo! I have a newsletter where I share not only my latest posts, but also interesting and carefully curated finds from all over the web that will help you with your business and/or career on the web. No ads, no spam, unsubscribe anytime. Enter your nickname and email below to get started.

Newsletters — not your thing? No problemo. I’m on also on Twitter where I share mostly about UX, social media, web trends, customer service, workflow automation, and more. Self-improvement stuff and tech updates go on my Facebook page. Google+ is where I post about web design, artsy/cool/random stuff and #caturday! You're already awesome, but together we'd be awesome...er! Let's be friends!

Original Post: How to make an iframe fit or fill 100% of its container’s remaining height
Posted By: Bibiano Wenceslao

]]>
http://bibiano.io/make-iframe-fit-container-height/feed/ 2
3D-printed ultrasound of a baby for blind momhttp://bibiano.io/3d-printed-ultrasound-of-a-baby-for-blind-mom/ http://bibiano.io/3d-printed-ultrasound-of-a-baby-for-blind-mom/#comments Fri, 15 May 2015 15:30:13 +0000 http://bibiano.io/?p=2122 I remember the time my wife and I first saw our little girl through ultrasound — it was an exhilarating experience we’ll never forget. I am really, really glad that we now have the technology to let visually impaired parents experience the same. Amazing, powerful stuff. Thanks and +1 for 3D printing! Source: Huggies Brasil (Youtube)

Original Post: 3D-printed ultrasound of a baby for blind mom
Posted By: Bibiano Wenceslao

]]>
I remember the time my wife and I first saw our little girl through ultrasound — it was an exhilarating experience we’ll never forget.

I am really, really glad that we now have the technology to let visually impaired parents experience the same.

Amazing, powerful stuff. Thanks and +1 for 3D printing!

Source: Huggies Brasil (Youtube)

Original Post: 3D-printed ultrasound of a baby for blind mom
Posted By: Bibiano Wenceslao

]]>
http://bibiano.io/3d-printed-ultrasound-of-a-baby-for-blind-mom/feed/ 0
We might be living in a colorless universehttp://bibiano.io/colorless-universe/ http://bibiano.io/colorless-universe/#comments Fri, 15 May 2015 13:49:27 +0000 http://bibiano.io/?p=2048 All color is produced by the brain. The universe is colorless. It’s merely different wavelengths and our brain colors them. I forgot where I read that statement first but it sure got me…

Original Post: We might be living in a colorless universe
Posted By: Bibiano Wenceslao

]]>

All color is produced by the brain. The universe is colorless. It’s merely different wavelengths and our brain colors them.

I forgot where I read that statement first but it sure got me…

Mindblown

Original Post: We might be living in a colorless universe
Posted By: Bibiano Wenceslao

]]>
http://bibiano.io/colorless-universe/feed/ 0
Man’s best friendhttp://bibiano.io/mans-best-friend/ http://bibiano.io/mans-best-friend/#comments Sat, 09 May 2015 14:50:29 +0000 http://bibiano.io/?p=2046 A heartwarming short animation about a Pembroke Welsh Corgi on a quest to get back to his owner in the midst of a zombie apocalypse. Source: Paper Penguin Pic

Original Post: Man’s best friend
Posted By: Bibiano Wenceslao

]]>
A heartwarming short animation about a Pembroke Welsh Corgi on a quest to get back to his owner in the midst of a zombie apocalypse.

Source: Paper Penguin Pic

Original Post: Man’s best friend
Posted By: Bibiano Wenceslao

]]>
http://bibiano.io/mans-best-friend/feed/ 0
Contempt vs. Kindnesshttp://bibiano.io/contempt-vs-kindness/ http://bibiano.io/contempt-vs-kindness/#comments Sat, 02 May 2015 10:50:16 +0000 http://bibiano.io/?p=2031 Found this well-written piece about what science says lasting relationships come down to — kindness and generosity. Quoted below from the article is what I thought really resonates with a lot couples, hopefully shedding light on what we need to start and keep doing (being kind and generous), and what needs to stop (contempt). Contempt, […]

Original Post: Contempt vs. Kindness
Posted By: Bibiano Wenceslao

]]>
Found this well-written piece about what science says lasting relationships come down to — kindness and generosity.

Quoted below from the article is what I thought really resonates with a lot couples, hopefully shedding light on what we need to start and keep doing (being kind and generous), and what needs to stop (contempt).

Contempt, they have found, is the number one factor that tears couples apart. People who are focused on criticizing their partners miss a whopping 50 percent of positive things their partners are doing and they see negativity when it’s not there.

People who give their partner the cold shoulder — deliberately ignoring the partner or responding minimally — damage the relationship by making their partner feel worthless and invisible, as if they’re not there, not valued. And people who treat their partners with contempt and criticize them not only kill the love in the relationship, but they also kill their partner’s ability to fight off viruses and cancers. Being mean is the death knell of relationships.

Kindness, on the other hand, glues couples together. Research independent from theirs has shown that kindness (along with emotional stability) is the most important predictor of satisfaction and stability in a marriage. Kindness makes each partner feel cared for, understood, and validated—feel loved. “My bounty is as boundless as the sea,” says Shakespeare’s Juliet. “My love as deep; the more I give to thee, / The more I have, for both are infinite.” That’s how kindness works too: there’s a great deal of evidence showing the more someone receives or witnesses kindness, the more they will be kind themselves, which leads to upward spirals of love and generosity in a relationship.

Neglect creates distance between partners and breeds resentment in the one who is being ignored.

The hardest time to practice kindness is, of course, during a fight—but this is also the most important time to be kind. Letting contempt and aggression spiral out of control during a conflict can inflict irrevocable damage on a relationship.

Kindness doesn’t mean that we don’t express our anger,” Julie Gottman explained, “but the kindness informs how we choose to express the anger. You can throw spears at your partner. Or you can explain why you’re hurt and angry, and that’s the kinder path.”

A lot of times, a partner is trying to do the right thing even if it’s executed poorly. So appreciate the intent.

— Ty Tashiro, Psychologist

We’ve all heard that partners should be there for each other when the going gets rough. But research shows that being there for each other when things go right is actually more important for relationship quality.

Source: Business Insider

Original Post: Contempt vs. Kindness
Posted By: Bibiano Wenceslao

]]>
http://bibiano.io/contempt-vs-kindness/feed/ 0