If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3

Thread: web page size

  1. #1
    Junior Member
    Join Date
    Jul 2007
    Member #
    I tried to design a webpage layout using CSS. But the problem is when i try to zoom the page (with my mouse scroller+ctrl key) the page expands vertically not proportionately.
    [Here when u zoom in the page both the width & height of the page will be increased ].
    What shall i do on the stylesheet while defining width & height of the page to get the result.


  3. #2
    Senior Member
    Join Date
    Jun 2005
    Atlanta, GA
    Member #
    1 times
    To get appropriate sizing, in CSS, you need to use either em or % measurements for all sizes. Ems are relative to font size, %s are percentage points.

  4. #3
    Senior Member ravensjeff's Avatar
    Join Date
    Aug 2007
    Member #
    Ok...I would like to ask a follow up question.

    I'm confused about the use of %'s. How do you go about balancing the layout using percentages when images used are clearly limited to a certain pixel size?

    In this site, for example, the container size is specified to a specific pixel width...but if you scroll your mouse button in IE, the container changes sizes as well (not just the font as Firefox does). If I am understanding you correctly (and I very well may not be), the fix for this would be to specify the size of the container (and other elements) as a %. But I don't understand how this would work...what happens to the image? Obviously it can't resize infinitely with the window without getting distorted.

    Thank you bearing with my confusion.

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
All times are GMT -6. The time now is 10:35 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: