Re: XHTML + CSS + W3C
by "W. Jeffrey Rankin" <jrankin(at)jeffr.net>
|
| Date: |
Thu, 18 Jan 2001 15:03:58 -0500 (EST) |
| To: |
Tamara Abbey <tamara(at)abbeyink.com> |
| Cc: |
hwg-techniques(at)hwg.org |
| In-Reply-To: |
abbeyink |
| |
todo: View
Thread,
Original
|
|
Tamara:
Are you referring to using the style attribute in your img tag? Take a
look at this example:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"DTD/xhtml1-strict.dtd">
<html>
<head>
<title>Just a test!</title>
</head>
<body>
<h1>Just a test!</h1>
<p><img src="./test.gif" width="100" height="100" alt="Just a
test!" style="border: 0px;" /></p>
</body>
</html>
This validates just fine at the strict level. The W3C validator can be
diffcult to interpret sometimes (at least for me), post the exact error
message(s) and I'm sure someone here can figure it out.
- Jeff
===================================================
Jeff Rankin jrankin(at)jeffr.net
http://www.jeffr.net/
Be Valid To Be Cool
===================================================
On Thu, 18 Jan 2001, Tamara Abbey wrote:
> Hello,
>
> I just spent a couple of hours tweaking a page and then, just for giggles
> and grins, I went over and validated it.
>
> My XHTML code validated until I put the CSS tag on the page (*there /is/ no
> attribute IMG style*)
>
> So, thinking this has been the most ridiculous exercise I've pursued so
> far, I just thought I'd share the fact that the W3C's CSS tag does not pass
> the W3C's XHTML validator despite the fact one needs CSS for XHTML.
>
> Thank you for your bandwidth --
>
> ~tamara
>
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.