Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SYNTAX

Status
Not open for further replies.

100dtl

Programmer
Aug 18, 2003
313
GB
Hi all,

Is this syntax correct

BODY { font-family: Arial, Helvetica, sans-serif; font-size: 11px; font-style: normal;line-height: 18px; background-image: url("ptlogo_backer2.gif"); font-weight: bold; color: #000000}


Its the image where i'm having problems
 
Nope, nothing wrong. Showing up nicely for me. Check for the file, extension and path.

Hope it helps.
 
Hmmm, I tested with Mozilla, IE5.5 and IE6 each time working ok. Have you tried looking at your picture? Typing into address bar: or respective path where this file is? If you have just uploaded this, you may have to wait some time before it is available. Have you tried it locally? Other than that, I am baffled.
 
Yes, your syntax is correct CSS. Do you have a url for the page it's being used on? Maybe it's not being used correctly.

Like Vragabond says, it's probably a file path problem. Try specifying a full path for the image file, for example, if the file's at put background-image: url("/images/ptlogo_backer2.gif");

-- Chris Hunt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top