Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Jun 2002
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy designing for different resolutions

    I have been messing around with some temporary designs to learn html and web design - only i have problems with resolution compaterbility.
    Ive read that creating a table with the sizes pre set so the code automatically lines up on the left.
    I was wondering does any one know of any html code that auto resizes the text and images on the page to allow the site to be universal in respect to screen resolution?
    cheers

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    Louisville, KY
    Posts
    279
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Instead of using pivel values, try using percentages.

    Code:
    <table width="100%">
      <tr>
        <td width="25%">Stuff</td>
        <td width="25%">More Stuff</td>
        <td width="50%">Even More Stuff, taking up half of the browser's width.</td>
      </tr>
    </table>

  • #3
    jkd
    jkd is offline
    Senior Coder jkd's Avatar
    Join Date
    May 2002
    Location
    metro DC
    Posts
    3,163
    Thanks
    1
    Thanked 18 Times in 18 Posts
    If you use percentages for all measurements, and em or percentages for all font-sizes, generally you can expect excellent rendering across numerous resolutions.


  •  

    Posting Permissions

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