[css-d] php sthe switcher for multiple style sheets

2007-11-22 Thread DAVOUD TOHIDY

Greetings,
 
I am looking for a php multiple style switcher which can handle
switching more than two style sheets for my portfolio
located at http://cssfreelancer.awardspace.com .
 
Would appreciate your comments.
 
Best
davoud
_
Have fun while connecting on Messenger! Click here to learn more.
http://entertainment.sympatico.msn.ca/WindowsLiveMessenger
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] php

2007-10-16 Thread Eileen
On 10/16/07, Raumin Ray Dehghan <[EMAIL PROTECTED]> wrote:
>
> Colleagues:
>
>   Does anybody have recommendations for a good book and/or websites
> for beginning php?
>
> http://hudzilla.org/phpwiki/index.php?title=Main_Page
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] php

2007-10-16 Thread Ibrahim Y
you can start from w3schools here :
http://www.w3schools.com/php/default.asp

I also liked book called
*Practical PHP and MySQL(R): Building Eight Dynamic Web Applications
*
http://www.amazon.com/Practical-PHP-MySQL-Building-Applications/dp/0132239973
*
*
Ibrahim
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] php

2007-10-15 Thread jake
PHP Cookbook by O'Reilly

Original Message ---
Colleagues:

  Does anybody have recommendations for a good book and/or websites
for beginning php?

Thanks
Raumin "Ray" Dehghan
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


[css-d] php

2007-10-15 Thread Raumin "Ray" Dehghan
Colleagues:

  Does anybody have recommendations for a good book and/or websites
for beginning php?

Thanks
Raumin "Ray" Dehghan
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] [PHP] Newbie seeks urgent help

2007-07-13 Thread Luc
Good evening Tijnema, 
It was foretold that on 13/7/2007 @ 03:45:48 GMT+0200 (which was
22:45:48 where I live) Tijnema would write:



> You must have some unclosed single quote ( ' ) somewhere, on one of
> these lines probably:
> $youremail =
> $websitetitle =
> $thankyoupage =

> For test, leave all of them empty and see if the error is still
> popping up, if not, fill them back in one by one and see which one
> causes the error,  

I finaly found the problem Tijnema :-).

in this block:
Empresa: $_POST[empresa_name]
Contato: $_POST[contato_name]
Fone: $_POST[fone]
Fax: $_POST[fax]
Email: $_POST[email]
Produto: $_POST[produto]
Origem: $_POST[origem]
Destino: $_POST[destino]
Quantidade: $_POST[quantidade]
Peso: $_POST[peso]
Comprimento: $_POST[comprimento]
Altura: $_POST[altura]
Largura: $_POST[largura]

it was filled in like this:
['empresa_name'] so i removed all the " ' " and it worked like a
charm.

Now the only problem left is the fact that the $notification_message
doesn't show the name of the contact.
What the sender now receives is the following:
"Obrigado por nos contatar, . Recebemos sua mensagem e entraremos em contato em 
breve";

as where it should be:
"Obrigado por nos contatar, name of contact. Recebemos sua mensagem e 
entraremos em contato em breve";


 
-- 
Best regards,
 Luc
_

Powered by The Bat! version 3.99.3 with Windows XP (build 2600),
version 5.1 Service Pack 2 and using the best browser: Opera. 


__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


[css-d] PHP and CSS - Styling Navigation

2005-08-18 Thread Richard Brown

Hi

I have a Wordpress site at



with the css at:



If you look at the navigation menu, the top three headings are styled 
correctly but the fourth header "pages", doesn't style as the others. 
Additionally, the item Bible is meant to be a header with the points 
underneath moved inwards slightly. I have read around about styling php 
menus but does anybody have an article that might help me? Or does 
anybody have any tips they could offer?


Thanks

Rich

__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] PHP and CSS

2005-05-13 Thread Brian V Bonini
On Fri, 2005-05-13 at 11:25, Sarah Atkinson wrote:
> Out of curiosity can you use PHP with in a CSS. Like maybe have a list of 
> background images located in a DB and PHP select and insert on into the CSS. 
> and possibly even have the user define things like font size, font color, 
> background color, and typeface. 
> Sarah 

Yes, do it all the time.
You nee to make sure you send the right Content-type header though.
Put this first thing at the top of your .css file, name the file
*.css.php and call it from your xhtml as such.




-- 

s/:-[(/]/:-)/g


BrianGnuPG -> KeyID: 0x04A4F0DC | Key Server: pgp.mit.edu
==
gpg --keyserver pgp.mit.edu --recv-keys 04A4F0DC
Key Info: http://gfx-design.com/keys
Linux Registered User #339825 at http://counter.li.org

__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] PHP and CSS

2005-05-13 Thread Christian Heilmann
On 5/13/05, tedd <[EMAIL PROTECTED]> wrote:
> >Out of curiosity can you use PHP with in a CSS. Like maybe have a
> >list of background images located in a DB and PHP select and insert
> >on into the CSS. and possibly even have the user define things like
> >font size, font color, background color, and typeface.
> >Sarah

