html - How to make good grouping of elements? -
i want make htmlpage .
but dont want make 4 table 1 page.
best way make (i add elements in cells after ) - panel , div , or else ? wait advice .
p.s. write in asp.net / css .
you didn't state contents should come on page , how should placed. i'm guessing page might , suggest use appropriate elements provided in html5. top area use:
<header role="banner><!-- contents --></header>
assuming contains title, logo or similar.
the central part wrapped element main
:
<main role="main"> <section>section1</section> <section>section2</section> <section>section1</section> </main>
the part taking menu i.e. navigation should marked with:
<nav role="navigation"> <!-- menu entries --> </nav>
the bottom part marked as:
<footer role="footer"> <!-- if need 2 different containers inside --> <div id="footer-left"></div> <div id="footer-right"></div> </footer>
this rough example should give idea how proceed further.
don't use tables layouting page frowned upon. position elements using css3.
good luck!
Comments
Post a Comment