Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Wierd behavior when I hover
Old 10-22-2007, 10:41 AM Wierd behavior when I hover
Average Talker

Posts: 16
Name: Michelle
Location: Virginia
Trades: 0
Here's the link to my site: Door 41

When I hover over any of the links at the top of my page (in IE) the bottom portion of my page jumps up and you can no longer see the content. I'm guessing there may be some issues with the css for the footer elements, but I'm not sure. I was having problems getting it to stay at the bottom and probably messed up something. Any help would be greatly appreciated. Thanks in advance!

Code:
 
/* 3.1 Top Navigation
--------------------------------------------------------------------------------------- */
 
.masthead ul {
 list-style: none;
 text-align: right;
 padding-top: 60px;
 }
.masthead li {
 display: inline;
 margin: 0 0 0 10px;
 padding: 0 0 0 15px;
 font: 16px tahoma, verdana, arial, sans-serif;
 }
.masthead a:link{
 text-decoration: none;
 color: #55c7d1;
 }
.masthead a:visited{
 text-decoration: none;
 color: #55c7d1;
 }
.masthead a:hover{
 text-decoration: none;
 color: #55c7d1;
 border-bottom: 2px solid #55c7d1;
 }
.masthead a:active{
 text-decoration: none;
 color: #55c7d1;
 }
 
/* 5.0 Footer
--------------------------------------------------------------------------------------- */
 
.footer {
 background: #1a1a1a;
 padding: 10px 0;
 margin: 80px 0 0 0;
 text-align: center;
 min-height: 140px; 
 } 
 
/* 5.1 Footer Structure
--------------------------------------------------------------------------------------- */
 
.footercontent {
 width: 700px;
 text-align: left;
 margin-left: auto; 
 margin-right: auto; 
 }
.col1 {
 float: left;
 padding-left: 10px;
 }
.col2, .col3 {
 float: left;
 padding-left: 40px;
 }
.col4 {
 float: left;
 padding-left: 20px;
 }
If you need more information, let me know.
michelle1908 is offline
Reply With Quote
View Public Profile Visit michelle1908's homepage!
 
 
Register now for full access!
Old 10-22-2007, 02:09 PM Re: Wierd behavior when I hover
smeare's Avatar
Experienced Talker

Posts: 38
Trades: 0
I wonder if the min-height is giving you your fit.

Code:
.footer {
 background: #1a1a1a;
 padding: 10px 0;
 margin: 80px 0 0 0;
 text-align: center;
 min-height: 140px; 
 }
Try

Code:
.footer {
 background: #1a1a1a;
 padding: 10px 0;
 margin: 80px 0 0 0;
 text-align: center;
height: 140px; 
 }
__________________

Please login or register to view this content. Registration is FREE
smeare is offline
Reply With Quote
View Public Profile
 
Old 10-22-2007, 03:01 PM Re: Wierd behavior when I hover
Average Talker

Posts: 16
Name: Michelle
Location: Virginia
Trades: 0
Hmm. That might be it. I'll try it when I get home and let you know if it worked. I added that because the footer container wasn't expanding with the text. It probably wasn't the right fix for the issue. Thanks!
michelle1908 is offline
Reply With Quote
View Public Profile Visit michelle1908's homepage!
 
Old 10-22-2007, 03:04 PM Re: Wierd behavior when I hover
smeare's Avatar
Experienced Talker

Posts: 38
Trades: 0
Good looking site by the way. I really like it.
__________________

Please login or register to view this content. Registration is FREE
smeare is offline
Reply With Quote
View Public Profile
 
Old 10-22-2007, 04:02 PM Re: Wierd behavior when I hover
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
IE 6 doesn't support min/max height or width. If that's the version of IE with the problem, you're going to need a separate CSS file and conditional comments to feed IE a fixed height.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 10-22-2007, 05:14 PM Re: Wierd behavior when I hover
Average Talker

Posts: 16
Name: Michelle
Location: Virginia
Trades: 0
Thanks, smeare!
I'll see if I can do it without a min-height. I probably don't need it.
michelle1908 is offline
Reply With Quote
View Public Profile Visit michelle1908's homepage!
 
Old 10-22-2007, 08:51 PM Re: Wierd behavior when I hover
Average Talker

Posts: 16
Name: Michelle
Location: Virginia
Trades: 0
That didn't work, but when I took it out of the footer div and included in the main wrap, it stopped jumping. However, now my gray background that spanned the width of the browser is gone and I don't know how to get it back

Last edited by michelle1908; 10-22-2007 at 09:18 PM..
michelle1908 is offline
Reply With Quote
View Public Profile Visit michelle1908's homepage!
 
Old 10-24-2007, 11:03 AM Re: Wierd behavior when I hover
Average Talker

Posts: 16
Name: Michelle
Location: Virginia
Trades: 0
I just wanted to report that I removed the border from the .masthead a:hover and it was fine. I'm still baffled about why it would behave that way, but it's fixed...Thanks!
michelle1908 is offline
Reply With Quote
View Public Profile Visit michelle1908's homepage!
 
Old 10-24-2007, 03:32 PM Re: Wierd behavior when I hover
Foundationflash's Avatar
Ultra Talker

Posts: 410
Name: Harry Burt
Location: Colchester, Essex, England
Trades: 0
Everyone wonders about the IE box model. It's really quite strange. I'm sure LNR had a link to a good page about it floating around a day or two ago...
__________________
Foundation Flash tutorials :
Please login or register to view this content. Registration is FREE


New Dreamed Up Web Design:
Please login or register to view this content. Registration is FREE
Foundationflash is offline
Reply With Quote
View Public Profile Visit Foundationflash's homepage!
 
Old 10-25-2007, 01:45 PM Re: Wierd behavior when I hover
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Oh yeah.. lots of links on IE's busted box model, this is the biggie:

http://www.positioniseverything.net/index.php
http://www.communitymx.com/content/a...989953B6F20B41
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Wierd behavior when I hover
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.84020 seconds with 12 queries