[ 
https://issues.apache.org/jira/browse/OFBIZ-623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12465696
 ] 

Chris Howe commented on OFBIZ-623:
----------------------------------

I was about to say, that should fall victim to the same pitfalls as defining 
the line-height in px.  

1 em = 100%

In default english FF and IE 1 em = 16 px
So, when the body font-size was set to 62.5%, 
16 x .625 = 10px
so
1 em = 10px 
2 em = 20px
200%= 20px

The reason why the we choose 62.5% is for the decimal convention.  But it 
doesn't matter what someone else has their default font set at, as they will 
see the page in the same relation as we do.

So now if you change the font size of the text in that class, you're line 
height is still 2 em, even if your font-size is 0.8 em.

This needs to be set using margin

> Product Menu looks bad
> ----------------------
>
>                 Key: OFBIZ-623
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-623
>             Project: Apache OFBiz (The Open for Business Project)
>          Issue Type: Improvement
>          Components: product
>         Environment: Windows XP 
>            Reporter: Jacques Le Roux
>         Assigned To: Jacques Le Roux
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: AScreenCopy.PNG, maincssTabButton.patch
>
>
> Please see screen copy attached
> I tried also on Opera 9.02 and IE 7 : same problem.
> Surely a CSS change somewhere, any idea ?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to