The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › How to move template section to header
Hello, I’m using an HTML5 template which has a header tag and a section. I want to put section tag into header. I don’t know CSS and CSS3 well, is there a simple way to do this? Here’s my code:
<!-- Header --> <header id="header"> <nav id="nav">
jsfiddle: http://jsfiddle.net/0f64vtLp/
CSS can’t restructure HTML…only style it.
If you want the banner section in the header code your HTML that way.
header
<!-- Header --> <header id="header"> <nav id="nav"> ..some elements.. </nav> <!-- Banner --> <section id="banner"> ..language selection.. </section> </header>