473,387 Members | 1,455 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Float left with relative positioned list

KeredDrahcir
426 256MB
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.

6 2020
drhowarddrfine
7,435 Expert 4TB
Need the complete markup or a link...............
Mar 23 '11 #2
KeredDrahcir
426 256MB
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
7,435 Expert 4TB
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
426 256MB
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
7,435 Expert 4TB
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
426 256MB
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

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

Similar topics

11
by: Jeff Thies | last post by:
I have a series of blocks that are float left that I need centered on the page. <div class="center" align="center"> <div style="width: 100 px;float: left">thumbnail 1</div> <div style="width:...
0
by: Mike Kozlowski | last post by:
I have an absolutely positioned block on the top of my page, a block floated left, and a third block in the normal flow. IE6 and Mozilla 1.4 disagree on where the floated block should be placed --...
6
by: Herman Kuiper | last post by:
Hi, The HTML at the end of this message will render erroneously on IE (at least 5.0) and prperly on Mozilla (as I've been told). That does not surprise me, but I *would* like to find some...
6
by: TJ | last post by:
I've got a calendar that is based on the concept of lots of blocks that are spans with float:left. I would like to be able to have a detail section on the right side of the screen, so that when...
0
by: jonipony | last post by:
HELP: Float Left box is drifting to the right in ie! -------------------------- I need som HELP with my CSS coding! On the following web page my design falls apart at screen size 800 x 600...
5
by: Gozil | last post by:
Hey, Is it possible to change line on a float object? For example let say I have one <b> tag, one <p> tag and one <img> tag: I want the <img> to have float right and the <b> to have float left...
15
dlite922
by: dlite922 | last post by:
I'm back again, Intro: I've got a floating div (outerDIV) with fixed width that contains an image (IMG) and a div that contains a short text (innerDIV) Problem: In FF, the innerDIV is...
13
by: limelites | last post by:
In IE7, FF, Chrome and Safari, everything looks great but in Opera the display of the additional images in my product page looks awful. This is a site that does attract foreign visitors who do use...
1
by: Chinsu | last post by:
<html> <head> <style> #ex { width: 700px; background: red; float: left; } a, span { display: block;
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.