Jump to content

Table background-color with CSS


BrianM

Recommended Posts

Is there any trick to using background-color with tables, because it doesn't seem to want to work for me. Here is an example of how I am writing my code, maybe somebody can tell me what I'm doing wrong and point me in the right direction.

 

<table class="login">

...

</table>

 

and in my style sheet linked to the page I have something like

 

table.login {

background-color: #FFFFFF;

}

 

Thanks for any help/advice.

Link to comment
https://forums.phpfreaks.com/topic/103497-table-background-color-with-css/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.