problem with frameset dtd

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • arsakis
    New Member
    • Mar 2007
    • 1

    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
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    Welcome to TSDN. This question will be better answered in the HTML/CSS forum. I'll move it there for you.

    Comment

    • AricC
      Recognized Expert Top Contributor
      • Oct 2006
      • 1885

      #3
      Originally posted by arsakis
      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

      Comment

      • drhowarddrfine
        Recognized Expert Expert
        • Sep 2006
        • 7434

        #4
        <span> is for use on 'inline' elements while <table> is block level. It shouldn't work at all with any doctype.

        Comment

        • Khalsa

          #5
          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>

          Comment

          Working...