Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Problem with backgound-image in <TD> on FireFox/Safari
Old 07-15-2008, 02:24 PM Problem with backgound-image in <TD> on FireFox/Safari
Junior Talker

Posts: 2
Trades: 0
I can't seem to find an answer to this on the net anywhere, hopefully you all can help!

I have two style definition for a table layout. The first simply repeats a gradient blue image into the table cell with a darker blue border (header row) and the other style for the 'content' area of the table. This is an example of what it looks like on IE6. This is how it should look:




The problem is that under Firefox and Safari, none of the cell background or border styles show. This is what it looks like in those two browsers:



Here's the style code, I hope it translates OK in a post. If anybody can see the flaw I'd appreciate the help!


.table3top {
background-image: url(images/header_ltblue.gif);
background-repeat: repeat-x;
font-family: Tahoma, Verdana, Arial;
font-size: 16px;
font-weight: normal;
color: #FFFFFF;
border-width:1px;
border-color:#3F95B5;
border-style:solid solid solid solid;
padding-left:10px;
padding-top:3px;
padding-bottom:3px;

}

.table3bg {
background-color: #F6F0E0;
border-width:1px;
border-color:#F6F0E0;
border-style:none solid solid solid;
padding-right:10px;
padding-top:10px;
padding-bottom:10px;
padding-left:10px;
}
pmh4514 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-15-2008, 04:04 PM Re: Problem with backgound-image in <TD> on FireFox/Safari
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Give that table cell/row a height equal to the height of the button graphic you're using.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 07-15-2008, 04:08 PM Re: Problem with backgound-image in <TD> on FireFox/Safari
Junior Talker

Posts: 2
Trades: 0
I had tried that already actually, same result. Notice as well the background color and header row font style are not rendered properly either..
pmh4514 is offline
Reply With Quote
View Public Profile
 
Old 07-15-2008, 06:03 PM Re: Problem with backgound-image in <TD> on FireFox/Safari
angele803's Avatar
Perfectly Imperfect

Posts: 1,774
Name: Stephanie
Location: Oklahoma
Trades: 2
Can you post a link to this page or the html for the login box?
__________________

Please login or register to view this content. Registration is FREE
angele803 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Problem with backgound-image in <TD> on FireFox/Safari
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.13713 seconds with 12 queries