Reply to Re: margin or padding?

Your name:

Reply:


Posted by dorayme on 05/30/07 08:37

In article <slrnf5q9rj.bm2.spamspam@bowser.marioworld>,
Ben C <spamspam@spam.eggs> wrote:

> On 2007-05-29, dorayme <doraymeRidThis@optusnet.com.au> wrote:
> > In article <f3gkoj$r0a$00$1@news.t-online.com>,
> > Knut Krueger <knut.krueger@usa.com> wrote:
> >
> >> dorayme schrieb:
> >> > In article <hIH6i.170761$EZ5.107427@reader1.news.saunalahti.fi>,
> >> > "Jukka K. Korpela" <jkorpela@cs.tut.fi> wrote:
> >> >
> >> >> Browsers often interpret a lone <br> as a request for empty line, but
> >> >> don't rely on such (mis)behavior.
> >> >
> >> > On all my Mac browsers I don't get an _empty_ line.
> >> >
> >> That's a problem - verifying the pages is very difficult.
> >> Firefox f.e is different on Mac and Windows and maybe different on
> >> Linux. Seems that there is a need for at least three systems to test all
> >> possible bugs and variations of the pages ...
> >>
> >
> > Is FF different on Windows cf to Mac? I have so far been
> > supposing not, thinking that I would have heard by now surely?
>
> I doubt it, but what did you mean by a "[non-]_empty_" line? A line
> containing nothing but one line-height's worth of space is what a lone
> <br> gives me on my Linux version of FF.
>
> e.g.
>
> <style type="text/css">
> div { font-size: xx-large; background-color: pink }
> </style>
> ...
> <body>
> <div>
> <br>
> </div>
> </body>

I just meant that when one puts in a <br> after a short bit of
text which continues after the <br> and can be seen as say three
lines of text in a div that is suitably width limited, the three
lines are all full of text, none are empty of text. There is no
empty line. But, I suppose, come to think about it, JK was
meaning something very specific about a _lone_ <br>, not merely
_one_ <br>. Perhaps I got the context wrong?

While I am here, both FF and Safari pile up empty <br>s according
to their number. I feintly recall it being said it was not
certain how browsers behaved in this respect. Alas, they seem to
behave as expected thus probably aiding and abetting the poor
practice of using these things for layout.

--
dorayme

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация