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

styled lists differ in IE and Moz

I've validated the XHTML and CSS on a page and cannot figure out why the
spacing of list elements in IE is different that Moz on my page at
http://depts.washington.edu/chemtest...stockroom.html. The nav
"butons" at left are supposed to be right next to each other. Can anyone
tell me why they're not in IE?

Best,
Eric
Jul 21 '05 #1
6 1565
Eric Aislinn wrote:
I've validated the XHTML and CSS on a page and cannot figure out why the
spacing of list elements in IE is different that Moz on my page at
http://depts.washington.edu/chemtest...stockroom.html. The nav
"butons" at left are supposed to be right next to each other. Can anyone
tell me why they're not in IE?


Try

li {margin-bottom: 0;}

if you haven't.
Jul 21 '05 #2
Hi,

Eric Aislinn wrote:
I've validated the XHTML and CSS on a page and cannot figure out why the
spacing of list elements in IE is different that Moz on my page at
http://depts.washington.edu/chemtest...stockroom.html. The nav
"butons" at left are supposed to be right next to each other. Can anyone
tell me why they're not in IE?


Try to remove any whitespace between the Tags, including newlines.

Chris
Jul 21 '05 #3
The layer with the offending list is laySideNav and it has a

#laySideNav li {
margin: 0px;
}

which I'm assuming covers the bottom margin as well.

Thanks for the idea, let me know if you have any others.

Best,
Eric

Neal wrote:
Eric Aislinn wrote:
I've validated the XHTML and CSS on a page and cannot figure out why
the spacing of list elements in IE is different that Moz on my page at
http://depts.washington.edu/chemtest...stockroom.html. The nav
"butons" at left are supposed to be right next to each other. Can
anyone tell me why they're not in IE?

Try

li {margin-bottom: 0;}

if you haven't.

Jul 21 '05 #4
Chris,

It worked. It's just like trying to get the table cells to work back in
the day. There should still be a way to do it without resorting to that.
Any ideas?

Eric

Chris Leipold wrote:
Hi,

Eric Aislinn wrote:
I've validated the XHTML and CSS on a page and cannot figure out why
the spacing of list elements in IE is different that Moz on my page at
http://depts.washington.edu/chemtest...stockroom.html. The nav
"butons" at left are supposed to be right next to each other. Can
anyone tell me why they're not in IE?

Try to remove any whitespace between the Tags, including newlines.

Chris

Jul 21 '05 #5
The layer with the offending list is laySideNav and it has a

#laySideNav li {
margin: 0px;
}

which I'm assuming covers the bottom margin as well.

Thanks for the idea, let me know if you have any others.

Best,
Eric
Neal wrote:
Eric Aislinn wrote:
I've validated the XHTML and CSS on a page and cannot figure out why
the spacing of list elements in IE is different that Moz on my page at
http://depts.washington.edu/chemtest...stockroom.html. The nav
"butons" at left are supposed to be right next to each other. Can
anyone tell me why they're not in IE?

Try

li {margin-bottom: 0;}

if you haven't.

Jul 21 '05 #6
Hi,

Eric Aislinn wrote:
It worked. It's just like trying to get the table cells to work back in
the day. There should still be a way to do it without resorting to that.
Any ideas? Nope. I also had the problem a few weeks ago and I didn't find any other
workaround. You _could_ do s.th. like this:
<ul<li><a href="#">foo</a></li><li
<a href="#">foo</a></li><li
<a href="#">woggle</a></li><li
<a href="#">foobar</a></li></ul>


But I doubt it's more clear.

Chris
Jul 21 '05 #7

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

Similar topics

3
by: Russell | last post by:
I'm trying to automate the comparison of some source code but I'm having trouble using the differ object. I'm new to Python so I'm probably doing something wrong. I've created a small program...
5
by: superprad | last post by:
I have a question on python lists. Suppose I have a 2D list list = ] how do I convert it so that I arrange them into bins . so If i hvae a set of consecutive numbers i would like to represent...
4
by: muesliflakes | last post by:
I am using styled buttons which look really good, my problem is that the 1st button on the page has an ugly black square arround it. I think this might indicate the default button when enter is...
7
by: Vic | last post by:
I suspect that Firefox is doing it right (it usually is) but I worked out a page thinking this *should* do what I want and lo and behold it did work in IE6 ...
4
by: Lachlan Hunt | last post by:
Hi, I was wondering if ::before and ::after pseudo-elements can apply to elements styled with the display: table-* properties. None of my tests worked in either Firefox or Opera, yet I could not...
10
by: Christian Hofmann | last post by:
Hello, do you know a c++ class that adds php styled variables? For example: var1 = "5 dogs" var2 = 3 var1 + var2 = 8
1
by: | last post by:
I'm wondering if it's possible, outside of the declaration of an ASP.NET 2.0 GridView, to programmatically style individual columns. For example, I might want to make the text in a particular...
1
by: TomB | last post by:
Hello, I just noticed something odd in Opera with some of the css-styled buttons on my website. When I select another input field on my form, the border on the "submit" button gets thinner. Is...
2
by: johnny | last post by:
hi all, I have troubles with a css styled form: I cannot make an upload field staying into a fixed column , say 100 pixels wide. It could be enough to have the file browse button below the...
0
by: wizard of oz | last post by:
Hi all, I'm extending an Abstract Styled Document associated with a JTextPanel to implement a syntax highlighting editor. This is all working just fine - except for undo / redo. The problem...
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
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
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: 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: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...

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.