dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: Table Too Long

  1. #1
    Join Date
    Dec 2007
    Location
    Mississippi
    Posts
    1,063

    Table Too Long

    http://www.uhrebirth.com/test/test.php

    You'll need to have JavaScript turned on in order to help me. If you mouse over the SOME TEXT paragraph, a HTML table will display below it. However, the table goes across the entire screen, and I don't know why, because I haven't set any of the dimensions for it. It's contained in my wrapper div, which has the width and height styles set to 100%. That might be why it's doing it, but I honestly don't know. How would I correct this problem?

  2. #2
    Join Date
    Mar 2006
    Location
    Newcastle NSW Australia
    Posts
    4,033
    The default width for a block element is 100% of its container. If you want it less than this, you would have to assign a width (or float it).

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles