HighDots Forums  

percentage vs pixels?

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss percentage vs pixels? in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Zach
 
Posts: n/a

Default percentage vs pixels? - 02-16-2005 , 05:13 PM






i heard always to use percentage to define things in CSS
because pixel is browser/OS-specific?

zach


Reply With Quote
  #2  
Old   
Lauri Raittila
 
Posts: n/a

Default Re: percentage vs pixels? - 02-16-2005 , 05:17 PM






in comp.infosystems.www.authoring.stylesheets, Zach wrote:
Quote:
i heard always to use percentage to define things in CSS
Good idea, often. Also learn about em unit.

Quote:
because pixel is browser/OS-specific?
Not really. It just is bad unit for screen. There is many more things
that make px different size than just OS and browser.

--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
Utrecht, NL.


Reply With Quote
  #3  
Old   
Steve Pugh
 
Posts: n/a

Default Re: percentage vs pixels? - 02-16-2005 , 05:38 PM



"Zach" <netrek (AT) gmail (DOT) com> wrote:

Quote:
i heard always to use percentage to define things in CSS
because pixel is browser/OS-specific?
No, because % is more flexible.

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <steve (AT) pugh (DOT) net> <http://steve.pugh.net/>


Reply With Quote
  #4  
Old   
Zach
 
Posts: n/a

Default Re: percentage vs pixels? - 02-16-2005 , 06:02 PM



ok i will look into em, thanks.
is there css site that can analyze my css code?

zach


Reply With Quote
  #5  
Old   
Jan Roland Eriksson
 
Posts: n/a

Default Re: percentage vs pixels? - 02-16-2005 , 08:59 PM



On 16 Feb 2005 15:02:27 -0800, "Zach" <netrek (AT) gmail (DOT) com> wrote:

[...]

Quote:
is there css site that can analyze my css code?
If you could be convinced to spend some time on the FAQ for this NG you
would not need to ask such a question (and not a couple of the other Q's
you posted before either).

(hint...you can find it in the Google archive for this NG)

--
Rex




Reply With Quote
  #6  
Old   
David Ross
 
Posts: n/a

Default Re: percentage vs pixels? - 02-16-2005 , 10:33 PM



Zach wrote:
Quote:
i heard always to use percentage to define things in CSS
because pixel is browser/OS-specific?

zach
Actually, pixel is resolution-specific and monitor-specific. 35%
of Web surfers still use 800x600 pixels; slightly over half use
1024x768. Then, there are those who surf while using Web-capable
cell phones and similar devices.

Use percentages so that all these can properly view your pages.

--

David E. Ross
<URL:http://www.rossde.com/>

I use Mozilla as my Web browser because I want a browser that
complies with Web standards. See <URL:http://www.mozilla.org/>.


Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.