Forums

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

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #191461
    onurcan1977
    Participant

    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">
            
      ..some elements..
    </nav> </header> <!-- Banner --> <section id="banner"> ..language selection.. </section>

    jsfiddle: http://jsfiddle.net/0f64vtLp/

    #191474
    Paulie_D
    Member

    CSS can’t restructure HTML…only style it.

    If you want the banner section in the header code your HTML that way.

    <!-- Header -->
    <header id="header">
    
        <nav id="nav">        
    
                ..some elements..
    
        </nav>
    
    <!-- Banner -->
    <section id="banner">
        ..language selection..
    </section>
    
    </header>
    
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.