| |||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| Senior Member | CSS Help - Class I'm trying to create some CSS classes. This is my .CSS file: Code: titlebackground {
background-image: url(images/titleback.gif);
font-weight: bold;
font-size: 20pt;
font-family: helvetica;
}
Code: <tr><td class="titlebackground"> Any help? Thanks
__________________ Twitter Friend Adder |
| |
| | #2 (permalink) |
| NamePros Regular | edit: nevermind. your missing the . infront of titlebackground ![]() Code: .titlebackground{
blah blah
}
Code: td.titlebackground
{
background-image:url("whatever") !important;
}
|
| |
| | #5 (permalink) |
| Senior Member | Thanks for the help all! ![]() Thing is now, the background image works - but the text size and weight doesn't work? Thanks!
__________________ Twitter Friend Adder |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |