Page 1 of 1

Problem related to view of resource within webpage.

Posted: Mon Apr 19, 2010 1:20 am
by aapkamanoj
Hi All,

In one of my project I am storing the content of specific URL's in database. Later it is to be displayed within my project web page.
Whenever I am displaying it in my web page using "echo" ( as a requirement to show browser view of that resource stored in database), style ( css ) of child page is overriding my current web-page.

Please help me and suggest better approach to handle this task.

Thanks in advance.

Manoj
Mumbai, India

Re: Problem related to view of resource within webpage.

Posted: Mon Apr 19, 2010 1:37 am
by cpetercarter
Is there in-line css in the child page ie are there html tags with "style="...." attributes? If so, they will always override the css of the parent. You will need a regex to remove the style elements from the html of the child page before displaying it.