Forum Moderators: not2easy

Message Too Old, No Replies

can you create a border that a div considers part of itself

         

icpooreman

2:37 pm on Jul 21, 2005 (gmt 0)

10+ Year Member



hey I've got a foldout css menu bar and I wanted to add a border to it however I ran across a problem in that the menu bar doesn't consider the border as part of itself. Meaning when you hover over the border the menu bar unfolds as if you've taken your mouse off the menu. Is there anyway to get a border where the div considers its border as part of itself.

4css

2:58 pm on Jul 21, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Can you post some of your styles and your code? A shortened version as much as possible to see what is going on? Also, if you have not done so yet, validate it first, both css and your xhtml/html.

icpooreman

4:14 pm on Jul 21, 2005 (gmt 0)

10+ Year Member



I'm an idiot actually the problem of the menu dissapearing was because of something else I was doing (I also removed all bgimages and colors from my menu, and when I hovered over a portion of the menu w/no text it dissapeared and made it look like it was because of the border).

Although the border still isn't clickable but I'm willing to live with that.