Forum Moderators: open
First off I think I have voiced my opinion that I am all for standards compliance and have even discussed the issue at hand once before to no avail... Secondly I hand code my site unlike the visitor (who by the way entered with the scum browser of existence BEFORE switching to Firefox as he (by the many 304s in the log) didn't carefully read my IE entrance script).
Anyway that little mess aside I have currently done the following to remedy the frame border whitespace issue that I so far have not been able to get around.
1.) Read the W3's site... (See #9)
[w3.org...]
The W3 makes absolutely no other mention and I've spent some dam good time looking.
2.) I'm dead set on using XHTML so I ultimately decided if I can't go with whats provided I will have to create my own DTD!
Problem, I've attempted at making my own XHTML Frameset DTD by adding framespacing like so...
<!ATTLIST frameset
%coreattrs;
rows %MultiLengths; #IMPLIED
cols %MultiLengths; #IMPLIED
onload %Script; #IMPLIED
onunload %Script; #IMPLIED
framespacing (1¦0) "0"
><!-- reserved frame names start with "_" otherwise starts with letter -->
<!-- tiled window within frameset -->
<!ELEMENT frame EMPTY>
<!ATTLIST frame
%coreattrs;
longdesc %URI; #IMPLIED
name NMTOKEN #IMPLIED
src %URI; #IMPLIED
frameborder (1¦0) "1"
framespacing (1¦0) "0"
marginwidth %Pixels; #IMPLIED
marginheight %Pixels; #IMPLIED
noresize (noresize) #IMPLIED
scrolling (yes¦no¦auto) "auto"
>
... but I'm not sure if the browser's ignoring the DTD or what.
My goal is to keep the browsers rendering engines in standards mode (assuming they do so as long as the referred DTD is correctly referenced by the code on the page referring to that DTD) and will I be able to validate with the DTD on the W3's site? Will I even be able to force the browsers to use my custom DTD?
Ultimately though the laugh is on this guy who can't even code his own site. I'm only interested because I'm trying to put a porfolio together and I feel this is one pinacle (in regards to frames) towards mastering XHTML, css, etc.
The whole point of the frames is to allow the music on my site to play while browsing the site page to page. If someone has a way to keep the music from being interupted while browsing the site in a single window && single application setup I am DEFINTLY open to going with that format. I've noticed a PHP setup that MAY be able to do this using some fancy includes perhaps but I'm still a php newbie.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">[w3.org...]
Borders as far as I am concerned are of an adjective nature and therefor should be and only be changed by using CSS. However the W3 obviously feels different. Unless you one can find a validating border="0" approach while using the W3's DTD then a custom DTD will be needed.
Regardless you only have to use THEIR DTDs if you're going to use THEIR validator. In regards to my file that sets the frames I am using a different validator that is intelligent enough to refer to the DTD mentioned, not expected. So far I have run my initial tests and they have been successful. I have created a new attribute while maintaining the integrity of the DTD. The next step is simply to go live with my results with a little reworking to compensate for which ever attribute is most universally recognized by the most number of various rendering engines.