Home > Background Color > Background Color Not Working

Background Color Not Working

Contents

If you got the Normalize.css file from the project downloads then it should work perfectly without any edits. Sign in Email Address Password I forgot my password Sign in Search Log In Sign Up Blog Videos Almanac Snippets Forums Shop Lodge Jobs Just One of Those Weird Things About The bootstrap reference is most likely defining a background color already. Why ? , parsed as xml , you can almost style every single tag in your page. (head,title, style, script, … yes , not lying) and since then, body was not this content

Maybe this is why I run into this sort of thing so often gcyrillus Permalink to comment# May 24, 2013 This way of behaving use to be already like this in Whacky results ensue on the most famous of websites. Hot Network Questions Giving change in smaller denominations so customers can tip? If you want differing elements to take account of each others height then you need to maintain document flow which means not using absolute positioning. http://stackoverflow.com/questions/13118418/css-background-color-not-working

Css Body Background Color Not Working

Hi now define your parent div .question-template overflow:hidden; .question-template{ overflow:hidden; } Method two now clear your parent Css .clr{ clear:both; } HTML

234
Some lorem ipsum text
Use coupon code CSSTRICKS to save 20% for the firstyear. My code for the site:

How do unlimited vacation days work? share|improve this answer answered Nov 8 '14 at 3:28 lukevp 572215 1 Yeah, I removed bootsrap and it started working... Posts 487 Mentioned 0 Post(s) Tagged 0 Thread(s) http://www.htmlhelp.com/tools/csscheck/ says, when I posted your code fragment: "The shorthand background property is more widely supported than background-color." John No electrons were harmed Div Background Color Not Working Play with all the different theme options and see what they do, it's the best way to learn.

There were some interesting discussions on github( #1, #2 ) regarding this issue. Css Background Color Not Working In Chrome EDIT: Finished checking, put the menu and style into header2.php and style2.php, everything looks fine. Titus Nov 8 '14 at 3:19 try background: #32CD32; also I don't know if this changes anything but put a space between the word "body" and the opening brace http://stackoverflow.com/questions/13578127/background-color-not-working-css asked 3 years ago viewed 4929 times active 3 years ago Upcoming Events 2016 Community Moderator Election ends in 10 days Visit Chat Related 2354Set cellpadding and cellspacing in CSS?1632How do

The thing is, he did what I had already tried. Div Background Color Not Showing How? the body isw for teh page, there is a styling for the header ares, the sidebars, the center area, the footer, the post container. HTML 4.01 defined this color name as one of the first sixteen basic colors.

Css Background Color Not Working In Chrome

Could that be my problem? https://www.codecademy.com/en/forum_questions/50f4d484658024b2710015aa You'll probably put this in your CSS: body { background: red; } Done! Css Body Background Color Not Working I tried to change the background color and the whole thing get changed. Css Body Background Color Not Showing This is so strange!

I'm so stupid. –user3042719 Nov 8 '14 at 3:33 Thanks for accepting the answer. news Can spacecraft defend against antimatter weapons? so how do I change the background color for the whole page in the css file? You been hangin' out Canada? Css Background Color Not Showing

You should try to test with the minimal amount of code first and then add in things. Are there any special rules when making a substitution in an integral? I also used html{height:100,1%}. have a peek at these guys Thanks for the explanation.

But well, thanks for the heads-up. Bootstrap Body Background Color This comment thread is closed. Our mission is to bring affordable, technology education to people everywhere, in order to help them achieve their dreams and change the world.

Can spacecraft defend against antimatter weapons?

I've tried using html,body{} and using a doctype but nothing works! Alex Time Permalink to comment# June 11, 2013 Its works for me but some other - Is it possible to add image background? Did it change? Css Div Background Color It was only after I logged off treehouse and reopened my workspace that whatever was wrong fixed itself.

Thank you for your time! juggledad @juggledad 3 years, 4 months ago It seems I was unclear in my explaination. Thanks Mary WPyogi @wpyogi Forum Moderator 3 years, 5 months ago CSS (Cascading Styles Sheets) is the part of web code that partly determines the appearance of a website. check my blog just the comments threw me off...

So then it would just be: page here Then, in your stylesheet create a rule like so: body{ background-color: grey; } One good thing is the html Daniel Permalink to comment# May 24, 2013 I never thought of this. Kalee Eversole Permalink to comment# May 24, 2013 Agreed. Why is translateY(-50%) needed to center an element which is at top: 50%?

Reread the last answer. Do I need a transit visa to travel through Beijing to Melbourne? You did, but the fact that that red color floods the background is just a strange anomaly of CSS.