Body Background! Body Background!
 

News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

Main Menu

Body Background!

Started by danieljradcliffe, February 21, 2005, 07:39:48 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

danieljradcliffe

I've added my code in, and i can't seem to get it to work. Here is what i have...

... <link rel="stylesheet" href="themes/water_drop/style.css" />
<script type="text/javascript" src="scripts.js"></script>
<!--
$Id: template.html,v 1.4 2004/07/24 15:04:23 gaugau Exp $
-->
</head>

<body>
<body background="http://img.photobucket.com/albums/v161/NoName111/bg.jpg" bgproperties="fixed">

<table width="100%" height="100%" border="0" cellpadding="20" cellspacing="20">
<tr>
... and i don't see my background in the gallery. http://www.danieljradcliffe.net/photogallery

Tranz

Remove those properties from that file. Move them to the style.css file by replacing the body block with this:
body {
        background: url("http://img.photobucket.com/albums/v161/NoName111/bg.jpg");
        background-color: #f2f5f7;
        font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif;
        font-size : 12px;
        color: #000666;
        margin: 0px;
        background-attachment: fixed
}

danieljradcliffe

Thank you very very much!  ;D

Tranz

You are welcome. However, it is not showing up in Firefox, though it works in IE. I looked at the css and there are some characters where there should be spaces/tabs. It might be due to the conversion to Mac. Try replacing the blank area in front of the lines of text with spaces.

edit: I refreshed the page and the bg showed up so it was FF caching the stylesheet. However, the odd characters are still there. They show up as question marks.