Forums

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

Home Forums CSS [Solved] Footer class not displaying styles

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #244253
    edonian
    Participant

    (Hope I’m not spamming the forum!)

    footer class name: page-footer

    http://codepen.io/edonian/pen/jAZJBW

    As mentioned in the title, my footer class’s style is not showing up. This is quite vexing as I am not sure what’s causing this issue. I’ve looked over my HTML and CSS codes for any issues. I tried changing the class to an ID, I’ve also tried changing the footer into a div. I’ve even ran it through a CSS validator to see if it could locate the issue. Of course it pointed out some warnings, but nothing regarding the footer as I can tell anyway.

    What is causing this to happen? And how can I prevent this from happening in the future? It’s not making any sense.

    #244255
    Senff
    Participant

    The problem is that you’re using non-standard quotation marks to define the footer class. You have curly quotes:

    <footer class=“page-footer”>
    

    You should have straight quotes:

    <footer class="page-footer">
    

    Once you change that, things should be fine.

    #244258
    edonian
    Participant

    What in the world… I have no idea how that happened. Gosh, thank you, Senff for pointing that out. I feel silly now. lol

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