> From: Charles Wiltgen > > On several lines of text within a <div>, I'd like some of the > text to be > aligned left and the rest of the text to be aligned right without the > gratuitous use of tables. >
Charles, CSS .whatever { float: left; width: 15em; } .whatnot { float: right; width: 15em; } Markup <p class="whatnot">This is your right aligned chunk</p> <p class="whatever">This is your left aligned chunk</p> You need a width on the element you are floating, unless like an image it has an implicit width. Where I used a p element you could use other elements that better fit your situation. -- Peter Williams ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/