Re: IE and a CSS bug



In our last episode,
<3813a$48761732$4b5b4687$487@xxxxxxxxxx>,
the lovely and talented freemont
broadcast on alt.html:

On Thu, 10 Jul 2008 13:08:11 +0000, Lars Eighner writ:

If you want to cater to IE make your lists like this:

<ul><li
<a somelink>Foo</a></li
<li><a someotherlink>Bar</a></li
</ul>

and be sure nothing, including line breaks comes between </a> and </li>.

You've *got* to be kidding me.

<tries it>

L I B. That "fixes" it, all right. Unbelievable, that browser. I thought
that html was supposed to /ignore/ whitespace. (?)

It is, but since when did Micro$oft play by the rules?

Many, many thanks, Lars. :-)

--
Lars Eighner <http://larseighner.com/> usenet@xxxxxxxxxxxxxxx
I hate laundry month.
.



Relevant Pages

  • Re: Publishing - "Cannot rename file" and other error messages
    ... IMO the only safe Optimisation option is removal of leading whitespace. ... > -I assume you are advising to uncheck all optimize HTML options. ... >>> I'm using an account (with links to my other accounts) where I'm ... >>> When I receive the error message I publish again - it get a little ...
    (microsoft.public.frontpage.client)
  • Re: Newbie regular expression and whitespace question
    ... > I am trying to collapse an html table into a single line. ... > like to remove all the whitespace, including newlines. ... here's a pyparsing solution (get pyparsing at ...
    (comp.lang.python)
  • Re: removing Whitespace using regexp
    ... html and then write a parser to parse the properly formatted html. ... That way you can get rid of your whitespace problem and deal with the cosmos ... the remaining text using regexp. ... Here you can see some white space ...
    (comp.lang.ruby)
  • Re: How can I prevent spaces between tags being rendered?
    ... By not embedding whitespace (spaces or linebreaks, ... Whatever the rules for rendering HTML & CSS say, ... Remember that you can place whitespace _inside_ tags quite easily, ...
    (comp.infosystems.www.authoring.stylesheets)
  • Re: Whitespace removal in html generated by cgi
    ... > whitespace from html, in particular from html generated by cgi. ... > Here's a simple technique I developed for Linux: ... > little buggy, but it seems to work for my simple html. ...
    (comp.lang.perl.misc)