Forums

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

Home Forums CSS >:( styling problem

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #23243
    Alexâ„¢
    Participant

    aaaaargh I’m really annoyed…
    I just started work on my wordpress blog (finally) and no sooner had I inserted the header I was having to troubleshoot. It seems when I end my header div like so: <div id="header"></div> the header won’t show up, at all. if i end the div tag like this though ><div/> its shows up, but when I validated it it failed, so i changed the div tag end to the correct and it validated fine but didn’t show my header… bummer :shock:

    Below is the code:
    HTML

    Code:

    >



    and

    CSS

    Code:
    /*
    Theme Name: Alex Rogahn
    Theme URI: http://alexrogahn.com/
    Description: Theme of Alex Rogahn’s personal blog
    Version: 1.0
    Author: Alex Rogahn
    Author URI: http://alexrogahn.com/
    */

    /* Global reset */
    /* Based upon ‘reset.css’ in the Yahoo! User Interface Library: http://developer.yahoo.com/yui */
    *, html, body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, label, fieldset, input, p, blockquote, th, td { margin:0; padding:0 }
    table { border-collapse:collapse; border-spacing:0 }
    fieldset, img { border:0 }
    address, caption, cite, code, dfn, em, strong, th, var { font-style:normal; font-weight:normal }
    ol, ul, li { list-style:none }
    caption, th { text-align:left }
    h1, h2, h3, h4, h5, h6 { font-size:100% }
    q:before, q:after { content:”}
    a { text-decoration:none }

    /* Global reset-RESET */
    /* The below restores some sensible defaults */
    strong { font-weight:bold }
    em { font-style:italic }
    * a { position:relative } /* Gets links displaying over a PNG background */
    a img { border:none } /* Gets rid of IE’s blue borders */

    body {
    background: #232323;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 62.5%;
    }

    #header {
    background: url(images/header.png) repeat-x;
    }

    I’d really appreciate it if some one would help me out :P

#49765
Alexâ„¢
Participant

omg I cant believe I missed that I really should brush up on my css :lol: …

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