Suggestions for webpage - Page 6

User 2088758 Photo


Senior Advisor
3,108 posts

Eric Rohloff wrote:
Eric Rohloff wrote:
Has anybody ate at any good pads lately?

;)


I don't know what I am missing here lol.... you guys are hurting my brain lol. How is padding going to stop the second word from dropping down :rolleyes:
Taking over the world one website at a time!

Steve Kolish
www.misterwebguy.com

YouTube Channel:
https://www.youtube.com/channel/UCL8qVv … ttneYaMSJA
User 187934 Photo


Senior Advisor
20,247 posts

Check your padding on your dark-grey-panel.
I have it at 8 but I think just a little less should do the trick.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 271657 Photo


Ambassador
3,816 posts

Maybe give the text size in ems or % rather than px?
I love deadlines. I like the whooshing sound they make as they fly by. (Douglas Adams)
https://www.callendales.com
User 2484360 Photo


Registered User
3,293 posts

E-Mail me your .rlmp file Steve. :)
User 2484360 Photo


Registered User
3,293 posts

Ok, I have let you suffer enough. ;)

The easiest way to accomplish this without changing the font size, making it an image, reconfigure the entire layout etc. Is to first find the exact pixel where the break happens. Which in this case is 375px. Now we have to remember that different browsers render differently so we want to add in some extra px's to be safe. I normally use 5 extra px's as most browsers do not go above that.

So starting at the 380px breakpoint we need to define a rule that allows the font size to stay the same, however, make the text smaller. How can we do this? Simple. :)

But before we get into that lets talk a little bit about Astro Physics and what happens at the event horizon of a black hole. At the event horizon of a black hole time starts to bend and become... Yeah, we do not have enough time to talk about that.

Where was I? Oh yes, simple.

letter-spacing: -2px; will decrease the letter spacing of the word to allow for both words to fit on one line all the way down until you get to 320px breakpoint in which the columns are then 12 spans each. Just remember you would need to remove the -2px spacing at that breakpoint if you wish as it is no longer needed.

If you would like you can set -1px letter spacing and reduce the font size to 24px which would give you the same effect, yet with smaller text.

Remember, first find the problem, look for solutions, consider which is the best, and test your two top picks. If neither works, then you did not find the real problem and must start again.

Time for me to get my cat nap and then back to work! :)
User 187934 Photo


Senior Advisor
20,247 posts

My way seemed way easier.:P
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 603315 Photo


Registered User
938 posts

Eric Rohloff wrote:
My way seemed way easier.:P


Too right it did :lol:
User 2088758 Photo


Senior Advisor
3,108 posts

But before we get into that lets talk a little bit about Astro Physics and what happens at the event horizon of a black hole. At the event horizon of a black hole time starts to bend and become... Yeah, we do not have enough time to talk about that.

Thanks Adam, you will have to go more into that Physics lesson, very interesting! :lol:

Ok so it works sort of but that gave me some ideas on what to do to fix it. I will have to figure out how to fix for three word titles... I may just change them to two words...

Thanks Eric for the help too! I have tried playing with the padding of the panels but it wasn't giving me enough so I think this line spacing and font combo is the ticket.
Taking over the world one website at a time!

Steve Kolish
www.misterwebguy.com

YouTube Channel:
https://www.youtube.com/channel/UCL8qVv … ttneYaMSJA
User 187934 Photo


Senior Advisor
20,247 posts

Thats weird because in the browser I tweaked you code and it only required the padding of the panels to be reduce a little to put it back on one line at least in FX.:)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2088758 Photo


Senior Advisor
3,108 posts

Did you shrink it all the way down or just to a break point? It works well for a few pixels then the problem comes back. Keep squishing it until it hits 320... the drop down effect will reoccur if you continue. I am testing on Chrome, Firefox and IE 10
Taking over the world one website at a time!

Steve Kolish
www.misterwebguy.com

YouTube Channel:
https://www.youtube.com/channel/UCL8qVv … ttneYaMSJA

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.