Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
web page size problem
Old 08-16-2007, 07:27 AM web page size problem
Novice Talker

Posts: 8
Trades: 0
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.
for example. www.yahoo.com
[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.
Thanks.
sathishbabu is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-16-2007, 03:34 PM Re: web page size problem
Extreme Talker

Posts: 238
Location: United States
Trades: 0
Without having a URL to your page to see for sure, I would guess that you need to specify a width in em units, not pixels or percentage.

The reason for this is that the em unit takes the size of current font-size, and when you zoom in you are actually just increasing the font-size on the page.
__________________
The interlocking pieces of web development: usability, performance, accessibility, and standards.
frost is offline
Reply With Quote
View Public Profile
 
Old 08-16-2007, 11:31 PM Re: web page size problem
angele803's Avatar
Perfectly Imperfect

Posts: 1,772
Name: Stephanie
Location: Oklahoma
Trades: 2
You will have to use percentages instead of a specific declaration (like pixels).
__________________

Please login or register to view this content. Registration is FREE
angele803 is offline
Reply With Quote
View Public Profile
 
Old 08-17-2007, 12:22 AM Re: web page size problem
brandrocker's Avatar
Experienced Talker

Posts: 30
Name: CONFIDENTIAL
Location: India
Trades: 0
Simple solution is:

1. Use percentage to set width property
2. Use em to set font size ( not px) and some other properties.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
brandrocker is offline
Reply With Quote
View Public Profile Visit brandrocker's homepage!
 
Reply     « Reply to web page size problem
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.24566 seconds with 12 queries