Auto Resize a website

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ChetG
    New Member
    • Sep 2007
    • 7

    #1

    Auto Resize a website

    I am re-designing my website and I want it to resize itself according to each visitors browser and resolution settings. I have been trying for hours to solve this issue but have found nothing. Here is the URL for the problem page. Anyone with any advice would be greatly appreciated.




    Thanks, ChetG
  • drhowarddrfine
    Recognized Expert Expert
    • Sep 2006
    • 7434

    #2
    HTML cannot do this. You need to ask on the javascript board.

    Comment

    • FullyH3ktik
      New Member
      • Sep 2007
      • 52

      #3
      Yeah, you can only do this with JavaScript, and is a bit complicated.
      The only thing you can do with HTML or CSS is instead of specifying the height and width as pixels. put the values in as percentages. that way the image or table or whatever is always that percentage width or height of the browser.

      so if you done this: <img src="" width="90%" height="90%" />, the image will always be 90% the height and 90% width of the browser, even if it gets resized

      Again, you should ask the javascript forum for the actual way.

      Comment

      • ChetG
        New Member
        • Sep 2007
        • 7

        #4
        Thanks a lot to both of you!

        Comment

        Working...