By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,501 Members | 1,263 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,501 IT Pros & Developers. It's quick & easy.

Float left with relative positioned list

KeredDrahcir
100+
P: 426
I want to create a navigation menu using list items. To get the main menu looking the way I want I need to include
Expand|Select|Wrap|Line Numbers
  1. position: relative;
However, when I do this, the sub menu that is an li ul starts from below that list item, but I want it floated to the left.
Is there way to acheive this?
Mar 23 '11 #1

✓ answered by drhowarddrfine

IE7 altogether is a known bug but without a link or the complete markup, I'm only guessing at your problem. Padding should not be an issue.

Share this Question
Share on Google+
6 Replies


drhowarddrfine
Expert 5K+
P: 7,435
Need the complete markup or a link...............
Mar 23 '11 #2

KeredDrahcir
100+
P: 426
Is there a paddiing issue in IE 7? If I have three dinisions in IE* I have the first one with float left and it appear at the very left of the container. If I use compatibility view it is about 10 pixels over which means the right hand one overlaps.
Is there an issue in IE7?

It works if I used float: lef but screws it up in IE 8.
Mar 24 '11 #3

drhowarddrfine
Expert 5K+
P: 7,435
IE8 does not work like IE7 which doesn't work like IE6 and none of those work like IE9 and all of those don't work like any of the other far more modern browsers. You can't trust IE to do anything right.
Mar 24 '11 #4

KeredDrahcir
100+
P: 426
I know what you mean.i HATE IE. It's just that most people use that so you have to develop for it. I use Firefox. It's bad enough having to deal with IE not behaving its slef but then we have to deal with different versions.

Is padding a known bug in IE7?
Mar 25 '11 #5

drhowarddrfine
Expert 5K+
P: 7,435
IE7 altogether is a known bug but without a link or the complete markup, I'm only guessing at your problem. Padding should not be an issue.
Mar 25 '11 #6

KeredDrahcir
100+
P: 426
Ive sorted it out now. It shouldn't have happened but taking out the auto left and right margin, I fixed it.
10:00 Capture IE
10:15 Torture IE
11:00 Kill IE
Mar 25 '11 #7

Post your reply

Sign in to post your reply or Sign up for a free account.