Css- bgcolor ain't working

  • George L.
  • Bronze Member
  • Bronze Member
  • George L.
  • Posts: 2209
  • Loc: Malaysia

Post 3+ Months Ago

Code: [ Select ]
.bottombar {
    padding: 5px;
    text-align: center;
    color: #555555;
        font-size: 1.1em;
        back-ground color: #fff58a;
    }
  1. .bottombar {
  2.     padding: 5px;
  3.     text-align: center;
  4.     color: #555555;
  5.         font-size: 1.1em;
  6.         back-ground color: #fff58a;
  7.     }


The background color isn't displaying...!? :scratchhead:

Where have I missed?
  • righteous_trespasser
  • Scuffle
  • Genius
  • User avatar
  • Posts: 6230
  • Loc: South-Africa

Post 3+ Months Ago

Code: [ Select ]
background-color:#fff58a;


how about some [code] tags George ... ?
  • George L.
  • Bronze Member
  • Bronze Member
  • George L.
  • Posts: 2209
  • Loc: Malaysia

Post 3+ Months Ago

What do you mean by [code] tags, R_T?

Thanks for helping, again I need to go now..

Please advise in any way you can, man.

cya

:)
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8415
  • Loc: USA

Post 3+ Months Ago

code tags as something like...
Code: [ Select ]
.bottombar {
padding: 5px;
text-align: center;
color: #555555;
font-size: 1.1em;
background color: #fff58a;
}
  1. .bottombar {
  2. padding: 5px;
  3. text-align: center;
  4. color: #555555;
  5. font-size: 1.1em;
  6. background color: #fff58a;
  7. }
  • George L.
  • Bronze Member
  • Bronze Member
  • George L.
  • Posts: 2209
  • Loc: Malaysia

Post 3+ Months Ago

what is it is the difference with the first post I had in this thread?..

//really I should go now, thanks for the help man.
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8415
  • Loc: USA

Post 3+ Months Ago

The white box around the code with the word "Code" at top left.
  • George L.
  • Bronze Member
  • Bronze Member
  • George L.
  • Posts: 2209
  • Loc: Malaysia

Post 3+ Months Ago

Are you kidding me?
  • digitalMedia
  • a.k.a. dM
  • Genius
  • User avatar
  • Posts: 5149
  • Loc: SC-USA

Post 3+ Months Ago

George, it looks like you got the CODE tags sorted and the answer to your background problem. Yes?
  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13504
  • Loc: Florida

Post 3+ Months Ago

I added them dM. I tend to just silently add them these days and leave it up to people to edit theor post and see what happened.

George, f you edit your post, you will see what they're talking about when they mention the code tags.
  • George L.
  • Bronze Member
  • Bronze Member
  • George L.
  • Posts: 2209
  • Loc: Malaysia

Post 3+ Months Ago

How am I going to edit?
I'm confused, I've not edited anything in this thread..
And the answer Bogey has given isn't working still..

I'm using this now:

Code: [ Select ]
.bottombar {
    padding: 5px;
    text-align: center;
    color: #555555;
        font-size: 1.1em;
        back-ground color: #fff58a;
        }
  1. .bottombar {
  2.     padding: 5px;
  3.     text-align: center;
  4.     color: #555555;
  5.         font-size: 1.1em;
  6.         back-ground color: #fff58a;
  7.         }
  • digitalMedia
  • a.k.a. dM
  • Genius
  • User avatar
  • Posts: 5149
  • Loc: SC-USA

Post 3+ Months Ago

Change "back-ground color: #fff58a;" to "background:#fff58a;" or "background-color:#fff58a;"...as r_t indicated.

It's simply a hyphenation/syntax error. ;)
  • George L.
  • Bronze Member
  • Bronze Member
  • George L.
  • Posts: 2209
  • Loc: Malaysia

Post 3+ Months Ago

digitalMedia wrote:
Change "back-ground color: #fff58a;" to "background:#fff58a;" or "background-color:#fff58a;"...as r_t indicated.

It's simply a hyphenation/syntax error. ;)


It's working, yay, but still a little problem persists..
I signed in as admin there's no changes, only registered user can see the changes or unregistered users. hmmm
  • George L.
  • Bronze Member
  • Bronze Member
  • George L.
  • Posts: 2209
  • Loc: Malaysia

Post 3+ Months Ago

ah, no, sorry the changes take effect now...

Thank you DM. :)

I mean very much and

..everybody who contributed to this thread!, gladly my appreciation.


:)

Post Information

  • Total Posts in this topic: 13 posts
  • Users browsing this forum: No registered users and 60 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.