Log in

View Full Version : another 100% height problem



Katy
04-10-2008, 08:41 PM
I seem to have similar problem to
http://www.dynamicdrive.com/forums/showthread.php?t=31290

except with the left hand column instead of content.
http://www.equinepainting.co.uk/test.htm
I'd like the left column to extend to same height as content - or to total height of screen.

As you'll probably recognise I'm at the moment borrowing bits of code from the examples here. Which otherwise work great.

height 100% doesn't do anything to it - trying to use absolute positioning makes the left column disappear altogether! the web page is using
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
which seems to be right thing for 'height' to work according to other thread...?

any ideas?

Medyman
04-10-2008, 08:57 PM
Use the faux columns (http://www.alistapart.com/articles/fauxcolumns/) technique.

Katy
04-10-2008, 09:15 PM
ah thanks, think I might have got a working variation based on that idea :)

background colour of page same colour as buttons/ left column and my content in table which has background image filling in the gap - looks OK so far.... (I think I'm stuck with table for that part anyway as its a bit beyond me to layout in CSS!)

thanks for help, I've stopped banging head against brick wall getting the CSS element to expand now!