Reply to Re: Best syntax for bold <li> "Headings"

Your name:

Reply:


Posted by Ben C on 01/26/07 11:13

On 2007-01-26, Andrew <andrew@sorrynospam.com> wrote:
> Hi,
>
> Can I have some suggestions for the most syntactically correct way to
> make a bold heading within a list item? The page I am working on is:
>
> http://people.aapt.net.au/~adjlstrong/homer.html
>
> I have used the following but I have a few qualms:
><ul>
><li><strong>heading</strong>list info</li>
></ul>

Is the qualm that you'd like the heading to be marked as <h1> or
something similar?

What you're doing is described in the CSS 2.1 spec as a "run-in header".

Few browsers support display:run-in, but that doesn't matter, you could
just make your heading <h1> and set ul h1 to display:inline and
font-weight:bolder, maybe using some classes if that selector's too
general.

[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

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