Subject: CSS and frameset capabilities
Posted By: paragon Post Date: 11/30/2005 11:58:14 AM
Looking for advice on proper syntax in CSS to execute a frameset function on xhtml web-page.
Ex: CSS: div#div1 {elements } div#div2 {elements } etc.
    xhtml: set as Doctype..frameset
    xhtml body: <div id='div1'>
    <p  id='f3' /><a href='file.htm':target='div2'>some name</a>
    </div>
    <div id='div2'></div>
I need the (file.htm) page to display within the (div2 tag). The same as it would using the Frameset (target='frame2') function in html.



Reply By: richard.york Reply Date: 1/11/2006 1:08:55 PM
There is nothing in CSS that does this.  You'd have to take the content out of file.htm and place it in "div2", and perhaps apply an overflow: auto in addition to positioning to create a frame-like effect.

Regards,
Rich

--
[http://www.smilingsouls.net]
Mail_IMAP: A PHP/C-Client/PEAR solution for webmail
Author: Beginning CSS: Cascading Style Sheets For Web Design

Go to topic 37628

Return to index page 398
Return to index page 397
Return to index page 396
Return to index page 395
Return to index page 394
Return to index page 393
Return to index page 392
Return to index page 391
Return to index page 390
Return to index page 389