Devarticles just published a roundup on that, here's my local copy
which is easier to read:

http://icant.co.uk/articles/cssconstants/


-- 
Chris Heilmann 
Blog: http://www.wait-till-i.com
Writing: http://icant.co.uk/  
Binaries: http://www.onlinetools.org/
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] PHP and CSS

2005-05-13 Thread tedd
Out of curiosity can you use PHP with in a CSS. Like maybe have a 
list of background images located in a DB and PHP select and insert 
on into the CSS. and possibly even have the user define things like 
font size, font color, background color, and typeface.
Sarah

Sarah;
Maybe this might help:
http://www.sperling.com/examples/pcss/
tedd
--

http://sperling.com/
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] PHP and CSS

2005-05-13 Thread Ken Robinson
Quoting [EMAIL PROTECTED]:
Sarah Atkinson wrote on 05/13/2005 10:25:55 AM:
Out of curiosity can you use PHP with in a CSS. Like maybe have a
list of background images located in a DB and PHP select and insert
on into the CSS. and possibly even have the user define things like
font size, font color, background color, and typeface.
Sarah
It's my understanding that this is not possible, unless the PHP is in your
.php document, as well as the CSS that is going to be altered.  Placing
PHP code in a .css file does no good unless your server knows the parse
.css files as PHP.  If that's the case, then I don't see why it couldn't
work in an external file, though I don't have the resources to test it
right now.
Actually, if you can set up your webserver to process you CSS files by PHP, 
it
is possible. You just have to output the correct header first.
See  for a good write-up 
about this.

Ken
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] PHP and CSS

2005-05-13 Thread Marko Locher
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Sarah Atkinson wrote:
> Out of curiosity can you use PHP with in a CSS. Like maybe have a list of 
> background images located in a DB and PHP select and insert on into the CSS. 
> and possibly even have the user define things like font size, font color, 
> background color, and typeface. 
> Sarah 
Of coure you can do this. There are two posibilities:
- - Inline Css, that's the way Brian wrote about, and
- - a separate stylesheet,
If you use a separate stylesheet, who can use a php document (for ex.
style.php) which gets parsed by the webserver, and then just include
this file from your main (x)html file. (either with @import or a link
tag, which ever you like more)

Marko

- --
Marko Locher
Kollegium Kalksburg
KKnet System Betreuung

[EMAIL PROTECTED]
http://www.kk.asn-wien.ac.at/kknet/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFChNQRyja8NOV8jDYRAr/UAJsHHcSIRVawmuv7pzEriSNzlHcaGACfVJ2A
KoBUvN9U7GE25kYkQG5Y+K4=
=8bVr
-END PGP SIGNATURE-
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] PHP and CSS

2005-05-13 Thread Jack Keller
Sarah Atkinson wrote:
Out of curiosity can you use PHP with in a CSS. Like maybe have a list of background images located in a DB and PHP select and insert on into the CSS. and possibly even have the user define things like font size, font color, background color, and typeface. 
Sarah 
 

You can actually do a style.php and format it like a document specific 
stylesheet but I think you then have trouble validating a stylesheet, 
well maybe not it would be included in a page like  and it would just look like this in the page:





And when the php file is rendered the databased info and dynamic stuff 
is of course not viewable to sneaky source readers.

Jack Keller | cell7.org
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] PHP and CSS

2005-05-13 Thread Brian Cummiskey
Brian Cummiskey wrote:
body { background: ; }
clearly, i meant echo, not echp
Happy Friday :)
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] PHP and CSS

2005-05-13 Thread Martin . C . Austin
Sarah Atkinson wrote on 05/13/2005 10:25:55 AM:

> Out of curiosity can you use PHP with in a CSS. Like maybe have a 
> list of background images located in a DB and PHP select and insert 
> on into the CSS. and possibly even have the user define things like 
> font size, font color, background color, and typeface. 
> Sarah 

It's my understanding that this is not possible, unless the PHP is in your 
.php document, as well as the CSS that is going to be altered.  Placing 
PHP code in a .css file does no good unless your server knows the parse 
.css files as PHP.  If that's the case, then I don't see why it couldn't 
work in an external file, though I don't have the resources to test it 
right now.
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] PHP and CSS

2005-05-13 Thread Brian Cummiskey
Sarah Atkinson wrote:
Out of curiosity can you use PHP with in a CSS. Like maybe have a list of background images located in a DB and PHP select and insert on into the CSS. and possibly even have the user define things like font size, font color, background color, and typeface. 
Sure.  php runs on the server, and thus, will populate the varibles into 
the Style part of your tags before the page is exported as (x)html.

for example:



body { background: ; }

.
.
.


on the browser, you will only see the generated css/html.

body { background: #fff; }

for the pagename of "home"
and

body { background: #ccc; }

for all other page names.
HTH
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


[css-d] PHP and CSS

2005-05-13 Thread Sarah Atkinson
Out of curiosity can you use PHP with in a CSS. Like maybe have a list of 
background images located in a DB and PHP select and insert on into the CSS. 
and possibly even have the user define things like font size, font color, 
background color, and typeface. 
Sarah 
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/