SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Jul 2003
    Location
    germany
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    screen resolution

    hi,

    actually i created a table having "style=width:100%" and for headers i set something like this
    <table border="1" cellspacing="0" cellpadding="0" style="width:100%" name="rsTable" id="rsTable" cols="11">
    <th width="70">Datum</th>
    <th width="66">Von</th>
    <th width="66">Bis</th>
    <th width="55">Kunde</th>
    <th width="69">Projekt</th>
    <th width="84">H-Vorgang</th>
    <th width="74">U-Vorgang</th>
    <th width="100">Text</th>
    <th width="38">IST</th>
    <th width="31">Soll</th>
    <th width="53">Status</th>
    <th width="100">&nbsp;</th>

    now problem is when i make my window resolution let say 1152*864px then it looks somewhat better how i can make it almost same(without any gaps between 2 cols) in all resolution,as larger the resolution more is gap and it looks wierd.

    hopefully any help me out in this style kind of things and change the code for me as i remoced style from table and width from header it looks better in 1152*864px but more than that it wont look gr8.

    http://sever2.vitodesign.com/log.phtml

    thanks in advance

    thanks in advance

  2. #2
    SitePoint Enthusiast m0n5t3r's Avatar
    Join Date
    Jul 2003
    Location
    Romania
    Posts
    49
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Firts of all, your link is broken... As for the table, you should ommit the
    Code:
    width="100%"
    part, if you want it to look the same at all resolutions...

  3. #3
    gingham dress, army boots... silver trophy redux's Avatar
    Join Date
    Apr 2002
    Location
    Salford / Manchester / UK
    Posts
    4,838
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    nah, the problem is: you say the table is 100%, but then you proceed to define pixel values for each individual column...which obviously doesn't work. change all your TH's width to % values instead, and make sure it all adds up to 100%.
    re·dux (adj.): brought back; returned. used postpositively
    [latin : re-, re- + dux, leader; see duke.]
    WaSP Accessibility Task Force Member
    splintered.co.uk | photographia.co.uk | redux.deviantart.com


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
  •