You are here: Re: a tool to generate background « PHP Programming Language « IT news, forums, messages
Re: a tool to generate background

Posted by Krustov on 06/10/07 20:43

<comp.lang.php>
<Linuxx0r>
<Sun, 10 Jun 2007 13:22:55 -0700>
<1181506975.210422.315210@n4g2000hsb.googlegroups.com>

> you can use a php script as a stylesheet. in this php generated
> stylesheet you can define the background image: http://www.tizag.com/cssT/background.php
> then you just have to import your stylesheet in your page and the
> background will be displayed
>

Wouldnt it be better to use the stylesheet as normal - and
define/declare the background image in the <body> tag .

<html>

<head>

<title>test</title>

<link href="<?php print $poop_css; ?>" rel="stylesheet" type="text/css">

</head>

<?php
blah blah blah
?>

<body text="#FF0000" link="#FF0000" vlink="#FF0000" alink="#FF0000"
style="background-image: url(images/<?php print $blah; ?>.jpg);"

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация