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
position: relative and float: left screwing up background colors in IE
Old 05-12-2006, 09:41 PM position: relative and float: left screwing up background colors in IE
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
I'm sure this is something stunningly stupid but for the life of me, I can't get this:

http://216.89.218.233/secc/

The behaviour of the link on the right ("Log Out") is how I want the links on the left to behave.

But for some strange reason, the combination of position: relative; and float: left; and display: block; (which I need or the menu looks like garbage) is screwing with the background color of the hyperlinks in IE. (And I need this to work in IE specifically since it's for a private intranet application and the customer only uses IE).

It also affects the submenus as well.

And unfortunately I need all three properties to get the menu to function as I intend to...or do I?

Any bright ideas would be greatly appreciated right about now.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
 
Register now for full access!
Old 05-16-2006, 02:57 AM Re: position: relative and float: left screwing up background colors in IE
Webmaster Talker

Posts: 626
Trades: 0
I'm not sure why you need the float:left command in the code. My experience with the float command is it pretty much over powers. If you are trying to position the submenu (when it appears) and you want it based off of the left hand side of the screen.

Try using the position:absolute instead of realative. Then you can position it based on the location that you want the submenu.

I tried to look at some of your code but you have it in a <link>. You should pose som of your code so we can see.
jim.thornton is offline
Reply With Quote
View Public Profile
 
Old 05-16-2006, 03:12 AM Re: position: relative and float: left screwing up background colors in IE
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
zincoxide: I want each of the divs to appear to the left of the others. Although you might have given me another way to look at it inadvertently. I'll try it in the morning. Thanks.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Reply     « Reply to position: relative and float: left screwing up background colors in IE
 

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.74526 seconds with 12 queries