Linking to style sheets

mike.carter at zurenet.co.uk mike.carter at zurenet.co.uk
Sun Apr 27 23:29:04 BST 2008


> On 27 Apr, mike.carter at zurenet.co.uk wrote:
>
>
>> It turns out that linking to an external stylesheet is the problem:
>
>> <link href="style.css" rel="stylesheet" type="text/css" />
>                                                          ^^
> I don't think the <space><slash> is necessary, although it may depend
> on your DOCTYPE, I suppose. Certainly mine is ordered differently, and
> doesn't have the two extra characters, and works OK.
>
> <LINK rel="stylesheet" type="text/css" href="style.css"> does it for
> me.

Thanks, i'm using the XHTML 1.0 Transitional DOCTYPE.
Are you using a 4.01 DOCTYPE?

Regards,
Mike





More information about the netsurf-users mailing list