27 users online (1 members and 26 guests)  


  Results 1 to 2 of 2

Related

  1. nested table relative column alignment    Forum: HTML Forum
    Replies: 2
  2. Nested Div question    Forum: CSS Forum
    Replies: 5
  3. Replies: 1
  4. Nested Divs instead of table    Forum: CSS Forum
    Replies: 1
  5. Block elements within inline elements    Forum: CSS Forum
    Replies: 6
  1. #1
    kmbenton14's Avatar
    New User

    Status
    Offline
    Join Date
    Mar 2009
    Posts
    1

    Question Enclosing a table with nested div elements

    I am extremely new to HTML and CSS. I am having to enclose my table with a set of nine nested div elements.. I can not even figure out the basic code. My teacher has given us the 4 outermost id and the four innermost ids, but I have no idea where to begin. Any sort of help would be greatly appreciated. I am not asking for the entire code.. just some sort of idea on how to get started on this. Thanks for the help

  2. #2
    jthayne's Avatar

    Status
    Offline
    Join Date
    Aug 2008
    Location
    Texas
    Posts
    508

    Re: Enclosing a table with nested div elements

    The key is that they need to be nested. Each tag needs to be opened (<div id="theid">) and closed (</div>). When you nest tags, you place them inside the opening and closing tags as in the following example:
    Code:
    <div id="div1">
    <div id="div2">
    </div>
    </div>
    Hope that helps.



Tags for this Thread