IE 6 background colour problem

This is a discussion on "IE 6 background colour problem" within the Web Page Design section. This forum, and the thread "IE 6 background colour problem are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Feb 6th, 2008, 11:24
New Member
Join Date: Feb 2008
Location: Sheffield, United Kingdom
Age: 22
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
IE 6 background colour problem

Hi guys,

i've got an interesting problem in IE 6 - if you have it, please go to http://www.formasual.net/baby/

my php detects from cookies if a selected colour scheme is saved. for some reason, the first time it loads, not all the background is the correct colour - when you select another colour scheme, it works fine from there on.

any ideas?

Cheers,
Jay
Reply With Quote

  #2 (permalink)  
Old Feb 6th, 2008, 13:41
Reputable Member
Join Date: Sep 2007
Location: UK
Age: 42
Posts: 130
Thanks: 0
Thanked 0 Times in 0 Posts
Re: IE 6 background colour problem

if you post your php code your using it might be a function used on their that someone could help with.
Reply With Quote
  #3 (permalink)  
Old Feb 6th, 2008, 13:50
New Member
Join Date: Feb 2008
Location: Sheffield, United Kingdom
Age: 22
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: IE 6 background colour problem

PHP: Select all

function getCSS($style)
    {
        if (isset(
$_COOKIE[$style]))
        {
            
$css $_COOKIE[$style];
        }
        else
        {
            
$css "red";
        }
        return 
$css;
    } 
above is a function in my index which is called in order to select * colour schemes that AREN'T that css. Then, each alternative css is created - followed by the used alternative css, and the overall sheet.

Quote:
$query = mysql_query("SELECT * FROM baby_colourscheme WHERE colo_css != '".getCSS("style")."'");

while ($row = mysql_fetch_array($query))
{
print "<link rel=\"alternate stylesheet\" type=\"text/css\" href=\"styles/".$row['colo_css'].".css\" title=\"".$row['colo_css']."\" /><br />";
}

?>
<link rel="stylesheet" type="text/css" href="styles/style.css" />
<link rel="stylesheet" type="text/css" href="styles/<?php print getCSS("style"); ?>.css" title="<?php print getCSS("style"); ?>" />
<link rel="shortcut icon" href="icons/red.ico" type="image/x-icon"/>
<link rel="icon" href="icons/red.ico" type="image/x-icon"/>
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Background colour change. A800 JavaScript Forum 4 Jun 6th, 2008 12:16
Background colour for the whole coloumn Deagle Web Page Design 5 May 19th, 2008 14:53
Background colour rollover? crackafaza Web Page Design 6 Apr 4th, 2008 10:22
Change Background colour based on input smudge618 JavaScript Forum 2 Feb 6th, 2008 11:55
is there anyway to blend from one background colour to anoth benbacardi Web Page Design 1 Apr 23rd, 2004 17:47


All times are GMT. The time now is 16:33.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43