Subject: XHTML Strict Frame Borders
Posted By: Alexpizzoferro Post Date: 8/19/2003 2:58:08 PM
Using XHTML Strict, i cant seem to be able to get rid of frame borders.
I am using the attribute frameborder="0" of the <frame> tag.  This seems to be halfing the frame but not removing it
When i put the border="0" attribute into the <frameborder> tag, the borders disappear.  This is what i want although, this attribute is deprecated and not valid in XHTML Strict.

I am also using css to try and handle the problem.  This seems to be totally ignored.
I am using the following code in an external css file:

frame{
border:none #3098ff none;
outline-style:none;
}

This sets the three border settings and the outline setting.

Does anyone know where i am goign wrong?
Reply By: kend Reply Date: 9/18/2003 2:25:59 PM
Is it possible that the browser is doing it wrong?  Looking quickly at the XHTML Strict spec, <Frame frameborder="0"> should work.
Reply By: Alexpizzoferro Reply Date: 9/21/2003 11:23:05 AM
Yeah that is the code that i am using although it does not want to work for some reason.

Any other suggestions?
Reply By: meow Reply Date: 9/21/2003 11:40:21 AM
Not that it will solve your problem but you are using the wrong doctype. You should use (X)HTML Frameset for your framset documents, not Strict.

(o<
//\        =^..^=
Reply By: Alexpizzoferro Reply Date: 9/21/2003 11:54:51 AM
Thanks for the advice althought i am using the frameset doctype already:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">

My document is valid xhtml frameset.
Just dont know what is going on with frames not disappearing.

Any other suggestions?

Go to topic 4367

Return to index page 1041
Return to index page 1040
Return to index page 1039
Return to index page 1038
Return to index page 1037
Return to index page 1036
Return to index page 1035
Return to index page 1034
Return to index page 1033
Return to index page 1032