1.

Solve : Linking External Stylesheet in table cell?

Answer»

Hi,

I have two web pages each with their EXTERNAL stylesheet. I want ONE to be shown up inside other. I have used tables for the layout. In the LOWER HALF of the page I want the second page to appear. Now since I want the other page to appear in the page. I have placed all its contents in the a table cell on the first page. HOWEVER I want that table cell to inherit the styles defined in the stylesheet for the second page.

Is it possible to get your second external stylesheet to link to a particular cell and not the entire page which would be using its own stylesheet.

I have attached a JPEG IMAGE for your reference.

Thanks.



[attachment deleted by admin] Quote

I want one to be shown up inside other. I have used tables for the layout. In the lower half of the page I want the second page to appear.
What do you mean? Like a frame?

Quote
Is it possible to get your second external stylesheet to link to a particular cell and not the entire page which would be using its own stylesheet.
No, it's not. Why not just added classes or IDs to the table elements? Quote from: rseni on August 22, 2009, 11:10:15 AM
I have two web pages each with their external stylesheet. I want one to be shown up inside other.
Yep, frames would be the way to do that.

Quote from: rseni on August 22, 2009, 11:10:15 AM
However I want that table cell to inherit the styles defined in the stylesheet for the second page.

Is it possible to get your second external stylesheet to link to a particular cell and not the entire page which would be using its own stylesheet.
Here's a reference which explains the three ways to insert CSS: http://www.w3schools.com/CSS/css_howto.asp.  You need to use inline styles elements for the table cell, which is basically what kpac is also saying.  Quote from: rseni on August 22, 2009, 11:10:15 AM
I have used tables for the layout

 

Is it 1999 again?

-rock


Discussion

No Comment Found