December 22, 200718 yr How to change background color? It's code of the document: * { margin: 0; padding: 0; [b]background-color:ccffff;[/b] } To prove that the bg is still white see here (outdated....) Please help! Thanks, JohnyKuleczka PS: Sorry for the name of the topic, not "#FFFFFF", but "#CCFFFF".
December 22, 200718 yr Author Oh, it did work. The more questions I ask, the more I notice I have to learn... So silly problem and an "easy" (not for me of course ) solution. Thanks again, JohnyKuleczka BTW. I still got the problem with borders of that table placed on this site. I've got #lewy { width:20%; height:auto; float:left; border-left:thin; text-align:center; border:1px #CCCCCC; } #srodek { width:60%; height:auto; float:none; background-color:#CCCCCC; text-align:justify; border:1px #CCCCCC solid; } #prawy { width:20%; height:auto; float:right; border-right:thin; text-align:center; border:1px #CCCCCC; } And in html <table id="table" align="center" cellspacing="2"> <tr> <td id="lewy">Miejsce</td> <td id="srodek">Miejsce</td> <td id="prawy">Miejsce</td> </tr> </table> Whats wrong, that there are no borders ?
December 26, 200718 yr How to change background color?It's code of the document: * { margin: 0; padding: 0; [b]background-color:ccffff;[/b] } To prove that the bg is still white see here (outdated....) Please help! Thanks, JohnyKuleczka PS: Sorry for the name of the topic, not "#FFFFFF", but "#CCFFFF". The asterix will match every element on your page. If it's the page's background color you use html or body. html { background: #aaa; // light grey background } body { background: #666; // dark grey body background width: 50em; margin: 0 auto; }
Create an account or sign in to comment