Issues with your account? Bug us in the Discord!

CSS help

croxiscroxis I am the walrus
Alright. This Should Be Simple (TSBS), alas it isn't, but my background isn't working right. As in, not at all.

My site (croxis.net) has this for the basic structure:

body
div id=content
div id=left
/div
div id=right
/div
/div

/body

#content has a nice brown background color which isn't showing up and it is making me sad. Why?

Comments

  • SanfamSanfam I like clocks.
    posting up your stylesheet might help. :P
  • croxiscroxis I am the walrus
    [url]http://croxis.net/pivot/templates/croxis/croxis3.css[/url]
  • JackNJackN <font color=#99FF99>Lightwave Alien</font>
    Looking at your CSS file I find the reference for Left and Right but not for Content.

    If the DIV Tag can not find the Content ID reference within the style sheet it will not produce the desired result.

    Unless I'm missing something?

    :)
  • JackNJackN <font color=#99FF99>Lightwave Alien</font>
    I think that's what it is Croxis...

    Your #Content label is missing...

    ;)

    [CODE]

    #left {
    float: left;
    width: 550px;
    background: #66360E;
    }

    #right {
    width: 250px;
    float: left;
    background: #66360E;
    }

    /* All the content boxes belong to the content class. */
    .entry { border: 1px solid #77471F; }

    /* Text Styles */
    [/CODE]
  • croxiscroxis I am the walrus
    That's because I took the whole thing out altogether and decided to go about a slightly more complicated but different route =P

    it was #content { background:#66360E;}
  • JackNJackN <font color=#99FF99>Lightwave Alien</font>
    ok... I'm confused...

    Is your DIV tag still referencing the (non-existant) "Content" Class as an ID?

    :confused:
  • croxiscroxis I am the walrus
    Nope =P I took it all out. The problem, I think, was the left and right ids were ignoring the content background and just taking the body background
  • Random ChaosRandom Chaos Actually Carefully-selected Order in disguise
    What browser was the problem in? Floats act weird, in general. I recommend against using them unless absolutely necessary or unless you are building an article with pictures.
  • croxiscroxis I am the walrus
    absolute placements are perfered then?
  • Random ChaosRandom Chaos Actually Carefully-selected Order in disguise
    Croxis - I need more info before I can help you. It's hard to tell you any useful info on how to fix it if I don't know what the actual code was that you had issues with and what browser the issue was in. Every browser is different.
  • croxiscroxis I am the walrus
    nah, don't worry about it :)
Sign In or Register to comment.