Hi,
I'm currently developing a website and am having issues with div tags.
When the contents of a page are greater than the screen resolution and the user has to scroll down the page, the container div tag moves down with it.
I need the container div to stay at the top of the page where i have coded iteven when scrolling.
This issue only occurs in Internet Explorer and not in Firefox, Opera, Safari of any other browsers i have tested.
The container div has "relative" positioning and i have 2+ divs inside that, with "absolute" positioning so they stay enclosed in the container.
Below is an example of the html code and CSS, any help i can get in resolving this issue would be greatly appreciated.
I have fixed this issue after almost a week of trying,
Someone told me to add "overflow-y: auto;" for the body style in the CSS to fix any scrolling issues. I removed this and it works in IE now.
There are no scrolling issues anyway, can comeone explain why you would add this?
Thanks.
FYI, "overflow-y: auto" actually adds the vertical scrollbar space in Safari 3/Mac.
See this sample page I found today: http://www.dave-woods.co.uk/wp-content/uploads/2008/01/css-floats-without-text-wrap.html.
Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)