homepage Welcome to WebmasterWorld Guest from 54.196.63.93
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
Content will not move to the top of the page
reddevil

10+ Year Member



 
Msg#: 11703 posted 3:42 pm on Feb 2, 2006 (gmt 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?

 

rd123

5+ Year Member



 
Msg#: 11703 posted 3:47 pm on Feb 2, 2006 (gmt 0)

have you set the tables to be displayed inline? You can do this using CSS.

reddevil

10+ Year Member



 
Msg#: 11703 posted 6:04 pm on Feb 2, 2006 (gmt 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?

tedster

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



 
Msg#: 11703 posted 7:18 pm on Feb 2, 2006 (gmt 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]

peewhy

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 11703 posted 7:22 pm on Feb 2, 2006 (gmt 0)

What editor are you using?

jollygoodfella

5+ Year Member



 
Msg#: 11703 posted 7:26 pm on Feb 2, 2006 (gmt 0)

Do you have your tables set any sort of alignment? If you do that may overwrite the CSS you have setup.

reddevil

10+ Year Member



 
Msg#: 11703 posted 12:50 pm on Feb 3, 2006 (gmt 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.

jollygoodfella

5+ Year Member



 
Msg#: 11703 posted 7:07 pm on Feb 3, 2006 (gmt 0)

Did you try placing another table inside of that table?

reddevil

10+ Year Member



 
Msg#: 11703 posted 8:12 am on Feb 4, 2006 (gmt 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!

tedster

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



 
Msg#: 11703 posted 9:28 am on Feb 4, 2006 (gmt 0)

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

reddevil

10+ Year Member



 
Msg#: 11703 posted 8:39 am on Feb 6, 2006 (gmt 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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved