[jira] Created: (OFBIZ-335) <NOBR> is not approved by the W3C.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (OFBIZ-335) <NOBR> is not approved by the W3C.

Nicolas Malin (Jira)
<NOBR> is not approved by the W3C.
----------------------------------

                 Key: OFBIZ-335
                 URL: http://issues.apache.org/jira/browse/OFBIZ-335
             Project: OFBiz (The Open for Business Project)
          Issue Type: Improvement
            Reporter: Jacques Le Roux
         Assigned To: Jacques Le Roux
            Priority: Minor


We claim to be approved by W3C. By chance when using Tidy (actually HTML validator plugin in Firefox) I found this

The following tag is not a standard HTML tag. For most tags, the reason is that there is other ways to achieve the same result with standard tags or with cascaded style sheet.
Solution:

Replace the tag with the equivalent in standard HTML.
Sample:

<NOBR> is not approved by the W3C.

<NOBR> turns off wordwrapping between the start and end NOBR tag,

There are several ways to replace a NOBR by standard tag :
- You can use the nowrap attribute of the TR and TD tag in a table. In that case, the <BR> element to force line breaks where desired.

- The best solution is to use a cascaded style sheet with the attribute: "white-space: nowrap;".

BAD   <nobr>there is no wrapping here</nobr>
GOOD  <table><tr><td nowrap>there is no wrapping here</td></tr></table>
GOOD  <span style="white-space: nowrap;">there is no wrapping here</span>

References:

http://www.w3.org/TR/CSS1#white-space

I found 38 matches. If I find some time, or if someone has...

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

       
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-335) <NOBR> is not approved by the W3C.

Nicolas Malin (Jira)
    [ http://issues.apache.org/jira/browse/OFBIZ-335?page=comments#action_12438178 ]
           
David E. Jones commented on OFBIZ-335:
--------------------------------------

It isn't correct to say that "we claim to be approved by W3C". In fact, the only reason we have the validation links around is to get people to click on them and send in patches to fix the problems they find...

So, yeah, that's the direction for this issue...

> <NOBR> is not approved by the W3C.
> ----------------------------------
>
>                 Key: OFBIZ-335
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-335
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Improvement
>            Reporter: Jacques Le Roux
>         Assigned To: Jacques Le Roux
>            Priority: Minor
>
> We claim to be approved by W3C. By chance when using Tidy (actually HTML validator plugin in Firefox) I found this
> The following tag is not a standard HTML tag. For most tags, the reason is that there is other ways to achieve the same result with standard tags or with cascaded style sheet.
> Solution:
> Replace the tag with the equivalent in standard HTML.
> Sample:
> <NOBR> is not approved by the W3C.
> <NOBR> turns off wordwrapping between the start and end NOBR tag,
> There are several ways to replace a NOBR by standard tag :
> - You can use the nowrap attribute of the TR and TD tag in a table. In that case, the <BR> element to force line breaks where desired.
> - The best solution is to use a cascaded style sheet with the attribute: "white-space: nowrap;".
> BAD   <nobr>there is no wrapping here</nobr>
> GOOD  <table><tr><td nowrap>there is no wrapping here</td></tr></table>
> GOOD  <span style="white-space: nowrap;">there is no wrapping here</span>
> References:
> http://www.w3.org/TR/CSS1#white-space
> I found 38 matches. If I find some time, or if someone has...

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

       
Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-335) <NOBR> is not approved by the W3C.

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)
     [ http://issues.apache.org/jira/browse/OFBIZ-335?page=all ]

Jacques Le Roux closed OFBIZ-335.
---------------------------------

    Fix Version/s: SVN trunk
       Resolution: Fixed

Committed in revision 474173.

> <NOBR> is not approved by the W3C.
> ----------------------------------
>
>                 Key: OFBIZ-335
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-335
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Improvement
>            Reporter: Jacques Le Roux
>         Assigned To: Jacques Le Roux
>            Priority: Minor
>             Fix For: SVN trunk
>
>
> We claim to be approved by W3C. By chance when using Tidy (actually HTML validator plugin in Firefox) I found this
> The following tag is not a standard HTML tag. For most tags, the reason is that there is other ways to achieve the same result with standard tags or with cascaded style sheet.
> Solution:
> Replace the tag with the equivalent in standard HTML.
> Sample:
> <NOBR> is not approved by the W3C.
> <NOBR> turns off wordwrapping between the start and end NOBR tag,
> There are several ways to replace a NOBR by standard tag :
> - You can use the nowrap attribute of the TR and TD tag in a table. In that case, the <BR> element to force line breaks where desired.
> - The best solution is to use a cascaded style sheet with the attribute: "white-space: nowrap;".
> BAD   <nobr>there is no wrapping here</nobr>
> GOOD  <table><tr><td nowrap>there is no wrapping here</td></tr></table>
> GOOD  <span style="white-space: nowrap;">there is no wrapping here</span>
> References:
> http://www.w3.org/TR/CSS1#white-space
> I found 38 matches. If I find some time, or if someone has...

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