467,915 Members | 1,263 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,915 developers. It's quick & easy.

problem with frameset dtd

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
  • viewed: 1914
Share:
4 Replies
acoder
Expert Mod 8TB
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 1GB
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 4TB
<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
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.

Similar topics

4 posts views Thread by Matthias Caspary | last post: by
2 posts views Thread by Donald | last post: by
10 posts views Thread by Richard Lionheart | last post: by
13 posts views Thread by Giggle Girl | last post: by
18 posts views Thread by len.hartley | last post: by
reply views Thread by sunny076 | last post: by
3 posts views Thread by reachmano | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.