1 reply [Last post]
chewbacca
Offline
newbie
Last seen: 15 years 19 weeks ago
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
Offline
Guru
Last seen: 1 year 17 weeks ago
Timezone: GMT+1
Joined: 2004-06-30
Posts: 9668
Points: 801

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