We use PHP include files to add news items to three separate pages on our website. The include files are very simple html using only <H1>, <UL>. and <LI> and <P> attributes.
We are reusing some of the same include files on our home page with hyperlinks to the actual news pages:
<div class="newsitem1">
<a href="br.php?pg=Community_News">
<?PHP
require ('pages/news/!news_community1.inc')
?>
</a>
</div>
It works like a charm but does not validate. We tried using the <OBJECT> attribute to fetch the !news_community1.inc file, but the hyperlink does not work and the html does not inherit the home page's CSS attributes.
You can see the home page here:
http://www.beitrayim.org/index.php
Can anyone suggest a way to allow us to reuse the news items, have them hyperlink to the source page, display properly, and use proper HTML 4.01 coding?
thanks,
Brian