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
Problem related to view of resource within webpage.
Moderator: General Moderators
-
aapkamanoj
- Forum Newbie
- Posts: 1
- Joined: Mon Apr 19, 2010 1:08 am
-
cpetercarter
- Forum Contributor
- Posts: 474
- Joined: Sat Jul 25, 2009 2:00 am
Re: Problem related to view of resource within webpage.
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.