1 reply [Last post]
chewbacca
chewbacca's picture
User offline. Last seen 7 years 27 weeks ago. Offline
newbie
Timezone: GMT+1
Joined: 2004-08-03
Posts: 1
Points: 0

Hi,

Can anyone help me out with this one ?
I need to use text on a website that is equally sized using different screen resolutions.

For example, a line of text that is 10 centimeter in length with a screen resolution of 800x600 should also be 10 centimeters in length using a resolution of 1024x768.

How is this done ? I tried using %, pt, px, em, cm, mm, ... nothing works.

Greetz,
Alex.

thepineapplehead
thepineapplehead's picture
User offline. Last seen 17 hours 34 min ago. Offline
rank Guru
Guru
Joined: 2004-06-30
Posts: 9649
Points: 778

Same sized fonts using CSS with different screen resolutions

I don't actually think you can.

If you want it to look the same, use different stylesheets for different resolutions, with different font sizes that take up the same amount of space.

Verschwindende wrote:
  • CSS doesn't make pies