View Full Version : body background in external css not working
11-16-2009, 12:55 PM
I just transfered all of my styles to an external CSS document. Everything went well, a few things that I needed to tweak, except for the one thing I thought would go smoothest.
I have no background color, and my alignment is back to left. Huh? It's a body tag... why wouldn't it work? Any thoughts?
11-16-2009, 01:26 PM
I have no background color, and my alignment is back to left. Huh? It's a body tag... why wouldn't it work? Any thoughts? Please post your entire code or a link to your page would be much better.
11-16-2009, 01:40 PM
Oh yeah, sorry, should have thought of that.
The Home, Biography, and Goals pages are done. The Bio page still has the CSS in the page instead of external, so the background works like it's supposed to. And please forgive the absolute corny-ness of it all... The site is for a school project, so each page is pretty much defined for us...
11-16-2009, 01:58 PM
Remove the html tags from your css file
11-16-2009, 02:07 PM
Wow, I feel really dumb now. Please forgive me, I've only been doing this for 5 weeks, and this is the first time I've taken my styles external. I still feel dumb, lol.
Thank you for clearing that up for me. *blush*
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.