Im trying to put my css hover menu into a table where i can see it centered on all resolutions.
any help?
Im trying to put my css hover menu into a table where i can see it centered on all resolutions.
any help?
Put it in a table with three columns, the middle at 0% width, the rest at 50%. Put it in the middle.
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
This answer was close enough for me to get to the real solution although using a table is not pure CSS. Instead of setting the center to 0% give it no width and set the two outside TDs to 0% so your table is <table><tr><td width=0%><td><td>insert navibation bar here (the stuff inside the <div> basically on most menus I have seen from <ul> to </ul>)</td><td width=0%)</td></tr></table>
I have tested in IE7 and FF2.06
Dwight
The OP already had the table, I presumed it was holding tabular data.This answer was close enough for me to get to the real solution although using a table is not pure CSS.
Your markup is invalid: <td>s may not be nested inside <td>s. If you want to do it using CSS, you can simply applymargin: 0 auto;as always.
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
Bookmarks