123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|407|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Web Development -> Is this possible with CSS?

Tue, 14 Jul 2009, 12:20
Spare
I haven't been able to figure out how to get this working. Does anyone know if this is actually possible? I've shown the idea on a paint drawing:


Tue, 14 Jul 2009, 12:36
Jayenkai
Yeah, if you have the area as 95%, then within that 200px, whatever's left should automatically take up the remaining space of the 95%

But, as we've seen, Firefox is being twitchy about that, lately. "Width:Auto" should do it, but it's been doing "As little as possible" as opposed to "All that's left"..
annoyingly..

There's a "Moz-max-width" or something to that effect, but then you've got odd leftover things in other browsers.. Very messy, and not what it oughta be.
tsk, tsk.

I'll leave the actual css to others, for now, 'cos I can't be bothered doing all that whilst at work

-=-=-
''Load, Next List!''
Tue, 14 Jul 2009, 13:12
Phoenix
I'm 100% sure it's possible, but I can't give any examples right now. Try it out, see if you can figure it out yourself first.
Tue, 14 Jul 2009, 13:12
Spare
Yep the auto thing did the job, thanks