Hi,

We are in the midst of editing a web site that was built in PHP. Since there are numerous pages, we want to use CSS (Cascading Style Sheets).

But!! The code is written this way within PHP tags:

<?php

$wnd->AddRow("Accessing Tracking Management");
$wnd->AddPwdBox("userpwd", "<b>Password</b>", "30");
$wnd->EndForm("Login", "Clear");
?>

These are textboxes and Button I've included as reference. Also note that we have an include file as Header and I am attaching the CSS file within the <HEAD> tags.

Now, how do I write Style Sheets to this PHP code? Help appreciated!

Thanks in advance.

Kamran Paracha
www.pexsol.com

    well i presume those bits you've given are calling functions that generate the HTML for those various bits - text boxes, rows in a table, that sort of thing. So you need to look at the function definitons and see exactly what HTML they're generating, nad then write the CSSs for that.

    But i cant imagine it'd be anything more exciting than tables and textboxes as standard - but you will have to look to see if there are any classes defined (and if not then add your own so the css works nicely)

      Write a Reply...