Page 1 of 1

[solved] News Module display in an iframe? [solved]

Posted: Mon Mar 05, 2007 8:16 pm
by theothersimon
Hi All,

Has anyone set up the News module so that it runs in an iframe within a template ?
I want to restrict the space the News takes up by having a scollable iframe pane to contain it.

I keep thinking this must be really quite easy but I cant quite see how to do it?

Anyone got any pointers / ideas ? Please bear in mind I am proficient in html / css but my php sucks..

:)

S

Re: News Module display in an iframe?

Posted: Mon Mar 05, 2007 8:27 pm
by cyberman
theothersimon wrote: I want to restrict the space the News takes up by having a scollable iframe pane to contain it.
There's an easier solution - place news module call inside a div, set a fix height for this div and style it with CSS

Code: Select all

overflow: auto;

Re: News Module display in an iframe?

Posted: Mon Mar 05, 2007 9:39 pm
by theothersimon
Cyberman, thankyou.

I dont know why I didnt think of this myself! Perfect solution.
I was thinking way too complicated!