By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,625 Members | 2,261 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,625 IT Pros & Developers. It's quick & easy.

problem with frameset dtd

P: 1
Hi,

I am using the following framset doctype in my html code
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">.

I have a span tag for a table but this tag is not working when I have the above frameset, if I remove the framset doc type then it's working as expected.

Since the span tag was not working for the frameset doctype, I have used div tag as an alternative with the same attributes. I have observed that the div tag was working properly.

Can any one tell me is there any problem with the frameset and span tag combination.

Regards
Sai Kishore
Mar 14 '07 #1
Share this Question
Share on Google+
4 Replies


acoder
Expert Mod 15k+
P: 16,027
Welcome to TSDN. This question will be better answered in the HTML/CSS forum. I'll move it there for you.
Mar 14 '07 #2

Expert 100+
P: 1,892
Hi,

I am using the following framset doctype in my html code
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">.

I have a span tag for a table but this tag is not working when I have the above frameset, if I remove the framset doc type then it's working as expected.

Since the span tag was not working for the frameset doctype, I have used div tag as an alternative with the same attributes. I have observed that the div tag was working properly.

Can any one tell me is there any problem with the frameset and span tag combination.

Regards
Sai Kishore
Post your code. I try to avoid frames unless there is absolutely no other way.

Aric
Mar 14 '07 #3

drhowarddrfine
Expert 5K+
P: 7,435
<span> is for use on 'inline' elements while <table> is block level. It shouldn't work at all with any doctype.
Mar 14 '07 #4

P: n/a
USE THIS DOCTYPE
<?xml version="1.0" encoding="UTF-8"?>
<!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">


and <frameset> tag in place of <body>
Oct 6 '10 #5

Post your reply

Sign in to post your reply or Sign up for a free account.