Forum Moderators: not2easy

Message Too Old, No Replies

Content at top of page (using CSS-P)

are there any hazards?

         

sniffer

6:12 am on May 8, 2004 (gmt 0)

10+ Year Member



hi all

Ive redesinged my homepage using absolute positioning and placed the "content" <div> at the top of the source code (ie underneath the <body> tag). So in terms of 'flow' this isnt logical, since other items appear on the page before the content, but it seems to work OK in all the browsers ive tested (except ver 4 obviously).

Are there any other forseeable hazards with using this layout technique?

Thanks :)

lildemon

5:39 pm on May 9, 2004 (gmt 0)

10+ Year Member



So far as I have encountered, no. It actually makes your site more friendly in most cases, particularly to search engines. Also, your content will often completely load before extraneous navigation bars etc... This is a bonus for users on slower connections, and reduces their effective load time (Unless they really like the spinning logo on your navbar or whatever).

All in all, I think having the content div at the top is the best route. I go a step further and actually move all the extraneous into a seperate file so that updating is easier, since the extras are repeated on (nearly) every page on my site.

sniffer

11:02 am on May 10, 2004 (gmt 0)

10+ Year Member



thanks lildemon :)