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
one pixel equal to how many cms or mms in CSS
Old 10-31-2010, 03:15 PM one pixel equal to how many cms or mms in CSS
Junior Talker

Posts: 1
Trades: 0
Im new to HTML, CSS and web designing and so for the term PIXELS. I found that in CSS, we fix font size and everything in pixels, not in cm or mm so Im confused. I would like to know how any cm is equal to 1 pixel and how to calculate pixel.
learnweb is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-31-2010, 03:40 PM Re: one pixel equal to how many cms or mms in CSS
lynxus's Avatar
Awesomeo-Maximo

Posts: 1,618
Location: UK
Trades: 1
If you look at your PC screen REALLLY closely.

You will see tiny squares ..

These are pixels.

So the size actually changes from PC to PC.
However 1 pixel = 1 of those tiny squares
__________________

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

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


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

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


lynxus is offline
Reply With Quote
View Public Profile Visit lynxus's homepage!
 
Old 10-31-2010, 04:31 PM Re: one pixel equal to how many cms or mms in CSS
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,376
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
AND Your monitor will have a specification of pixels(dots) per inch (DPI)

The standard for windows is 96 dpi and Mac monitors are 72 DPI.

It is the job of the screen driver to calculate relative sizes to exact pixels.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 10-31-2010, 05:01 PM Re: one pixel equal to how many cms or mms in CSS
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Yes, there are no inches or centimeters or millimeters in web design - you specify widths and heights in pixels, percentages of em units.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

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


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

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to one pixel equal to how many cms or mms in CSS
 

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.72531 seconds with 12 queries