PDA

View Full Version : default bkgnd color


photos are the answe
04-15-2006, 05:20 PM
I can't seem to default the backgroud color of my photoblog.
People visiting it for the first time see an unformatted page until they choose
either white, grey, dark or black.

Anyone have any idea how I can default it to white so that it is formated when it loads for people on the first viewing??

My info:

www.uneasel.com/answer
PHP-version 4.4.0-pl1-gentoo (Pixelpost's min requirement: PHP version 4.3.0)
MySQL version 4.0.24 (Pixelpost's min requirement: MySQL 3.23.58)
GD-lib bundled (2.0.28 compatible) with JPEG support
Server software Apache
EXIF Pixelpost is using exifer v1.5 for EXIF information.
Paths
Guessed imagepath: /usr/htdocs/answer/images/
Configured Imagepath ../images/
Image Directory: OK - Can we write to the directory? YES.
Thumbnails Directory: OK - Can we write to the directory? YES.
Language Directory: OK
Addons Directory: OK
Includes Directory: OK
Templates Directory: OK

Joe[y]
04-15-2006, 05:45 PM
in image_template.html change


<link href="templates/jasonspix/style.css" rel="stylesheet" type="text/css" title="darkgrey" />
<link rel="alternate stylesheet" type="text/css" href="templates/jasonspix/style_white.css" media="screen" title="white"/>
<link rel="alternate stylesheet" type="text/css" href="templates/jasonspix/style_black.css" media="screen" title="black"/>
<link rel="alternate stylesheet" type="text/css" href="templates/jasonspix/style_lightgrey.css" media="screen" title="lightgrey"/>


to


<link href="templates/jasonspix/style_white.css" rel="stylesheet" type="text/css" title="white" />
<link rel="alternate stylesheet" type="text/css" href="templates/jasonspix/style.css" media="screen" title="darkgrey"/>
<link rel="alternate stylesheet" type="text/css" href="templates/jasonspix/style_black.css" media="screen" title="black"/>
<link rel="alternate stylesheet" type="text/css" href="templates/jasonspix/style_lightgrey.css" media="screen" title="lightgrey"/>