This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Stylesheets > September 2005 > frameset doctype and framespacing/border





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author frameset doctype and framespacing/border
Mark

2005-09-14, 7:25 am

Hi

If i use this doctype:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">

i can not use the attributes framespacing and border like this:

<frameset cols ="100%" rows ="20,419,*" framespacing="0" border="0">

But when i leave these, i get those ugly borders :(

Okay, don't use frames (i don't anymore), but i need to know how to
solve this (if at all).

Thanks!

Mark

Spartanicus

2005-09-14, 7:25 am

Mark <scheper@xs4all.nl> wrote:

>If i use this doctype:
>
><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
>"http://www.w3.org/TR/html4/frameset.dtd">
>
>i can not use the attributes framespacing and border like this:
>
><frameset cols ="100%" rows ="20,419,*" framespacing="0" border="0">


Sure you can, but it won't validate against the public DTD.

>But when i leave these, i get those ugly borders :(
>
>Okay, don't use frames (i don't anymore), but i need to know how to
>solve this (if at all).


You've provided the best answer yourself.

Other alternatives are accepting the borders, accepting validation
errors against the public DTD, or using a custom DTD.

--
Spartanicus
'sNiek

2005-09-14, 7:25 am

Mark schreef:
> Hi
>
> If i use this doctype:
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
> "http://www.w3.org/TR/html4/frameset.dtd">
>
> i can not use the attributes framespacing and border like this:
>
> <frameset cols ="100%" rows ="20,419,*" framespacing="0" border="0">
>
> But when i leave these, i get those ugly borders :(


Try adding frameborder="no" to the <frameset>-line



--
Niek
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews