Re: Best syntax for bold <li> "Headings"
- From: Ben C <spamspam@xxxxxxxxx>
- Date: Fri, 26 Jan 2007 05:13:31 -0600
On 2007-01-26, Andrew <andrew@xxxxxxxxxxxxxxx> 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.
.
- Follow-Ups:
- Re: Best syntax for bold <li> "Headings"
- From: Andrew
- Re: Best syntax for bold <li> "Headings"
- References:
- Best syntax for bold <li> "Headings"
- From: Andrew
- Best syntax for bold <li> "Headings"
- Prev by Date: Re: Having problem with frames
- Next by Date: Re: font-size and Opera
- Previous by thread: Re: Best syntax for bold <li> "Headings"
- Next by thread: Re: Best syntax for bold <li> "Headings"
- Index(es):