The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Background image not showing

2 posters

Go down

Background image not showing Empty Background image not showing

Post by JamesTricker January 13th 2010, 8:29 am

With my html pages the background image isn't showing see below:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>XTREME Casino</title>
<style type="text/css">
<!--
body {
background-image: url(file:///C|/Documents%20and%20Settings/Owner/My%20Documents/James/Design/Pictures/Casino_by_chanito.jpg);
}
.style1 {color: #FF0000}
.style3 {color: #000000}
.style4 {color: #3333FF; }
-->
</style>
</head>


<body>

Thanks,
JamesTrick
avatar
JamesTricker
New Member

Posts : 13
Reputation : 0
Language : English

Back to top Go down

Background image not showing Empty Re: Background image not showing

Post by Final-Blond January 13th 2010, 11:19 am

Hi,

First of all, you made some mistakes in the CSS code :
body {
background-image: url('image_url');
}
The url_image is the host address from "serming" for exemple.

You do not put ; (semicolon) after the color codes "style1" and "style3".
Final-Blond
Final-Blond
Forumember

Female Posts : 117
Reputation : 0
Language : French, English, German
Location : High atop the hill in the swiss mountains

http://www.sos-forum.com/index.htm

Back to top Go down

Background image not showing Empty Re: Background image not showing

Post by JamesTricker January 17th 2010, 3:11 am

Sweet that worked Thanks!

But on another note is it possible to use an image as a title?
avatar
JamesTricker
New Member

Posts : 13
Reputation : 0
Language : English

Back to top Go down

Background image not showing Empty Re: Background image not showing

Post by Final-Blond January 17th 2010, 8:12 am

As the forum title ?
Should be possible, but after in your categories, forums, n' threads, you'll have an image in the navigation links...
Are you sure you want that (if it's possible to do it) ?
Final-Blond
Final-Blond
Forumember

Female Posts : 117
Reputation : 0
Language : French, English, German
Location : High atop the hill in the swiss mountains

http://www.sos-forum.com/index.htm

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum