View Full Version : div tags

11-07-2002, 01:07 PM
I am using an image map to call hidden div tags to show a drop down mouseover menu.
However the div tags are hidden from the users view blank space to the right of my web page appears and when I view the source of the code the div tags are to the right of the image map and therefore make my page wider than 600 pixels which means a horizontal scroll bar appears.
Is there a way of stopping the scroll bar and blank space from appearing as the user should never need to scroll to the right.

11-07-2002, 01:47 PM

Are you using the "visibility" property to hide your divs? That makes the divs "transparent", but still taking space on your page.

You should use the "display" property. When you hide a div with display:none; no space is taken.

<edit> A link..

11-07-2002, 02:30 PM
Thanks for that!!