<fieldset>

Discussion in 'HTML & Website Design' started by Jim bob 9 pants, Feb 16, 2006.

  1. #1
    <fieldset> when using this command, dreaweaver looses the editable region I have created, and my site goes to rat shit - Is this an error I have created or is that what should happen.

    Can sombody explain why

    Jamie
     
    Jim bob 9 pants, Feb 16, 2006 IP
  2. mad4

    mad4 Peon

    Messages:
    6,986
    Likes Received:
    493
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Fieldset needs to be corecttly nested if you are using any div's or tables.

    eg
    <table>
    <fieldset>
    <tr><td>
    content
    </td></tr>
    </fieldset>
    </table>
    HTML:
     
    mad4, Feb 17, 2006 IP
    Jim bob 9 pants likes this.
  3. Jim bob 9 pants

    Jim bob 9 pants Peon

    Messages:
    890
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I think that may be my issue, thank you for your time

    Jamie
     
    Jim bob 9 pants, Feb 17, 2006 IP
  4. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #4
    Not quite right. fieldset may not be a child of table. html 4.01
    
    <!ELEMENT TABLE - -
         (CAPTION?, (COL*|COLGROUP*), THEAD?, TFOOT?, TBODY+)>
    Code (markup):
    A table may have 0 or 1 of caption, followed by any number of col xor colgroup, then 0 or 1 of thead and tfoot, and finally 1 or more of tbody. All in that order.

    jim bob 9 pants: In what context are you trying to use the fieldset? Don't forget that in html, legend must be the first child of fieldset. Does DW enforce DTD requirements? A little more info would be helpful.

    cheers,

    gary
     
    kk5st, Feb 17, 2006 IP
  5. mad4

    mad4 Peon

    Messages:
    6,986
    Likes Received:
    493
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Sorry yeah that may need to be the other way round:
    <fieldset>
    <table>
    <tr><td>
    content
    </td></tr>
    </table>
    </fieldset>
    HTML:
    Either way it is important!
     
    mad4, Feb 17, 2006 IP