![]() |
![]() |
#1 (permalink) |
Insane
Location: USA
|
[html] spaces between list items
I am having an html issue on some pages that I am doing. Everything looks fine on all browsers other than IE for the PC. The problem is that IE seems to be putting some spaces between all my list items (on the left nav.) I can't seem to find these spaces in the code, and they go away when i run the list items together (I don't really want to do this, plus I feel like there has to be some other explanation.)
here is a page that has the issue: http://drackett.mine.nu/design/admis...ate/index.html
__________________
S U C C E S S some people dream of success, while other people live to crush those dreams |
![]() |
![]() |
#2 (permalink) |
paranoid
Location: The Netherlands
|
I think your CSS file could be the problem.
try playing around with the #sidenav directives in the CSS file.
__________________
"Do not kill. Do not rape. Do not steal. These are principles which every man of every faith can embrace. " - Murphy MacManus (Boondock Saints) |
![]() |
![]() |
#3 (permalink) |
paranoid
Location: The Netherlands
|
What fixes it for IE(6) breaks it for Opera (7.54) <sigh>
but this is the one you should look at: display: block; within the #sidenav a:link, #sidenav a:visited directive. Happy CSS-ing!
__________________
"Do not kill. Do not rape. Do not steal. These are principles which every man of every faith can embrace. " - Murphy MacManus (Boondock Saints) |
![]() |
![]() |
#4 (permalink) |
Insane
Location: USA
|
When I take that block out, I don't think it will work on any browsers.. and try selecting the text on IE.. there are clearly spaces between the list items..
also, i did a test, and when you take the line-breaks out of the code (HTML) it works... any other ideas?
__________________
S U C C E S S some people dream of success, while other people live to crush those dreams Last edited by 3zos; 09-02-2004 at 11:05 AM.. |
![]() |
![]() |
#5 (permalink) |
paranoid
Location: The Netherlands
|
I use opera as my default browser so that's why I noticed...
But I mentioned it to show the fact that it can break current browser (mozilla etc) support. But Opera is the only other one available for me here...
__________________
"Do not kill. Do not rape. Do not steal. These are principles which every man of every faith can embrace. " - Murphy MacManus (Boondock Saints) |
![]() |
![]() |
#7 (permalink) |
Insane
Location: USA
|
i don't currently have a pc, but does this file:
http://drackett.mine.nu/design/untitled.html have the same problem?
__________________
S U C C E S S some people dream of success, while other people live to crush those dreams |
![]() |
![]() |
#8 (permalink) |
Junkie
|
Put the closing </LI> tag on the same line as the opening <LI> tag. I used to have the same problem with extra whitespace in <TD> tags, and that's what fixed it. Don't leave any space between the end of the tag's content and the closing tag.
EDIT: Never mind. I was looking at the stuff on the righthand side. Last edited by SinisterMotives; 09-02-2004 at 04:33 PM.. |
![]() |
![]() |
#11 (permalink) |
Junkie
|
I'm not going to open Internet Explorer to look at this because I got infested with a zillion adware programs last time I used IE. It's possible the LI content is being forced to wrap because it's wider than one of the parent elements. IE dogmatically asserts the width of a parent element, whereas Mozilla will let the child element's content overflow the righthand boundary of a parent element.
|
![]() |
Tags |
html, items, list, spaces |
|
|