Treehouse: Grow your CSS skills. Land your dream job.

My HTML5 tags are not working.

  • # June 19, 2012 at 3:25 pm

    I have html5 tags such as…

    They are not working. Selecting them with developer tools. No CSS is seen. I’m on a wordpress site.

    I have < !DOCTYPE html>

    # June 19, 2012 at 3:50 pm

    Could be anything! Wrong CSS path, code error, you name it. We wouldn’t be able to help unless you give us a link to your site so we can check it.


    # June 19, 2012 at 4:16 pm

    Look at the header.

    # June 19, 2012 at 4:20 pm

    The CSS styles for

    (as they are written in style.css) are definitely applied, this is what I see:

    header {
    display: block;
    border: solid thin blue;
    background-image: url(images/header.jpg);
    height: 206px;
    background-repeat: no-repeat;
    width: 900px;
    background-position: top center;

    However the styles you described for #nav-menu and #nav are not, because you did not give any element the id “nav-menu” or “nav”. Perhaps you meant nav instead of #nav?

    # June 19, 2012 at 4:26 pm

    I beg to differ…I’m not seeing any of those on screen.

    i think the stylesheet is mislinked.

    # June 19, 2012 at 4:28 pm

    Stylesheet is linked though: does not lead to an error page.

    # June 19, 2012 at 4:34 pm

    i know where it’s linked to but the bg image isn’t coming through nor is the blue border…at least in Chrome.

    # June 19, 2012 at 4:36 pm

    On the other hand

    is not linked in the head

    # June 19, 2012 at 7:28 pm

    The (IMHO, utterly useless) reset comes after the header styles in the stylesheet.

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.