Jump to content

HELP PLEASE ----------- how to call PHP inside CSS?


rajmohan

Recommended Posts

i need like this


body {
  margin-left: 0px;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
  background-color: <? $colorinsert; ?>
}

this what i need help

because i am generating a page where they can also change the background color
if you are using inline css then you just need to make sure the php engine parses the file... give it a php extension

http://www.tizag.com/cssT/inline.php

if you arent using inline css then you need to set your webserver to have php process css files.  if you want help doing that then talk to your sys admin

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.