border=0 is not xhtml compliant when trying to make frames have no border, but it works.. is there an xhtml compliant way of making a frame have no border and not show any border?
I'll assume you're using a frameset DTD, since frames are not valid in any strict DTD. The object is the preferred element for importing a document. To see the object element in use, see show/hide div. Scroll down a bit, and click button three. To style the border, use your stylesheet. frame { border: 0 none; } Code (markup): cheers, gary
Frames, as mentioned, are not compliant. I believe they will work with the transitional DTD (correct me if i'm wrong). But why frames?
I think attribute values have to be within quotation marks to be valid, eg. border="0", otherwise just do what kk5st said and try styling it with css.