Author: sergeyhalipov
Date: 2008-02-13 14:43:45 -0500 (Wed, 13 Feb 2008)
New Revision: 6070
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/spacer/examples/spacers.xhtml
Log:
http://jira.jboss.com/jira/browse/RF-2243
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/spacer/examples/spacers.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/spacer/examples/spacers.xhtml 2008-02-13
18:40:44 UTC (rev 6069)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/spacer/examples/spacers.xhtml 2008-02-13
19:43:45 UTC (rev 6070)
@@ -4,14 +4,23 @@
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
+
+ <style>
+ .div_near_spacer {
+ height: 2px;
+ border: 0px;
+ font-size: 0px;
+ background-color: #{a4jSkin.panelBorderColor};
+ }
+ </style>
<p>
There is a spacer 100x10<rich:spacer width="100" height="10"
title="Here is a spacer..."/>before this.
</p>
<p>
There is 1x5 spacer between two lines below:
- <div style="height:0px; border:1px solid
#{a4jSkin.panelBorderColor}"/>
+ <div class="div_near_spacer" />
<rich:spacer width="1" height="5" title="Here is a
spacer..."/>
- <div style="height:0px; border:1px solid
#{a4jSkin.panelBorderColor}"/>
+ <div class="div_near_spacer" />
</p>
</ui:composition>
\ No newline at end of file