css as a better <pre> replacement
Douglas J Hunley
doug
Mon May 17 11:28:49 PDT 2004
M.W.Chang spewed electrons into the ether that assembled into:
> you have a better alternative? can I learn it:
> sxs is using <pre> + character entities.
> I am looking for an exact replacement for <xmp>
it won't be for long. I'm rewriting most of the HTML as we speak in a total
site redesign. Strict adherance to the HTML 4.0 spec removes all the
"formating" tags (bold, font, etc). That is what CSS is for.
I quick solution is to format the HTML like you normally would (PRE and
everything) and then run it through tidy. It will output 4.0 compliant code
In all fairness, if you're talking about stuff you're submitting to the
SxS... don't worry about it. Just mark it up, and the editors will
format/tidy/etc as needed. that's what they are there for ;)
--
Douglas J Hunley (doug at hunley.homeip.net) - Linux User #174778
Admin: Linux StepByStep - http://www.linux-sxs.org
and http://jobs.linux-sxs.org
Black holes are where God divided by zero.
More information about the Linux-users
mailing list