View Full Version : text-align:justify
03-06-2004, 10:49 AM
What would cause css text-align:justify to create a horizontal scrollbar where there once was none?
It never would... the line width remains the same, it just looks a lot prettier :)
03-06-2004, 06:31 PM
Au contrare...heh heh.
But that's exactly what's happening. I take out the justify and the scrollbar disappears...put it back in, and the scrollbar shows back up. So, it's obviously doing something besides making it "pretty"...
03-10-2004, 05:54 AM
Anyone have any ideas?
03-10-2004, 10:18 AM
*cough* Code please? *cough*
03-10-2004, 10:35 AM
I had it posted before but didn't want the search engines to index it. Anyway, maybe it's the frameset.
03-10-2004, 11:27 AM
I can't really put my finger on it, but I saw (in smaller windows) that the window extends even further because of the nobr element around "Sire Properties is a member of...", etc. Maybe the combination of this and text-align: justify causes problems. It's proprietary, anyway... :rolleyes:
03-10-2004, 03:11 PM
I also think the header "Sire Properties is a member of the Better Business Bureau" is to blame. The <p>s still have padding between them and the viewport boundaries, so they are not exceeding it and causing the scroll.
Yet you say this was caused by text-align:justify? Weird :confused:
03-10-2004, 06:52 PM
Yep...That's what I'm saying. I took out the <nobr> "Sire Properties is a member"</nobr> bit...no change. Something's adding padding somewhere when changing to text-align:justify from text-align:left. I'm not exactly a newbie anymore but I'm still stumped.
03-10-2004, 09:52 PM
It is the italic text.
03-10-2004, 11:15 PM
Yeah it is...Ugh...Thanks man...:cool:
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.