PDA

View Full Version : Extenable Div HELP!



Puma
03-01-2007, 07:22 PM
anyone know how to code a extenable Div? willing to pay paypal

Luckyrare
03-01-2007, 08:17 PM
<div></div>

mmm.? errm

Puma
03-01-2007, 09:41 PM
LMAO.. that wrong mate.. nice try tho

F32
03-01-2007, 10:10 PM
#YOURDIV {
width: 25&#37;;
padding-bottom: 1000px;
margin-bottom: -1000px;
height: 100%;
}

[..x..-Lengthens-..x..]

Luckyrare
07-01-2007, 09:14 PM
LMAO.. that wrong mate.. nice try tho

Nope it is "extenable". As long as you dont put height in the style it is.

Mentor
07-01-2007, 09:22 PM
Technicaly a div is set to 100&#37; width by defult, span on the other hand will only fit to the content placed in it when used.

<div>stuff</div>

will exspand verticaly.

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