Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-06-09 21:11:45

KAES
New Member
Registered: 2010-06-09
Posts: 3

Page resize with dynamic content.

I am new to txp as this is my first site. I am finding that loading content dynamically isn’t registering with the browser to show a scroll bar…? My long articles just get cut-off. This is no bueno. :(

The main container, which is what I need to register in the browser is positioned absolutely and doesn’t have height assigned. The container does resize with its children but the browser doesn’t load a scroll bar and just cuts the content off. Is there some javascript I need or is this a simple problem I just can’t seem to figure out…?

Any help is greatly appreciated.
Thanks

Offline

#2 2010-06-10 03:22:39

KAES
New Member
Registered: 2010-06-09
Posts: 3

Re: Page resize with dynamic content.

Here is a link to the site.

http://intervention.org/educate/

Offline

#3 2010-06-10 05:46:16

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Page resize with dynamic content.

KAES wrote:

The main containe [..] positioned absolutely

Absolutely positioned elements do not effect other elements. This means that parent elements are not expanding with the absolute element (there will be no scrollbars).

The answer is easy; do not use position:absolute;, instead position the main container with paddings and margins if you have to.

Offline

#4 2010-06-10 11:59:55

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,305

Re: Page resize with dynamic content.

Clean up your code! You’ve not closed header and headercontainer, footer inside container, body tags inside head, etc.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#5 2010-06-10 12:01:18

KAES
New Member
Registered: 2010-06-09
Posts: 3

Re: Page resize with dynamic content.

Wow. That was it.
Simple fix. Can’t believe I didn’t close those tags.
Thanks

Last edited by KAES (2010-06-10 12:03:49)

Offline

Board footer

Powered by FluxBB