Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS header and footer placement is not up to the edge

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #275039
    zebyte
    Participant

    Hi,
    need some help on my coding here.
    I have this header for my login menu and a footer but the placement of the background-image for the header and footer is not up to the edge of the website space. below is the attached coding. i checked the width is 100% but why is it not up to the edge. am i missing something.

    both the css coding for the header and footer is in the header nav & footer (css).

    https://codepen.io/anon/pen/VBBQVp

    thank you for your help

    #275041
    Paulie_D
    Member

    You have a typo.

    In the first CSS rule you have a extra comma after video which invalidates the whole rule

    https://codepen.io/Paulie-D/pen/ajjavq

    #275071
    zebyte
    Participant

    thank you Paulie. I have been going thru the code checking the classes if there was any typos in my css coding. didnt bother to check the base coding. silly me. thank you again :)

    #275076
    Aurelian
    Participant

    Reset also the user agent stylesheet:
    * {
    margin: 0;
    }

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.