PDA

View Full Version : How to make element fill the parent ?


SlavaTT
04-11-2004, 09:44 AM
Hello

I have a div which has some fixed size.
It has a span and image inside.
How can I specify to span to fill remaining after image width space ?

Thanks

Slava

kansel
04-12-2004, 08:26 PM
Spans are inline elements, they will not expand naturally. If you post some code to show us what you are trying to do, maybe we can come up with a better solution.

SlavaTT
04-13-2004, 12:12 AM
OK, I see I need to read more on css.