![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
when displaying a list inline, Firefox adds a space between the items. IE does not. I'd like to remove this space but I could not find where it comes from. |
|
To see what I mean copy the following code and try it in this page : http://www.w3schools.com/html/tryit.asp?filename=tryhtml_basic |
#3
| |||
| |||
|
|
Hi, when displaying a list inline, Firefox adds a space between the items. IE does not. I'd like to remove this space but I could not find where it comes from. |
|
To see what I mean copy the following code and try it in this page : http://www.w3schools.com/html/tryit.asp?filename=tryhtml_basic html head style type="text/css" ul { list-style-type: none; } ul li { display: inline; background: green; } /style /head body ul li>Coffee</li li>Tea</li li>Coca Cola</li /ul /body /html |
#4
| |||
| |||
|
|
The same phenomenon appears on IE, at least on IE 8 in "standards" mode. |
|
http://archivist.incutio.com/viewlist/css-discuss/70910?highlight=kuehn |
|
Oh my... run... stay out of "w3schools". Check Usenet archives if you wish to know why. |
#5
| |||
| |||
|
|
vic wrote: Hi, when displaying a list inline, Firefox adds a space between the items. IE does not. I'd like to remove this space but I could not find where it comes from. remove whitepsace li>Coffee</li><li>Tea</li><li>Coca Cola</li |
|
li>Coffee</li li>Tea</li li>Cocoa</li /ul |
![]() |
| Thread Tools | |
| Display Modes | |
| |