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 2 of 2
  1. #1
    Regular Coder
    Join Date
    Jun 2007
    Posts
    145
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Automatically Resizing Text

    I want to be able to have automatically resizing text based on the window size of the browser.

    What is the simplest way of doing this.

    Thanks very much , Andy

  • #2
    Regular Coder
    Join Date
    Jun 2007
    Location
    N. Ireland
    Posts
    351
    Thanks
    16
    Thanked 4 Times in 4 Posts
    Andy,

    You could be looking at using Javascript to read the browser window size onload() and then use Document Object Model (DOM) to change the CSS properties of the elements in your page.

    Personally I would allow only the viewer to resize for himself - offer him a couple of options on the homepage and possibly set a cookie to help repeat access to your site.

    Can you post you site or state what reasons you want to resize the text?
    Daemonkin.
    If this was helpful, please add to my reputation
    Thousand Sons - Freelance Web Developer - ninetyonedegrees.com


  •  

    Posting Permissions

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