Welcome to WebmasterWorld Guest from 22.214.171.124
Forum Moderators: not2easy
Here is my workaround: Make an image of the same width of the menu and a height of 1px. Put your menu color on it and add one black pixel on the right side of it. Then in your css do this:
background-color: #FFF; /*the color of the right side content*/
Set your menu div to the right width, and you're done. No need to worry about the menu or the content divs extending all the way down anymore.
If there is an easier way to do this (with the border on the right) please post it here... i've tested it with ie, netscape, and opera and it seems to have no problems.
border-right: 1px solid #DCF4F4;
top: 40px; /* I have a header */
<body><div id="main">content</div><div id="nav">nifty-cool CSS :hover pop-out menus</div></body>
I still have some tweaks to do to get it looking decent in IE6 (but I don't really care about broken browsers).
Er yeah, add the border[/edit]
[edited by: drbrain at 10:25 pm (utc) on May 8, 2003]
if there is an easier way to do this (with the border on the right) please post it here... i've tested it with ie, netscape, and opera and it seems to have no problems.
Not sure if it's an easier way, but the other way you describe using page background colours..
Instead of trying to put the border on the menu, put it on the left side of your content div ;)