forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Koberg" <...@koberg.com>
Subject RE: more validation suckage..
Date Thu, 21 Nov 2002 15:43:21 GMT
Hi Rodent,

> -----Original Message-----
> From: Rodent of Unusual Size [mailto:Ken.Coar@Golux.Com]
> Sent: Thursday, November 21, 2002 7:40 AM
> To: forrest-dev@xml.apache.org
> Subject: Re: more validation suckage..
>
>
> David Crossley wrote:
> >
> > On Tue, 2002-11-19 at 15:31, Rodent of Unusual Size wrote:
> > >
> > >         <dt><strong><anchor id="ApacheCon"/>ApacheCon</strong></dt>
> >
> > Easy, the only child element that is allowed inside <strong>
> > is <code>, i.e definitely not <anchor>
> > http://xml.apache.org/forrest/document-v11.dtdx.html#strong
>
> well, *that's* excessively lame.  what reason could there possibly
> be for such a restrictive list?  <strong><em> is, as an example, a
> very common construct..
>

I think you should do something like:

<div class="whatsHappening">
...
<dt id="ApacheCon">ApacheCon</dt>
....
</div>

then in your CSS:

dt {
font-weight:bold
font-style:italic
}

or if you have other DTs that need to be styled differently:

.whatsHappening dt {
font-weight:bold
font-style:italic
}

Lightens your page and lets you change things later, easily, without
regenerating the site.

best,
-Rob



Mime
View raw message