Calling variable from CSS file?
Posted: Wed Jun 18, 2003 1:56 pm
I have this css command:
and the URL command I want it to show the image. I know empName already has a valid value in it but calling it from this CSS command is tough. Any ideas?
(Admin Edit Note: Thank you for using a BBCode, however, please also ensure that you don't also Disable the BBCode in the post.)
Code: Select all
body
{
background-image:
url(<?php $empName."gif" ?>); //here
background-repeat:
no-repeat;
background-position: center right;
}
</style>(Admin Edit Note: Thank you for using a BBCode, however, please also ensure that you don't also Disable the BBCode in the post.)