473,323 Members | 1,551 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,323 software developers and data experts.

Extra padding in IE: known bug? a fix?

Hi,

MS IE6/Win displays some extra padding below or (in some situations)
above list items in a menu. I tried and reduce the test case to [1], and
leave a link to the real-world page [2] just in case.

[1] http://localhost/~dan/sandbox/test_I...a_padding.html
[2] http://frontenac.ameriques.free.fr/ (see the menu)

It *seems* that IE adds a whole line-height of padding, possibly
confused by my somewhat convoluted markup, for instance :
<li><a href="#"><span>Item 2</span></a>
with LI, A and SPAN styled with "display: block".

Lukily, I noticed that adding a border-bottom to the "faulty" LI fixes
the erroneous padding. So you see I am not desperate, but still:
- is it a known bug (I mean, with a name :-D)?
- is there an other, invisible, way to prevent it?
- or could the markup be simplified to be more IE-friendly?

--
Daniel Déchelotte
http://yo.dan.free.fr/
Oct 24 '05 #1
1 1894
Daniel Déchelotte a écrit :
MS IE6/Win displays some extra padding below or (in some situations)
above list items in a menu. I tried and reduce the test case to [1],

[1] http://localhost/~dan/sandbox/test_I...a_padding.html


Oh boy. Here is the link:
http://yo.dan.free.fr/tmp/test_IE_extra_padding.html

Apologies. :)
--
Daniel Déchelotte
http://yo.dan.free.fr/
Oct 25 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

23
by: MattB | last post by:
Hello please help, I have a table cell with a div in it. The div has a width of 300px. but when it is rendered it puts extra space into the table cell. Here's the style <style>...
1
by: MattB | last post by:
Hello please help, I have a table cell with a div in it. The div has a width of 300px. but when it is rendered it puts extra space into the table cell. Here's the style <style>...
6
by: Skip Hollowell | last post by:
I am working on a menu bar for a site, and am using buttons in the bar (because the customer wants to use accessKeys for each selection, apparently it is too much work to click on them with a...
2
by: Knoxy | last post by:
Hello, I've noticed one or two people post on this before but nobody seems to have replied so raising the issue again... is this a known IE6 CSS bug? I have placed the following in my...
0
by: MattB | last post by:
Hello please help, I have a table cell with a div in it. The div has a width of 300px. but when it is rendered it puts extra space into the table cell. Here's the style <style>...
14
by: D. Alvarado | last post by:
Hello, I am trying to open a window containing an image and I would like the image to be flush against the window -- i.e. have no padding or border. Can I make this happen with a single call to a...
1
by: Art | last post by:
Not sure whether the question is appropriate to the .html and/or ..stylesheets ng so I'm posting to both. I have been trying to find a solution to a problem regarding adding of the padding...
2
by: Jake Barnes | last post by:
Please check out this page: http://www.bluewallllc.com/Laura/cms/index.php?pageId=2217 It validates, and it is rendering about right in FireFox. However, in IE it has a bunch of extra padding...
6
by: John Messenger | last post by:
I notice that the C standard allows padding bits in both unsigned and signed integer types. Does anyone know of any real-world examples of compilers that use padding bits? -- John
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.