Welcome to WebmasterWorld Guest from 54.196.217.43

Forum Moderators: incrediBILL

Message Too Old, No Replies

Content will not move to the top of the page

     
3:42 pm on Feb 2, 2006 (gmt 0)

Full Member

10+ Year Member

joined:Jan 27, 2004
posts:230
votes: 0


I am re-designing my site and have 3 left hand boxes (tables) plus 1 right hand box (table) with main content.

But the Content box is half way down the page, even though I have specified vertical-align:top; in the css.

Please could anybody help me to correct this?

Am I allowed to post all of the code here or can I put a link to my test page?

3:47 pm on Feb 2, 2006 (gmt 0)

New User

10+ Year Member

joined:Jan 21, 2006
posts:9
votes: 0


have you set the tables to be displayed inline? You can do this using CSS.
6:04 pm on Feb 2, 2006 (gmt 0)

Full Member

10+ Year Member

joined:Jan 27, 2004
posts:230
votes: 0


rd,

I inserted the inline command but it didn't have any effect on the layout - so I guess it must already be there somewhere?

Is it OK if I post a link to my test page?

7:18 pm on Feb 2, 2006 (gmt 0)

Senior Member

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:May 26, 2000
posts:37301
votes: 0


Sorry, no personal links to test pages, examples etc. See Forum Charter [webmasterworld.com]

Are you sure that the content is in the top <tr>? Sounds like it may not be. If it is, then try the W3C validators first. You'll make yourself crazy trying to fix rendering issues if there's an error in the mark-up.

W3C Validator - HTML [validator.w3.org]
W3C Validator - CSS [jigsaw.w3.org]

7:22 pm on Feb 2, 2006 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:June 9, 2003
posts:1471
votes: 0


What editor are you using?
7:26 pm on Feb 2, 2006 (gmt 0)

Junior Member from US 

10+ Year Member

joined:Feb 13, 2005
posts:101
votes: 0


Do you have your tables set any sort of alignment? If you do that may overwrite the CSS you have setup.
12:50 pm on Feb 3, 2006 (gmt 0)

Full Member

10+ Year Member

joined:Jan 27, 2004
posts:230
votes: 0


You'll make yourself crazy trying to fix rendering issues if there's an error in the mark-up.

(Laughing) That may be true but I am also driving myself crazy by trying to sort out what I think is a mark-up problem.

I am using FP2002. In Normal mode (design mode) it shows a dotted line around all the different cells. Now there is one cell which shows the dotted line on the top, left and bottom, but not the right.

I know this isn't techno-language but I guess the problem must be related to this?

I thought it was to do with colspan but again I have changed with no success.

My tables are aligned but I have changed the setting but with no success.

7:07 pm on Feb 3, 2006 (gmt 0)

Junior Member from US 

10+ Year Member

joined:Feb 13, 2005
posts:101
votes: 0


Did you try placing another table inside of that table?
8:12 am on Feb 4, 2006 (gmt 0)

Full Member

10+ Year Member

joined:Jan 27, 2004
posts:230
votes: 0


Did you try placing another table inside of that table?

Yes, there are 2 other tables nested inside 2 TDs.
The TD's are set at 20% and 80% width, and the tables inside these are 100% width (of the size of the TD).

Gets a bit confusing, for me!

9:28 am on Feb 4, 2006 (gmt 0)

Senior Member

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:May 26, 2000
posts:37301
votes: 0


Have you turned on the table borders temporarily so you can see what's happening? <table border="1">
8:39 am on Feb 6, 2006 (gmt 0)

Full Member

10+ Year Member

joined:Jan 27, 2004
posts:230
votes: 0


Have you turned on the table borders temporarily so you can see what's happening? <table border="1">

tedster, nice suggestion - thanks. I tried it but it didn't help me on this occasion (although I will remember that for future).

This got me so frustrated that I have decided to recode the whole page again, being extra careful not to make any mistakes.