|
Posted by jokla on 08/06/06 09:52
I guess you used px for the font size so it'll look in all browsers the
same. I know that Opera will look a little bit different if % are used.
There is a cross-browser trick to make this work.
You have to write the following to the top of your css file.
html { font-size: 62.5%; }
This will reset the default font size to 10px for all browsers. I think
63px will do it aswell but for some IE's it's needed to write 62.5%.
Now you can go and work with % , where 100% = 10px , 110% = 11px and so
on. . . well, things should be this way.
I've done the same mistake with the px, but now I'm slowly switching
over to this magic trick with %
Navigation:
[Reply to this message]
|