Login
Search   Moderators Wanted: If you're interested please send your portfolio to info[at]itechforums.com
Welcome to the iTechForums.
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
To register now click here.
Latest Threads
Advertisements
Forum Statistics
Threads:
Posts: 2
Members:
Number of Users Online:
Welcome to our newest member,
Reply
 
Thread Tools Display Modes
  #1  
Old 05-31-2008, 03:28 AM
Ezrune.com Ezrune.com is offline
Junior Member
 
Join Date: May 2008
Posts: 7
Default

[PHP] Switch Styles.css code?


[PHP] Switch Styles.css code?

On my website, I am creating multiple styles.css. I am going to have a couple images at the top (little squares that are different colors). I need a PHP code that will switch the styles.css, keeping on the same URL, and being able to have different logos.

Just the straight-forward PHP code, no tutorials, is needed.

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #2  
Old 05-31-2008, 03:29 AM
Navneet S Navneet S is offline
Junior Member
 
Join Date: May 2008
Posts: 3
Default

<?php header("Content-type: text/css");
$white = '#fff';
$dkgray = '#333';
$dkgreen = '#008400';
?>
body {
background:<?=$white?>;
color:<?=$dkgray?>;
}
h1, h2, h3, h4 {
color:<?=$dkgreen?>;
}
blockquote {
color:<?=$dkgreen?>;
}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Are these 2 CSS styles the same? Joe CSS 0 05-16-2009 01:49 AM
Code in VB.net to switch on and off the pins of parallel port (pin2 and 25... Kanishk S .Net (ASP.Net, VB.Net, C#) 2 02-09-2009 09:13 PM
CSS Classes and Styles??? HELP!? Maggan CSS 0 09-11-2008 08:09 AM
CSS styles? mainemode CSS 2 05-14-2008 08:46 PM
You use the CSS Styles panel to create, edit, and remove CSS styles, as well... Tiffany R CSS 0 05-06-2008 04:23 PM

Your Ad Here

All times are GMT. The time now is 10:49 AM.