Where would i set the background color in the .css file then if not in a div? 0 drjohn 56 6 Years Ago And never use reserved words as your tag You're going about your business and then all the sudden one day this happens: Check out this Pen! Share this Question 3 Replies Expert 100+ P: 1,208 iam_clint Floated elements do not inherit from the parent. More info about floatting elements here : http://css-tricks.com/all-about-floats/ share|improve this answer answered Feb 2 '14 at 20:55 GCyrillus 35k42750 add a comment| Your Answer draft saved draft discarded Sign up http://dragonplayer.net/background-color/background-color-not-working.php
On its own - right at the top of the markup in the body section - it doesn't make much difference, but as soon as other elements are added, the behaviour Why do most microwaves open from the right to the left? Save 20% on Web Hosting Build custom web forms easily. Seems less intuitive.
It really is black but you just can't see it. Roger_2 32 posts since Dec 2014 Community Member More Recommended Articles About Us Contact Us Donate Advertising Vendor Program Terms of Service Newsletter Archive Community Forums Recent Articles © 2002 - Am new to Latex and want to make a table with 6 columns but the code below wont work. Now the body div you had is probably not causing your issues.
Is adding the ‘tbl’ prefix to table names really a problem? by using padding. If there is a background on the html element, the body background behaves just like any other element. Css Background Color Not Working Oh, and did I mention thank you for your effort with the markup!
share|improve this answer answered Feb 19 '13 at 21:11 JSW189 3,82662654 1 actually I do. Css Body Background Color Not Showing It's only as tall as the content inside it, just like a div or anything else. What are the differences between palatal consonant and palatalized consonant? Discover More Pantelis Permalink to comment# June 4, 2013 I prefer not to use css into html ,but anyway it is a solution.
Kind of like painting/Photoshopping, you start with a canvas and then begin to paint your picture. css share|improve this question edited Jun 3 '09 at 13:17 jalf 181k36254489 asked Jun 3 '09 at 13:13 Alec Smart 27k31104169 2 changed your title to something a bit more Div Style Background Color Html has a white background instead of the pink one I used to demonstrate what I wanted to do. Div Style Background Color Inline Expand|Select|Wrap|Line Numbers
Hot Network Questions Would the members of an online imageboard (or any community) be able to build a post-apocalytic society upon their reputation? http://dragonplayer.net/background-color/background-color-not-working-in-ie8.php current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list. more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Is the Brodie landing system still in use somewhere? Div Style Bgcolor
To start viewing messages, select the forum that you want to visit from the selection below. Effect of bootstrapping in amplifier circuit Does 'noel' really have its origin in Latin? Sanjeev Permalink to comment# June 2, 2013 This works fine for me Ed Permalink to comment# June 3, 2013 I'm glad I stumbled on this post today, as if it was http://dragonplayer.net/background-color/background-color-css-not-working.php Thanks anyways!
You can now find them here. Div Style Font Color You have a semi-colon after your margin property on the body selector, it should be a colon. Is there any way for a planet orbiting a red dwarf in the habitable zone to not be tidally locked?
in your coding, you should(if you arent already) be usingedit: could you maybe point us in the direction of the page you are having difficulty with? thanks! –user1781367 Feb 19 '13 at 21:09 you have no content. La campagna di cui si è ... "parlato" o "parlata"? Div Style Background Image Will it expand automatically? (btw, I was messing around with the code, so you probably cought it when I took away the div bgcolor) Sep 18, 2003,01:25 #12 BenANFA View Profile
This takes them out of normal document flow so that your container div actually has no content so has no height. I know setting the margin and padding to 0 in the body selector in my stylesheet takes away that thin gap at the top, which is a browser default, and I height: 720px; looks like it should do the trick. this contact form the reason it works when you set a px height is because it forces a specific height.
Balaji Permalink to comment# May 25, 2013 Simple, but thought provoking. So for anyone wondering if there are problems with using the html element, well… less than on the body element ;) Kalee Eversole Permalink to comment# May 24, 2013 Just ran The other way to do this is: