Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-02-08 07:30:50

roelof
Member
Registered: 2005-03-27
Posts: 647

div height question [solved]

Hello,

I have a div with a background image with a height of 750px.
So in the css I did height : 750px. But still the div stops if the text stops.

What did I do wrong here ?

Roelof

Last edited by roelof (2010-02-08 13:09:31)

Offline

#2 2010-02-08 07:44:32

SuMu
Member
From: Germany - Wuppertal
Registered: 2008-03-06
Posts: 242
Website

Re: div height question [solved]

hi

try this:

div # {min-height:750px;
height:auto !important;
height:750px;}

viele Grüße
SuMu

Psychomuell + blogZicke

Offline

#3 2010-02-08 07:51:38

roelof
Member
Registered: 2005-03-27
Posts: 647

Re: div height question [solved]

Hello,

I tried it but no luck.
You can see it at http://test.tamarawobben.nl

Roelof

Offline

#4 2010-02-08 08:51:45

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

Re: div height question [solved]

roelof wrote:

I tried it but no luck.

You applied styles to a wrong div. The image is set to #content but your height definitions are on parent #container.

Offline

#5 2010-02-08 13:09:13

roelof
Member
Registered: 2005-03-27
Posts: 647

Re: div height question [solved]

GoCom,

Thank you. it works now fine.

Roelof

Offline

Board footer

Powered by FluxBB