
October 14th, 2003, 05:26 PM
|
|
Registered User
|
|
Join Date: Jul 2003
Posts: 8
Time spent in forums: 3 h 18 m 14 sec
Reputation Power: 0
|
|
|
Importing a PHP/css site into Dreamweaver
I've created a site that uses PHP and CSS. Basically each page imports the header, side bar nav and footer in and also uses (external) css linked in the header with different css for printing and the screen.
The monthly newletter page (newletter.php) uses PHP to determine which newsletter should included (for example news200310.inc in October). November (new200311.inc) can be put up on the web and will automatically be shown in November
I want to have someone else use Dreamweaver to edit the newsletter. But when I look in Dreamweaver MX 2004, the newsletter page (news200310.inc for example) doesn't know about the css. Dreamweaver thinks news200310.inc is plain text (it contains only stuff that goes between the body tags, in fact, is inside a div), is there a way around this? We want to be able to see as it is edited what the page will look like and bring along the css styles (mostly p.xx classes).
The situation is a bit more complex than this, but I think this captures the problem. Up till now the site is done with a BBEdit on a Macintosh, but the Dreamweaver would be run on a PC.
Thanks for any advice. The current results can be seen at sbmbc.com.
|