PDA

View Full Version : CSS help



cunning
26-07-2008, 04:15 PM
http://www.tehupload.com/uploads/5693e81ff23fcf2helpzdf.PNG (http://www.tehupload.com/share/286)http://uploadpicz.com/images/VPHIJXV.png

I added that height at 500 something, but I put it at auto and it still didn't stretch when I did that. I never had a problem with this until now, let me know what I'm doing wrong.

Moved by Invent (Forum Moderator) from Designing & Development: Please post in the correct forum next time, thanks :).

wsg14
26-07-2008, 04:17 PM
Could you explain some more, you're saying that it's not expanding when the image shows it expanding?

cunning
26-07-2008, 04:21 PM
It's overlapping when the other boxes expand.

I want the image in the back to expand when the boxes move, insteading of overlapping like in the image.

wsg14
26-07-2008, 04:21 PM
So you want that grey box to move down as the white box expands?

cunning
26-07-2008, 04:25 PM
No, I want the white box which has text in it to stay inside that box. The grey is jus the background. I'm not worried about the background. I also give you +rep for commenting.

wsg14
26-07-2008, 04:27 PM
No, I want the white box which has text in it to stay inside that box. The grey is jus the background. I'm not worried about the background. I also give you +rep for commenting.

Egh, I'm confused.

So you want the white box to stay inside the grey?

Tom-743
26-07-2008, 04:28 PM
Do you mean that you want the grey to be after the end of the box? If you do then add clear: both; to it.

cunning
26-07-2008, 04:35 PM
This will show you a better understanding of what I'm talking about:
http://uploadpicz.com/images/RW8IY6I.png

wsg14
26-07-2008, 04:38 PM
To the grey box's CSS add: clear: both;.

Tom-743
26-07-2008, 04:39 PM
This will show you a better understanding of what I'm talking about:
http://uploadpicz.com/images/RW8IY6I.png
Read my post above :P I just told u how to fix it.

cunning
26-07-2008, 04:40 PM
Yeah, it worked in IE, but not in firefox.

wsg14
26-07-2008, 04:42 PM
Try adding overflow: hidden; to it as well.

cunning
26-07-2008, 04:45 PM
Thanks, that worked, I gave both you guys +rep.

Thanks for helping me out!

Want to hide these adverts? Register an account for free!