Travis, On May 22, 2006, at 7:08 PM, Travis Killen wrote:
> I am trying to position year, place, and city span containers left, > middle, and right respectively. Any idea's? > > http://936webdesign.com/index.php? > option=com_content&task=view&id=7&Itemid=7 First think about your data. Divs and spans are the elements of last resort as they are generic and communicate nothing about the relationships of these bits of data. Also, id attributes must be unique, i.e. 1 per page. Given that, you should change id="year" to class="year". I would thinks about something like this... ------- html ------- <ol id="workhistory"> <li id="mostrecent"> <ul class="employer"> <li class="serviceyears">2005 - </li> <li class="location">Nacogdoches, TX</li> <li class="name">936 Web Design</li> </ul> <h3 class="jobtitle">Company Owner</h3> <ul class="duties"> <li>Setup and maintain database driven web sites.</li> <li>Manage DNS services.</li> </ul> </li> <!-- repeat as needed --> </ol> --------- css -------- #workhistory li { display: block; border: 1px solid black; } #workhistory li li { border: none; } .employer { display: block; border-bottom: 1px solid black; text-align: center} .serviceyears { float: left; } .location { float: right; } There's some interesting examples over at microformats.org. This code is not tested, but should get you started. Getting the html right is fundamental because the css will be 'unstable' until the html is well in hand. I don't even want to think about the number of times I've had to rewrite my css because I changed my mind about what the html should be :-) hth -- Roger Roelofs "Remember, if you’re headed in the wrong direction, God allows U-turns!" ~Allison Gappa Bottke ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
