Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Apr 10, 2012 11:51 PM by tehremo
Participant
1527 Points
2302 Posts
Apr 10, 2012 10:17 PM|LINK
In css I want padding: 21.5px - this works only FF. I tried to use .em 1.68em and works only FF padding: 3px 1.68em; The problem is because I want to move for more then 0.5 px. 21px this is not good for me. How to use 21.5px should that works for all browsers?
Regards
Star
10540 Points
1704 Posts
Apr 10, 2012 11:51 PM|LINK
em works in all browsers, but you can't mix them:
padding:1.68em; or
padding: 3px;
not both.
programercek
Participant
1527 Points
2302 Posts
.em works only in firefox?
Apr 10, 2012 10:17 PM|LINK
In css I want padding: 21.5px - this works only FF.
I tried to use .em 1.68em and works only FF padding: 3px 1.68em;
The problem is because I want to move for more then 0.5 px. 21px this is not good for me.
How to use 21.5px should that works for all browsers?
Regards
tehremo
Star
10540 Points
1704 Posts
Re: .em works only in firefox?
Apr 10, 2012 11:51 PM|LINK
em works in all browsers, but you can't mix them:
padding:1.68em; or
padding: 3px;
not both.