PDA

View Full Version : height: auto with float - NOT WORKING


Mejse78
10-21-2012, 12:43 PM
hi, there.
I'm starting to work on websites again... and I'm lost on this one.

What can I do, to make the auto height work, when some of the content is float: right ??
It's really frustrating....

You can see the page here: MY page (http://www.stavtrupscenen.dk/billetter.html)
And click on Aktuel Forestilling on the right side menu.

I've tried some overflow:hidden and position:relative...
But I'm lost in where I should put it... and really need help to figure this out.

Hope you can help.

Mejse78
10-21-2012, 12:52 PM
What's the HTML to this?
3 collums - 3 floats (http://matthewjamestaylor.com/blog/equal-height-columns-cross-browser-css-no-hacks)

domedia
10-21-2012, 11:39 PM
#textramme -> add this:
height: 1%;
overflow: hidden;
--
Then do not float all the elements inside it, no need. And you also have #textramme twice on the page.

Than go through and fix these errors:
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.stavtrupscenen.dk%2Fbil letter.html&charset=%28detect+automatically%29&doctype=Inline&group=0

.

domedia
10-21-2012, 11:39 PM
What's the HTML to this?
3 collums - 3 floats (http://matthewjamestaylor.com/blog/equal-height-columns-cross-browser-css-no-hacks)
What do you mean?