SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    May 2000
    Location
    Lombard, IL USA
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have a web site that uses several tables and nested tables to display content. I use percentages (up to 100%) to accommodate any size resolution, although I realize that anyone higher than 800x600 is looking at a really wide web page. For all the content I have developed so far, the page is just fine.

    My problem is that I have a CGI script which reads a database file and displays the contents in a table. Shouldn't be a problem. But the table goes wider than the screen width, causing the user to scroll. Well, that is not what I have to fix, but that has created a challenge. The top navigation bar, with a blue background, stops at the width of the screen (set at 100%). I want it to display as wide as the page is, including the area where you have to scroll. You can see what I mean at http://www.mrc-productivity.com/test.html .I really need to get this problem solved!



    ------------------
    Tracy Doell

  2. #2
    SitePoint Zealot Netscape's Avatar
    Join Date
    Apr 2000
    Location
    Toronto, ON, Canada
    Posts
    158
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    Setting the width of your data table to 100% won't help fit your entire page even for display 800x600. The table simply contains too many data, in other words too many characters are making your table wider.
    My advice to you is:
    - set your data table to 100% (you already have it right).
    - set fonts inside the data table to "-2"
    - place table under or above your left menu bar.
    - so you are facing changing placement of left manu bar, probably horizotally would be better (above/under) data table.
    - then, you'll feet into the 800x600at least.
    or
    - cut down on number of columns in data table...

    Best,


    ------------------
    Netscape
    Quarknet Corp.
    http://www.quarknet.com

  3. #3
    SitePoint Author Kevin Yank's Avatar
    Join Date
    Apr 2000
    Location
    Melbourne, Australia
    Posts
    2,571
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    To get your header to stretch over top of your content, put the whole page inside a single-celled table. The wide content lower in the page will stretch out this enclosing and make your 100% header wider.

    If that doesn't work, try makig your header part of the same table that contains your data.


    ------------------
    -Kevin Yank.
    http://www.SitePoint.com/
    Helping Small Business Grow Online!


Bookmarks

Posting Permissions

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