|
Posted by zara on 12/28/07 00:16
On Dec 27, 6:58 pm, dorayme <doraymeRidT...@optusnet.com.au> wrote:
> You have:
>
> <?xml version="1.0"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
>
> <html xmlns="http://www.w3.org/1999/xhtml">
>
> I think this confuses the validators, maybe your browser too?
>
> You need to look into these errors too:
>
> Document type doesn't permit attribute ³target² within element
> ³<a>².
> Document type doesn't permit attribute ³clear² within element
> ³<br>².
>
You asked me to dummy up a page to look like what's shown in Habari
Xenu, so I did that. I have a habit of writing everything in XHTML,
but Habari Xenu doesn't even have so much as a <doctype> declaration.
When you view the source of the right-hand (content) frame, the first
thing you see is this:
<HTML><HEAD>
<TITLE>Reason Magazine - Hit & Run</TITLE>
<link rel='stylesheet' type='text/css' href='chrome://habarixenu/skin/
display.css'>
<META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=utf-8'>
<BASE HREF='http://www.reason.com/blog'>
</HEAD>
<BODY onload='return false;'>
<div class='hx-header'>
etc.
The target="_blank" is generated by HX, as is the br clear="all" (I
don't even know what that's supposed to do).
By the way, I agree with you that not everything's as !important as
the original author of that stylesheet seemed to feel, so yeah, I'll
probably delete most of that.
Navigation:
[Reply to this message]
|