I have a problem that seems very simple but for now I did not find any solution (don't really know where and how to search for this...). I want the html output of a page to be in this order (it's a one column full width layout also content and menu-images are not fixed in height):
<body> <div id=\"page\"> <div id=\"header\"><h1>Header site</h1></div> <div id=\"container\"> <div id=\"content\"><h2>Titre page</h2><p>Lorem ipsum dolor sit amet...</p></div> <div id=\"menu\"><p>Ici il y a un menu avec plein d'images.</p></div> </div> </div> </body> </html>
It does the job to put the menu before the content, but since the content is in absolute position it will hide any extra content after it (so adios footer)...
In fact I can't go for everything in absolute position because I don't know the height of the reversed blocks.
And if I need to do this,it's because the website is about photography and I would prefer that google sees the textual content first and that the users sees the images and the menu first (which is composed of many lists whith losts of keywords..).
I have a problem that seems very simple but for now I did not find any solution (don't really know where and how to search for this...).
I want the html output of a page to be in this order (it's a one column full width layout also content and menu-images are not fixed in height):
And I would like the visual appearance (CSS) of that page to be in that order:
Now I have tried this (HTML and CSS):
It does the job to put the menu before the content, but since the content is in absolute position it will hide any extra content after it (so adios footer)...
So does anyone has a better idea?
Thanks!
then go down the road of everything being absolute positioning
In fact I can't go for everything in absolute position because I don't know the height of the reversed blocks.
And if I need to do this,it's because the website is about photography and I would prefer that google sees the textual content first and that the users sees the images and the menu first (which is composed of many lists whith losts of keywords..).