Reply to Re: CSS and PHP

Your name:

Reply:


Posted by Rik on 10/26/06 19:54

IchBin wrote:
> For this particular group of scripts I am not using any templating.
> I should have been clearer. Guess my question was not about the
> natures
> of CSS\HTML\PHP. I understand those.
>
> Looking for tips on usual way to tightly couple them to my advantage.
> PHP is not linked to CSS but they can be tightly coupled. PHP works on
> the server side but can also present the client side presentation. In
> this presentation I wanted to interlace HTML, CSS and PHP code.

So? Make your CSS (either dynamic with PHP, or a static CSS file), spit out
the HTML with PHP, et voilα.

> Is this a viable approach? I realize their are no standards in PHP but
> their must be more efficient ways, that have floated to the top, to
> approach what I am trying to do..? Or is this the right approach?

We're not sure what you're trying to do. You have a couple of pages, with
HTML output from PHP, and want to use CSS for them. There is no difference
in static/dynamic output as soon as it's at the client....

> This maybe a basic html/css issue but when I tightly couple it with
> PHP I see questions?

WHAT do xou couple with PHP? HOW? It's pretty much a one way street PHP ->
HTML (possibly CSS), that's not a coupling IMO.
--
Rik Wasmus

[Back to original 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

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация