Re: <ul> <li> problem with breaks



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/
.


Quantcast