in reply to Re: Create and get rid of frames page with Perl
in thread Create and get rid of frames page with Perl

It is currently inline. The top 'frame' holds a small form and the bottom 'frame' holds a web page. The problem with this is that CSS on the web page is applied to the top 'frame' when it is inline. Use base solves the relative link issue but I could not stop the application of the CSS reliably. I just posted a pure Perl solution at Break into and out of frames pages with Perl CGI using _top

I don't know if I will actually use it as I am not much of a frames fan either.

cheers

tachyon

s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

  • Comment on Re: Re: Create and get rid of frames page with Perl

Replies are listed 'Best First'.
an aside about css that might help
by thpfft (Chaplain) on Mar 29, 2003 at 20:11 UTC

    css2 allows you to change the rule applied to an element according to the context in which you find it. eg. a rule in the form:

    li em { ... }

    affects only em tags that are immediately contained by li tags. usefully, it works with ids as well as classes. If your original problem is that the formatting needed for the whole page is wrong for one or two elements in the header, then something in this form might work:

    p { padding: 10px; ... } #header { border 1pt solid black; ... } #header p { padding: 0; ... }

    or it might not. You know. Just in case.

    All of which is heading pretty energetically away from the topic, but we could call it the mcfly method: travel back in time far enough and change something to make the problem go away :)