XHTML validation errors (themes)
--------------------------------

                 Key: OFBIZ-3621
                 URL: https://issues.apache.org/jira/browse/OFBIZ-3621
             Project: OFBiz
          Issue Type: Bug
          Components: themes
    Affects Versions: SVN trunk
            Reporter: Blas Rodriguez Somoza
            Priority: Trivial
             Fix For: SVN trunk


XHTML validation errors

    * Unclosed INPUT
    * attributes without values (checked, selected, disabled, etc)
    * attribute values without "
    * Uppercase tags or attributes.
    * Unencoded ampersands in urls.

Other errors:

Header.ftl 
Line 108. Wrong markup. Div can't be inside <a>
<a href="<@ofbizUrl>${logoLinkURL}</@ofbizUrl>" 
title="${layoutSettings.companyName}"><div>&nbsp;</div></a>

Style.css
Line 945. The logo is used as the background of the logo area, but because the 
size of the background image means nothing for dimensioning, it will be clipped.
background: url(../images/ofbiz_logo.png) no-repeat;

Solution: This is a hack to put the logo in the style sheet as the background. 
If the logo is only in the stylesheet without any trick, the logo will be 
clipped and disappears.
The logo can be loaded as an image directly in header.ftl and it will appear 
without clip and without any hack in header.ftl.

Patch attached.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to