homepage Welcome to WebmasterWorld Guest from 54.205.99.71
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderator: open

CSS Forum

    
Div tage resizes when hyplink rolled over
How do I stop this
Red_Eye




msg:1176126
 1:09 pm on Feb 16, 2004 (gmt 0)

The pages are written in asp.net. This problem does not occur if I simply view the page on its own. but if I add the page to a frame set.
The web page has a scolling div tag in the centre of the page. When I rollover the menu items on the left hand side this div tag resizes. This only happens if the content has cuased the div tag to show scroll bars.

does anyone have any questions as to how I can stop this from happening.

 

DrDoc




msg:1176127
 4:23 pm on Feb 16, 2004 (gmt 0)

I assume the div tag doesn't just resize on its own... What happens when you hover the anchors? A JavaScript is called?

aevea




msg:1176128
 6:19 pm on Feb 16, 2004 (gmt 0)

That sounds like an internet explorer rendering bug I've recently dealt with. Do you change the background color for the hover state?

Adam

Red_Eye




msg:1176129
 4:00 pm on Feb 17, 2004 (gmt 0)

It only happens when I roll over the button, and yes I do change the backgorund hover colour

aevea




msg:1176130
 4:55 pm on Feb 17, 2004 (gmt 0)

Wish I had found a good fix but for me the background-color change wasn't essential and so I just hid it from internet explorer:

#menu>a:hover {background: #abe; }

Sounds like that's probably not an option with your design. The other thing needed to trigger the bug is (I think) something fixed in position. I wasn't using frames but the bug came up when I tried to get ie to emulate
position:fixed

Hope you find an answer and I'll keep playing with it.

Adam

Red_Eye




msg:1176131
 5:00 pm on Feb 17, 2004 (gmt 0)

Adam

Thanks for the help at the moment I have decided not to change the background colour and it doesn't look too bad. When I get more time I will play around more.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved