You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Laurie Harper <la...@holoweb.net> on 2005/09/24 22:46:03 UTC

Re: [OT] How to make work in Tiles?

梁炳場 wrote:
> In the header.jsp, I try to add something like "About Us", "Contact Us".
> Make them align to the right.
> But it does not work.
> I spread across the header section.
> 
> I do this in the header.jsp (and use classLayout.jsp).
> 
> <tr>
> <span style=" float;right; " />
> <td>
>      <logic:iterate ...>...
>      </logic:iterate>
> </td>
> </span>
> </tr>
> 
> How can I make it work?

This is nothing to do with struts, you just have invalid HTML. Your 
first <span> is an empty tag, which is not what you intended; and you 
can't wrap a span around a table cell (<td>). Try putting your span 
inside the td instead.

L.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org