Results 1 to 2 of 2

Thread: Browser text zoom problem.

  1. #1
    Join Date
    Jul 2010
    Posts
    9

    Browser text zoom problem.

    Hey guys. I was just wondering if there is a proper way to deal with text zooming (such as using em's for size configurations on certain areas) between the different browsers. I say this because for the site I am making, I have a nav bar that fits perfectly inside of a div. However, once you defer from the default browser text size ( [cmd/ctrl] and [+/-] ) my layout starts to change for the worst. It becomes glaringly obvious once I shrink the text size a bit, because the
    nav bar consisting of the unordered list items shrinks at a different rate than the surrounding div tag.

    This problem is driving me nuts. Any solution to this? Or is this out of my hands?


    if you want to see the site, it is www.scskiclub.com. (It's not the initial intro text, I am worried about, it's on the main page. Try shrinking the text when it appears)

    Thanks a lot for the help guys. Definitely means a lot.

  2. #2
    Join Date
    Feb 2006
    Location
    Salisbury UK
    Posts
    4,332
    You can set every element (divs, forms, tables, lists) with a width in ems and then when someone increases text size the divs, images and everything incraese in size as well.

    However, this does cause problems with images as the height may change in height out of proportion to elements around them, or if you leave images in fixed sizes, they don't fit the changed containers.

    Modern browsers have a zoom which increases the whole page including images, so I think it's better now to code font and divs and images in fixed sizes and widths and let a viewer use page zoom instead of text increase and then everything stays in proportion.
    Code downloaded to my PC will be deleted in due course.
    WIN7; IE9, Firefox, Opera, Chrome and Safari for Windows; screen resolution usually 1366*768.
    Also IE6 on W98 with 800*600 and IE8 on Vista 1440*900.

Similar Threads

  1. How to wrap text automagically when browser is resized
    By m*sh in forum Web Design, HTML Reference and CSS
    Replies: 0
    Last Post: 17 Dec 2010, 06:25 AM
  2. Opera Mobile Browser Resizing and Overflowing the Text
    By greentea in forum Web Design, HTML Reference and CSS
    Replies: 0
    Last Post: 31 Aug 2010, 01:04 PM
  3. Browser Problem
    By Decodeme in forum Web Design, HTML Reference and CSS
    Replies: 1
    Last Post: 30 Aug 2010, 10:04 PM
  4. Moving Text on Browser width (Vertically)
    By hugene13 in forum Web Design, HTML Reference and CSS
    Replies: 0
    Last Post: 03 Jan 2010, 09:01 PM

Tags for this Thread

Posting Permissions

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