Forum Moderators: open

Message Too Old, No Replies

how to adjust the display sequence

         

xiaoxin

8:24 am on Nov 6, 2005 (gmt 0)

10+ Year Member



in a webpage, i have several parts, such as logo, banner, body, footer and so on.

now ,i want the browser diaplay the webpage in the following sequence, logo, body, banner, footer.

how can i achieve this?

thanks

tbear

11:26 am on Nov 6, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



This is just a guess.......

I would suggest the items will appear in their order, from the top, of the html document. Bearing in mind that maybe the browser will want to render any table structures before their content(?).

Maybe using css for layout is a way to reorganise the appearance heirarchy.

Others may have more knowledge in this field ;)

technossomy

1:11 pm on Nov 8, 2005 (gmt 0)

10+ Year Member



Hi xiaoxin

Although it is unclear to me what it is that you actually want to achieve, the suggestion of tbear is correct: the order of display is typically the order in which it appears in your HTML file.

To include a CSS file in your HTML is always a wise idea (google: "separation of layout and content") and is supported by all modern browsers.

If you want to make sure your page is loaded exactly in the order you want you can use frames. The usage of frames is generally discouraged by the webdevelopment community, though.

Hope this helps

Tech