|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
comparison - css, php
Hi. I was just wondering if I should bother learning css. basically, I was wondernig - is it possible to change form colors, table borders etc... using php like in css?
thanks |
|
#2
|
|||
|
|||
|
php is a dynamic content creator and basically just spits out html (usually). unless you are getting the values from somewhere (ie database) and putting them as the style inside you php it is smarter to go with css. css is located in one text based file. you can easily manipulate the style of all pages by changing only one page.
i would suggest you learn CSS ![]()
__________________
Programmer's Corner |
|
#3
|
||||
|
||||
|
I second the "learn CSS" notion. There's a multitude of benefits that I'm not going to go into b/c a quick Google search or forum search will reveal them.
You cannot change the color of anything using PHP (barring image manipulation); you can only use PHP to generate HTML (or style definitions) which in turn change the color of the object.
__________________
# Jeremy Explain your problem instead of asking how to do what you decided was the solution. |
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > comparison - css, php |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|