On Sun, Jan 19, 2014 at 2:44 PM, John D <[email protected]> wrote: > I don't know if this is going to work but worth a try and adapt it for your > situation: > > First the HTML: > > <p><span id="first-word-left">Left</span><span > id="first-word-right">Right</span></p> > > Now the CSS: > > #first-word-left { > float: left; > } > #first-word-right { > float: right; > } > > Of course, Id can be replaced by a class if you have many left and right > items.
If I could generate the HTML myself this would not be at issue at all. Unfortunately I can't. I posed the HTML I have to work with earlier in the thread. >> I appreciate your efforts. Is there any way I can use the text of each >> option? I know the set of values that I want to be right aligned will >> be one of (by_target, by_tool, by_recipe, by_ppl) and if it's not one >> of those I want it left aligned. > ______________________________________________________________________ css-discuss [[email protected]] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
