I'm attempting to convert the following site into a completely table-less layout (a single page referenced below; see why later):
http://www.dev-alumni.wayne.edu/alumni/travel.php
Right now, I've gotten the vast majority of it more-or-less the way I want it. The mauve masthead with the logo, the sidebar navigation (both ULs, in fact), and the main content/picture are nearly pixel perfect.
The problem I'm having is with the navigation bar at the bottom:
http://wayne.laikadog.com/advancement/index-stable.html
The real, table-filled site currently has that laid out in a table, with CSS doing the borders and hover effects (which I've grown to hate). However, transitioning this to a table-less form (at laikadog.com) is proving problematic.
Here's the new code:
I can successfully get the two ULs to line up on two lines, but the problem is that I can't seem to force the LIs to have a set width (in this case, 1/6, or roughly 16%, of the total UL width). Right now, they simply take up as much room as they need.
I've tried to set a background-image with a transparent GIF of 116px by 1px, but that didn't work--it simply truncated the image, using only as much width as there is text.
I'd really appreciate any advice or insight anyone might have into this. My ultimate goal is to have a site to which I can apply multiple style sheets--in effect, allowing for completely new looks simply by altering the style sheet (think CSS Zen Garden).
Thanks.
http://www.dev-alumni.wayne.edu/alumni/travel.php
Right now, I've gotten the vast majority of it more-or-less the way I want it. The mauve masthead with the logo, the sidebar navigation (both ULs, in fact), and the main content/picture are nearly pixel perfect.
The problem I'm having is with the navigation bar at the bottom:
http://wayne.laikadog.com/advancement/index-stable.html
The real, table-filled site currently has that laid out in a table, with CSS doing the borders and hover effects (which I've grown to hate). However, transitioning this to a table-less form (at laikadog.com) is proving problematic.
Here's the new code:
Code:
<div id="wsunav">
<ul id='navrow1'>
<li id='wsuhome'><a href='http://www.wayne.edu/'>WSU Home</a></li>
<li id='facstaff'><a href='http://www.wayne.edu/faculty_and_staff/'>Faculty and Staff</a></li>
<li id='acadlib'><a href='http://www.wayne.edu/academics_libraries.html'>Academics and Libraries</a></li>
<li id='research'><a href='http://www.research.wayne.edu/'>Research</a></li>
<li id='apply'><a href='http://www.apply.wayne.edu/'>Apply to Wayne State</a></li>
<li id='directories'><a href='http://www.ucomm.wayne.edu/~fsd/'>WSU Directories</a></li>
</ul>
<ul id='navrow2'>
<li id='futurestudents'><a href='http://www.wayne.edu/future_students/'>Future Students</a></li>
<li id='currstudents'><a href='http://www.wayne.edu/current_students/'>Current Students</a></li>
<li id='schcoll'><a href='http://www.wayne.edu/academic_programs.html'>Schools and Colleges</a></li>
<li id='campcomm'><a href='http://www.wayne.edu/visitors_and_community/'>Campus and Community</a></li>
<li id='athletics'><a href='http://sdcl.wayne.edu/Athletics/index.htm'>Athletics</a></li>
<li id='aboutwsu'><a href='http://www.wayne.edu/about_wayne2.html'>About Wayne State</a></li>
</ul>
</div>
I can successfully get the two ULs to line up on two lines, but the problem is that I can't seem to force the LIs to have a set width (in this case, 1/6, or roughly 16%, of the total UL width). Right now, they simply take up as much room as they need.
I've tried to set a background-image with a transparent GIF of 116px by 1px, but that didn't work--it simply truncated the image, using only as much width as there is text.
I'd really appreciate any advice or insight anyone might have into this. My ultimate goal is to have a site to which I can apply multiple style sheets--in effect, allowing for completely new looks simply by altering the style sheet (think CSS Zen Garden).
Thanks.