It sounds like there might be a lot of links, and the content page has fewer lines, so the browser is centering the content vertically. valign forces the browser to display the content at the top of the cell.
eg
<TABLE> <TR> <tiles:get name="upperbar"/> </TR> <TR> <TD valign="top"> <tiles:get name="links"/> </TD> <TD valign="top"> <tiles:get name="content"/> </TD> </TR> <TR> <tiles:get name="lowerbar"/> </TR> </TABLE>
Caroline Jen wrote:
But, I did use table in my basic layout for those four pieces of tiles.
<TABLE> <TR> <tiles:get name="upperbar"/> </TR> <TR> <TD> <tiles:get name="links"/> </TD> <TD> <tiles:get name="content"/> </TD> </TR> <TR> <tiles:get name="lowerbar"/> </TR> </TABLE>
The text at the top of the tile (which has all the links) on my left hand side displays at a position much higher than that of the text at the top of the 'content'tile. --- Jim Barrows <[EMAIL PROTECTED]> wrote:
---------------------------------------------------------------------
same-----Original Message----- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Friday, September 10, 2004 3:04 PM To: [EMAIL PROTECTED] Subject: Tile Pieces Are Not Aligned
I am using the tiles feature. So far so good, all pieces are displayed.
I have four pieces of tiles: topbar (always the
in every page), sidebar (always the same bunch ofevery
links in every page), lowbar (alsyas the same in
page), and the 'content' tile (which varies frompage
into page).
The problem is with the 'content' tile, which is
the center and to the right hand side of thesidebar.
The position of the first line of text in thesidebar
is always MUCH HIGHER than that of the 'content'tile.
That is to say, the top of those two pieces oftiles
webare not aligned.
Is there any alignment technique? Right now, my
pages look ugly.CSS or tables. Actually the CSS purists will pretty much revoke my
CSS snob priveleges for mentioning tables for
formatting...but hey what the heck it's an option.
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Jason Lea