Resizing browser

Discussion in 'Programming' started by dugu, Aug 27, 2006.

  1. #1
    I have a small problem and I can't figure it out alone. Maybe you could help me. I have a HTML page with 3 tables, one after onther. When I'm wachting it with my window browser at fullscreen it is ok, but if I'm trying to resize the broser-window (to make it smaller), the 3rd table comes under my 2nd table. I get the same thing if I'm trying to look to my page at 1024*768 resolution(I'm workin in 1280*1024). I was looking for a <table> option that I can set so that when I'm resizing the browser window, the table keeps it's dimensions.
    Well, if you have any suggestions, I'm here :)....
     
    dugu, Aug 27, 2006 IP
  2. ccoonen

    ccoonen Well-Known Member

    Messages:
    1,606
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    160
    #2
    make sure their are not forced-width elements in the table. Also set your table width to 100% instead of 1024px; or whatever. As long as you have no items with a forced with (like an image) inside the table it should be fluid/liquid and expand and contract with the browser width.
     
    ccoonen, Aug 27, 2006 IP
  3. dugu

    dugu Active Member

    Messages:
    1,381
    Likes Received:
    40
    Best Answers:
    0
    Trophy Points:
    90
    #3
    Exactly. But I want them to be static, whatever i do with the browser. And certainly not to move one over another. Here are my tables:
    <table height="25" width="15" align="left" border="0" cellpadding="3" >
    <table height="25" width="15" align="right" border="0" cellpadding="3" >
    <table border="0" cellpadding="0" cellspacing="15" >
    The second one keeps moving under the third(which is in center).
     
    dugu, Aug 27, 2006 IP