Vertical alignment in dynamic web template

G

gradeabove

I've finally converted my shared borders to a dynamic Web template, and I'm
having trouble forcing the contents of cells within my tables to the top of
the cell. For example, on a long page the buttons in the left border area
aren't in the window toward the top of the page. On a short page, the left
border looks fine; but the content of the body is centered vertically,
creating a lot of white space at the top of the cell.

Any suggestions? I've tried valign=top within the table I want to make the
cell contents appear at the top of the cells, but that isn't working.

Thanks!
 
M

Mark Fitzpatrick

Can you post a URL? It could be that there are some nested cells and the
one you need to have the alignment set on isn't getting set correctly.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage
 
S

Stefan B Rusynko

Your left nav area is positioned the same on both pages

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| Thanks for the reply! See here
| http://newlifexn.com/RememberGodsPassion/Intro.html and
| http://newlifexn.com/RememberGodsPassion/B-02-13-2005.html for both
| variations of the problem. Some of the pages turned out fine. Others look
| like these.
| Lisa
|
|
| "Mark Fitzpatrick" wrote:
|
| > Can you post a URL? It could be that there are some nested cells and the
| > one you need to have the alignment set on isn't getting set correctly.
| >
| > Hope this helps,
| > Mark Fitzpatrick
| > Microsoft MVP - FrontPage
| >
| > | > > I've finally converted my shared borders to a dynamic Web template, and
| > > I'm
| > > having trouble forcing the contents of cells within my tables to the top
| > > of
| > > the cell. For example, on a long page the buttons in the left border area
| > > aren't in the window toward the top of the page. On a short page, the
| > > left
| > > border looks fine; but the content of the body is centered vertically,
| > > creating a lot of white space at the top of the cell.
| > >
| > > Any suggestions? I've tried valign=top within the table I want to make
| > > the
| > > cell contents appear at the top of the cells, but that isn't working.
| > >
| > > Thanks!
| >
| >
| >
 
M

Mark Fitzpatrick

Lisa,
Go into the HTML code itself and I think you will see the problem.
There is a tag called a tr (stands for table row) and it has a vertical
alignment set on it to middle. <tr valign=middle>. You should be able to
replace it with a just a plain <tr> or <tr valign=top> There are a few of
these and I believe that they are the ones causing your problem. When
applying alignments, you want to target the cell tag (td) instead of the
row.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage
 
G

gradeabove

Thank you! Since I hadn't added in those tags, I didn't realize they were
there. I kept adding tags in in other places to compensate for the problem,
but I hadn't searched for the ones that already existed - thinking that it
was a default setting. I think I've got it straightened out now, and it is
working much better.
Thank you! Thank you! Thank you!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top