You are here: Re: css and <ul> inside a <p> paragraph « HTML « IT news, forums, messages
Re: css and <ul> inside a <p> paragraph

Posted by Beauregard T. Shagnasty on 09/23/07 21:24

Joe Butler wrote:

> I guess the html comments were left in the css file from when the
> styles were used inline and it was apparently a way of not breaking
> browsers that didn't understand css. I'll remove them if they are
> not correct.

They haven't been needed since .. what? .. after version 3 of
IE/Netscape?

> OK. The Z errors are just a quick way of commenting out a style.

/* This is a CSS comment */

> So, the </p> is more of a programmer thing. Find it easier to not use
> them as the paragraph end is implicit in the hand-coded html file.
> If it were a cms, then I would agree. Since xhtml requires them, I
> should get used to it, though.

Attaboy!

> I've tested on IE6, IE7, FF1, FF2 (all Windows versions) and not
> noticed breaks collapsing, but point taken. Although, my feeling is
> that anyone using the least common browsers has to expect certain
> issues - it is a choice they have made and must accept that thing are
> not always going to work for them.

Don't forget 'least common browsers' may include PDAs, mobile phones,
and all sorts of new devices coming down the pike.

You may get a reasonable approximation by using Opera and pressing
Shift-F11.

<snip rest>

--
-bts
-Motorcycles defy gravity; cars just suck

 

Navigation:

[Reply to this 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

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