RickyOswaldIOW Posted February 5, 2008 Share Posted February 5, 2008 Greetings. I have recently been studying the css/xhtml tutorials at w3schools (which are excellent). I've learnt a lot an bought all my html code up to date but I am having one problem with my frameset border attribute: <frameset border="0" cols="15%,*,20%"> I am using the xhtml validator on w3schools and it is underlining the first double quote in the border attribute. The page is at http://www.philoswald.f2s.com/salsabasic/index.htmlThe full code for the page is thus: <!DOCTYPE html PUBLIC"-//W3C//DTD XHTML 1.0 Frameset//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><meta name="author" content="Ricky Oswald" /><meta name="revised" content="Ricky Oswald" /><meta name="generator" content="Microsoft Windows XP Notepad" /><meta name="description" content="Wight Hot Salsa! Salsa and Latin Dance lessons on the Isle of Wight." /><meta name="keywords" content="Salsa, Isle, Wight, Latin, Dance, Matt, Kellet" /><link rel="stylesheet" type="text/css" href="css/style.css" /><title>Wight Hot Salsa!</title></head><frameset border="0" cols="15%,*,20%"> <frame src="frmMenu.html" name="menu" /> <frame src="frmMain.html" name="main" /></frameset></html> P.S. If you're interested in the state of my code prior to reading the tutorials, look at http://www.philoswald.f2s.com/salsa/www/The code is in an awful state. Although I did use a WYSIWYG editor (dreamweaver, dunno what version) - but it goes to show just how good the tutorials are. Link to comment Share on other sites More sharing options...
RickyOswaldIOW Posted February 5, 2008 Author Share Posted February 5, 2008 A further thing to note is that on my other pages (the ones displayed in the frames) are set as transitional rather than frameset. Could this be the cause of the error by any chance? Link to comment Share on other sites More sharing options...
boen_robot Posted February 5, 2008 Share Posted February 5, 2008 Well, doesn't the page look the same without it? I mean, wouldn't applying border="0" to both frames have the same effect? Link to comment Share on other sites More sharing options...
Ingolme Posted February 5, 2008 Share Posted February 5, 2008 The error says There is no attribute "border".<frameset> doesn't have a "border" attribute.<frame> has a frameborder attribute though. Link to comment Share on other sites More sharing options...
RickyOswaldIOW Posted February 5, 2008 Author Share Posted February 5, 2008 Hm interesting. I acutally got the code from the HTML tutorial, so there is some incorrect syntax there - or at least some syntax that is not xhtml compliant! I shall switch it over though and see if it works out okay. Thanks for the quick response, I did do a google search and a search on the forum but could not find anything relating to this.Thanks again I'll let you know how it goes (after I eat 8p noodles!) Link to comment Share on other sites More sharing options...
RickyOswaldIOW Posted February 5, 2008 Author Share Posted February 5, 2008 Works perfectly! To summarise, I changed <frameset border="0" cols="15%,*,20%"> <frame src="frmMenu.html" name="menu" /> <frame src="frmMain.html" name="main" /></frameset> To <frameset cols="15%,*,20%"> <frame src="frmMenu.html" name="menu" frameborder="0" /> <frame src="frmMain.html" name="main" frameborder="0" /></frameset> The original was not xhtml compliant but the latter is.Thanks again for the quick replies Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.