Topic: Float left for column look (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: New Jersey, USA |
posted 02-16-2006 03:20
The title sucks but I just couldn't describe what I want in that little |
Bipolar (III) Inmate From: Australia |
posted 02-16-2006 04:18
Thats a bit of a tricky ask... floating works how it works so you can't change that. For it to work how you want it to work your floating elements need to be the same height - so you should aim for a way to do that - which again is not an easy task. |
Maniac (V) Inmate From: raht cheah |
posted 02-16-2006 04:36
^that's what I'm trying to figure out as well, not sure exactly what you're after. Being able to specifiy height and width, or max-height and max-widths would be helpful (if not madatory to get it to work proper) if you're able, made me wonder what the actual content inside the DIV was going to be. |
Bipolar (III) Inmate From: Australia |
posted 02-16-2006 14:56
hey i havnt looked into this but does css have any sort of if statements? like if something do something? Im not aware of it and wouldnt expect it but who knows |
Paranoid (IV) Inmate From: New Jersey, USA |
posted 02-16-2006 21:36
Thanks for the replies guys. code: .container { margin-left: auto; margin-right: auto; }
|
Bipolar (III) Inmate From: College Station, TX |
posted 02-17-2006 02:07
I'm afraid I haven't quite followed the entire discussion but the last question seems simple enough. You should just be able to set the widths the column divs to a percentage. That will take into account the size of the browser window and adjust accordingly. |
Paranoid (IV) Inmate From: New Jersey, USA |
posted 02-17-2006 03:26
Spyx |
Maniac (V) Inmate From: Sthlm, Sweden |
posted 02-21-2006 10:34
Butcher, have you tried to use a percentage for your margin-left of the fixed width floated elements then? |