View Full Version : Php + Css
Nooky
11-04-2006, 04:58 PM
Hi, well , i need know if i can use php scripts with css , for example i got a menu, when i choose one section , this section load in the main for this i use a php script, actually i use 3 columns.
Thx
Yours Nooky~
jscheuer1
11-04-2006, 05:52 PM
PHP and css are compatible but separate. If you have css style on or linked to the page, your PHP content on that page will use it. Tags in your PHP generated code will follow the css style rules of the page selected for them. You can also write your PHP to give certain elements certain class names or to give an element an id and have style rules for those selectors. Using PHP to include a stylesheet's link on a page has varying results but, if done in the head of a document before any other content is parsed and/or included, should work.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.