Click to See Complete Forum and Search --> : Validation errors help plzz


swetha
01-18-2006, 05:10 AM
following are the errors when i validated my XHTML transitional page using Frames tag with validator.w3.org

1. no attribute called "frameborder","framespacing",no "cols"

code is :

<frameset rows="15%,*" frameborder="0" noresize="noresize" framespacing = "0">
<frame src = "Frame3_home.html" scrolling="no" />
<frame src="ToDo.html" scrolling="yes" name="Display_page_Todo"/>
</frameset>

help me to correct these errors

Charles
01-18-2006, 05:26 AM
Well yes, you need to use the frameset DTD. And unless you have a good reason not to you should be using HTML 4.01:

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

pcthug
01-18-2006, 05:42 AM
Or: http://www.w3.org/TR/xhtml1/dtds.html#a_dtd_XHTML-1.0-Frameset