Forum Moderators: open

Message Too Old, No Replies

table background not visible in safari and mozilla

problem with mozilla and safari

         

thamps

6:28 am on Jan 12, 2005 (gmt 0)

10+ Year Member



i want to fix a gif image as the back ground of a table . i tried it with the following code.

<table class="tabletxt" valign="middle" width="150" height="193">

and the css is as follows

.tabletxt
{
background-image: url("images\gif\App.gif")
}

i m getting the background image in IE ,but not in mozilla and safari.

can any one tell how to set background of a table that will work both in IE and SAFARI

tedster

7:10 am on Jan 12, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hello, thamps, and welcome to the forums.

You've got a path problem here. If you use forward slashes in the path to the image, then all browsers should be content - and also you don't need quote marks around the url.

.tabletxt
{
background-image: url(images/gif/App.gif)
}

That should do it.