redndahead
09-12-2006, 02:10 PM
I'm new to css and I'm trying to Switch a table menu I have to css. Here is the menu:
<table>
<tr>
<td valign="top">
<a href="/index.php?reference_index=1" title="Home"><img src="./default_images/link_icons/places/home.png" alt="Home" /><br />Home</a>
</td>
<td>
</td>
<td valign="top">
<a href="/faq.php?reference_index=1" title="FAQs"><img src="./default_images/link_icons/apps/help-browser.png" alt="FAQs" /><br />FAQs</a>
</td>
<td valign="top">
<a href="/index.php?reference_index=2" title="Microsoft Campus Agreement (MCCA)"><img src="./default_images/link_icons/other/windows.png" alt="Microsoft Campus Agreement (MCCA)" /><br />Microsoft Campus Agreement (MCCA)</a>
</td>
<td valign="top">
<a href="/index.php?reference_index=3" title="Work At Home"><img src="./default_images/link_icons/actions/go-home.png" alt="Work At Home" /><br />Work At Home</a>
</td>
<td valign="top">
<a href="/index.php?reference_index=4" title="Licensing"><img src="./default_images/link_icons/actions/format-justify-fill.png" alt="Licensing" /><br />Licensing</a>
</td>
<td valign="top">
<a href="/index.php?reference_index=5" title="Personal Use Software"><img src="./default_images/link_icons/devices/media-cdrom.png" alt="Personal Use Software" /><br />Personal Use Software</a>
</td>
<td valign="top">
<a href="/index.php?reference_index=6" title="Accessibility"><img src="./default_images/link_icons/apps/preferences-desktop-accessibility.png" alt="Accessibility" /><br />Accessibility</a>
</td>
</tr>
</table>
The part i'm having a difficulty with is how I can create multiple rows and still line it up horizontally.
So I want
img img2 img3
centered text centered text 2 centered text 3
Thanks for any help.
Adam
<table>
<tr>
<td valign="top">
<a href="/index.php?reference_index=1" title="Home"><img src="./default_images/link_icons/places/home.png" alt="Home" /><br />Home</a>
</td>
<td>
</td>
<td valign="top">
<a href="/faq.php?reference_index=1" title="FAQs"><img src="./default_images/link_icons/apps/help-browser.png" alt="FAQs" /><br />FAQs</a>
</td>
<td valign="top">
<a href="/index.php?reference_index=2" title="Microsoft Campus Agreement (MCCA)"><img src="./default_images/link_icons/other/windows.png" alt="Microsoft Campus Agreement (MCCA)" /><br />Microsoft Campus Agreement (MCCA)</a>
</td>
<td valign="top">
<a href="/index.php?reference_index=3" title="Work At Home"><img src="./default_images/link_icons/actions/go-home.png" alt="Work At Home" /><br />Work At Home</a>
</td>
<td valign="top">
<a href="/index.php?reference_index=4" title="Licensing"><img src="./default_images/link_icons/actions/format-justify-fill.png" alt="Licensing" /><br />Licensing</a>
</td>
<td valign="top">
<a href="/index.php?reference_index=5" title="Personal Use Software"><img src="./default_images/link_icons/devices/media-cdrom.png" alt="Personal Use Software" /><br />Personal Use Software</a>
</td>
<td valign="top">
<a href="/index.php?reference_index=6" title="Accessibility"><img src="./default_images/link_icons/apps/preferences-desktop-accessibility.png" alt="Accessibility" /><br />Accessibility</a>
</td>
</tr>
</table>
The part i'm having a difficulty with is how I can create multiple rows and still line it up horizontally.
So I want
img img2 img3
centered text centered text 2 centered text 3
Thanks for any help.
Adam