[richfaces-issues] [JBoss JIRA] Commented: (RF-6006) Optimization over image spacer.gif
Nick Belaevski (JIRA)
jira-events at lists.jboss.org
Tue Feb 3 06:21:44 EST 2009
[ https://jira.jboss.org/jira/browse/RF-6006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12450802#action_12450802 ]
Nick Belaevski commented on RF-6006:
------------------------------------
I cannot reproduce the issue here: http://livedemo.exadel.com/richfaces-demo/richfaces/spacer.jsf?c=spacer&tab=usage
There are two spacers and both are represented as IMG tags. Can you please clarify?
> Optimization over image spacer.gif
> -----------------------------------
>
> Key: RF-6006
> URL: https://jira.jboss.org/jira/browse/RF-6006
> Project: RichFaces
> Issue Type: Feature Request
> Affects Versions: 3.3.0
> Reporter: Tomas Cerny
>
> I have noticed that wherever you create a space you use:
> <td>
> <img height="1" style="border: 0pt none ; width: 0px;" src="/a4j/g/3_3_0.GAimages/spacer.gif" alt=""/>
> </td>
> or something similar.
> Isn't this too expensive? I have this on 60 places on may page.
> First optimization:
> <img class="space" src="/a4j/g/3_3_0.GAimages/spacer.gif" />
> Second optimization
> <span class="space"> </span>
> I will refer you at a book about CSS from Eric Meyer on CSS, where he recommends not to use images for layout.
> Just this how this will decrease size of a page and also speeds page load in browser.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list