View Full Version : Word wrap/css margin issue...
01-22-2005, 03:33 AM
Can someone help me pinpoint a problem with the text wrap/left margin issue inside the "INDUSTRY NEWS BRIEFS - TECHNOLOGY & MEDIA" box on this page: http://www.mediamogulsweb.com/industry_news.shtml#briefs...
The copy should be flush left, aligned with the subheads.....It's definitely a CSS problem...But I've been looking at this for a little bit, and I'm not making any progress...thanks for any help! :thumbsup:
01-22-2005, 08:47 PM
You're surrounding the text you need aligned with <span>. <span> is inline, meaning the margin assigned to it won't "wrap" along with it.
If you place your text in <p> tags-- which you should be doing anyway-- you can apply a little margin or padding and it'll wrap just fine.
You could actually save TONS of code and space by coding that page a little more semantically; plus it'll make it easier to debug. It took awhile for me to wade through your tables and font tags to find the problem...
01-22-2005, 10:43 PM
thanks for wading throught that and for the tip about the <span> and <p> tags...sorry if the code is a little sloppy, some of it isn't mine...anyway, your tip worked... :thumbsup:
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.