Forums

[resolved] Header not obeying stylesheet (6 posts)

  1. JessWritesBooks
    Member
    Posted 5 months ago #

    I'll admit that I'm pretty new at a lot of this, so if this is a completely stupid question, feel free to point and laugh. ;)

    I'm building a theme to use for a new site for the company I work for. Most things are working just fine, but the nav bar completely ignores all of the styling in my stylesheet. I've gone in and added some styles inline, but that is such a pain and I can't figure out how to add things like "hover" inline anyways.

    This is how I have linked to the stylesheet:

    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />

    The stylesheet has all of the correct information at the top (I think...), and as far as I can tell, it's all written correctly.

    What am I doing wrong? I've never built a site from scratch before, so this has been a steep learning curve.

    The site is http://jesstest2.xtreemhost.com/ if you want to take a look. (And please ignore the horrific color scheme and positioning issues. I'm still ironing out the kinks and my monitor apparently needs a calibration...)

  2. JessWritesBooks
    Member
    Posted 4 months ago #

    I have looked all over and still can't find an answer to my problem. Can anybody please shed some light on what might be going on here?

  3. esmi
    Theme Diva & Forum Moderator
    Posted 4 months ago #

    Try using Firefox with the Firebug add-on for this kind of CSS work.
    http://getfirebug.com/

  4. JessWritesBooks
    Member
    Posted 4 months ago #

    I'll check it out. Thanks!

  5. alchymyth
    The Sweeper
    Posted 4 months ago #

    your code has broken html tags;

    <body>
    
    <div id="wrap"
    
    	<div id="header"

    also try using the http://validator.w3.org/ frequently while you are working on your site - this might give you hints on what is wrong.

  6. JessWritesBooks
    Member
    Posted 4 months ago #

    Oh, now I feel foolish... Can't believe I missed that! Mark of the n00b, I guess.

    Thank you both! My problem is fixed and Firebug is fantastic!

Reply

You must log in to post.

About this Topic