Re: <ul> <li> problem with breaks
- From: GTalbot <newsgroup@xxxxxxxxxxx>
- Date: Wed, 9 Apr 2008 14:06:47 -0700 (PDT)
On 9 avr, 10:56, "AD" <anna_da...@xxxxxxxxxxxxxx> wrote:
Hello!
I have problem with <ul> / <li> list values.
I would like to have no breaks both on Firefox and Internet Explorer.
Like everyone else has asked you or told you: breaks could mean line
breaks... but we're not sure.
Did you want to create an horizontal list of links for navigation
purposes?
I don`t know how to do that.
I tried:
<ul style="padding-left:15px;"> or <ul style="padding-left:0px;">
and above code works in Firefox, but unfortunatly only in Firefox.
I would like to have it working both on Firefox and IE.
When you post webpage requirements like that, you always need to be
much more specific. "IE" could mean IE 6 and/or IE 7 and "Firefox"
could mean Firefox 1.5, Firefox 2 or Firefox 3... We don't know... and
there are great differences between IE 6 and IE 7.
Can you help me how to do that?
Thank you
Marcin
Yes. Read carefully this webpage:
Consistent List Indentation
http://developer.mozilla.org/en/docs/Consistent_List_Indentation
"(...)if you want consistent rendering of lists between Gecko,
Internet Explorer, and Opera, you need to set both the left margin and
left padding of the <ul> element. (...)"
Regards, Gérard
--
Internet Explorer 7 bugs
http://www.gtalbot.org/BrowserBugsSection/MSIE7Bugs/
.
- References:
- <ul> <li> problem with breaks
- From: AD
- <ul> <li> problem with breaks
- Prev by Date: Re: Dynamic image maps broken uder IE8-Beta? (with sample page)
- Next by Date: Re: DIV - dynamic height
- Previous by thread: Re: <ul> <li> problem with breaks
- Next by thread: *** Breitling-Cockpit-Watch-A7135612-A5-406X Cheapest
- Index(es):