View Full Version : Skinning php scripts

04-17-2004, 05:33 AM
Does anyone know how to skin a php script...my m8 coded up a news script and a poll script but they're ruff and I want them to match a layout my m8 did in ps and flash...well if anyone knows please lemme know.

04-17-2004, 08:22 AM
Welcome here !

PHP just outputs HTML, Javascript, XML or whatever you wan't to send to the client. So applying a layout to it is just the same as when you hardcode it. The only differnce is that you can use PHP to dynamically inject content into your HTML template, or to compose your HTML. You can then just apply your existing CSS to it.

04-17-2004, 11:44 PM
have you ever worked with photoshop slicing and coding? the script i have now is raw and has a white bg and a lot of stuff that wouldnt look good in the layout i have...i want it to match it...any idea how?

04-18-2004, 07:13 PM
You'll have to modify the HTML the script outputs. If it's a white background, I doubt it was specified specifically to be white, but if it is, you'll see background="white" somewhere in the script.