PDA

View Full Version : integrate and change font properties with PHP



oates151
July 31st, 2008, 10:01
I'm using the software Comdev Newspublish 4.1.4. I'm having issues with integration. When I use:


include($path["docroot"]."newspublish/home.news.php");

it shows up as: www.surgefm.com/news.php

It seems to take some of the text properties from the settings I put together in dreamweaver. I have no clue how to edit the CSS for this - should I be looking to edit some sort of CSS file in the newspublish directory? Or can this be edited by adding some sort of <style> tag? I'm looking to change the hyperlink colors along with the font size.

Thanks guys,

-Pat

Dynash
July 31st, 2008, 11:31
use define.



<?php

define('DOC_ROOT', (__FILE__)'/');
include(DOC_ROOT. 'newspublish/home.news.php');

?>


also, you wouldn't edit the CSS since that is PHP. $path['docroot'] is a var set somewhere inside the PHP files on the script. the CSS to change the hyperlinks and sizes are easy, for the hrefs you use the a:hover etc vars in CSS, go onto W3C school's website to read on it, or just Google.