<body> question/problem.....

This is a discussion on "<body> question/problem....." within the Web Page Design section. This forum, and the thread "<body> question/problem..... are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Aug 10th, 2005, 22:11
Junior Member
Join Date: Aug 2005
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
<body> question/problem.....

Can someone tell me where I've gone wrong with this definition of the body tag?

Code: Select all
body {background-color: #CFD7DA; color: #000000}
The text is black, like it should be, but that's the defualt color, and the background doesn't work at all. Yes, I've linked it correctly. I have several other tags defined in the file, all of which work fine. Am I using the wrong attributes?

Oh, and is it possible to Cascade the cellspacing and cellpadding options of the <table> tag?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Aug 11th, 2005, 01:07
herkalees's Avatar
Highly Reputable Member
Join Date: Jul 2005
Location: Massachusetts, USA
Age: 87
Posts: 576
Thanks: 0
Thanked 0 Times in 0 Posts
Re: <body> question/problem.....

Quote:
Originally Posted by Jaken Veina
Can someone tell me where I've gone wrong with this definition of the body tag?

Code: Select all
body {background-color: #CFD7DA; color: #000000}
The text is black, like it should be, but that's the defualt color, and the background doesn't work at all. Yes, I've linked it correctly. I have several other tags defined in the file, all of which work fine. Am I using the wrong attributes?

Oh, and is it possible to Cascade the cellspacing and cellpadding options of the <table> tag?
Try this:
Code: Select all
body, html {background-color:#CFD7DA; color:#000000;}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Aug 11th, 2005, 02:01
Junior Member
Join Date: Aug 2005
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Nope. It works when I define it in the same document, but not when I link from another. I've tried linking in the <head> tag, before the <head> tag, between the <head> and <body> tags, even outside the <html> tag without any change. Stupid thing...

Just forget about it. Any idea on the <table> question? The padding attribute doesn't work, I've already tried it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Aug 11th, 2005, 07:09
benbacardi's Avatar
Highly Reputable Member
Join Date: Feb 2004
Location: United Kingdom
Age: 20
Posts: 611
Thanks: 0
Thanked 0 Times in 0 Posts
is this any good?

http://archivist.incutio.com/viewlist/css-discuss/17963
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Aug 11th, 2005, 16:07
Junior Member
Join Date: Aug 2005
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Yes! Thank you very much.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
ltbodygt, questionproblem

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Image Problem in HTML-newb question partyon Web Page Design 2 Jun 6th, 2008 00:18
Problem phrasing the question. pwbiggs PHP Forum 7 May 14th, 2007 21:40
body font size problem samv Web Page Design 6 Feb 21st, 2007 11:55
Javascript problem/question kb3llm129 JavaScript Forum 0 May 6th, 2006 22:03
Problem in Setting Cookie on body onload (frame page) call14 JavaScript Forum 1 Dec 20th, 2005 14:47


All times are GMT. The time now is 18:46.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42