8 replies [Last post]
Razer
Razer's picture
Offline
Enthusiast
Thamel
Last seen: 11 years 35 weeks ago
Thamel
Timezone: GMT+5.75
Joined: 2007-07-01
Posts: 94
Points: 5

is there any code which works like a behavior:overflow;

I want to make the box height according to content of the box

Tags:
CupidsToejam
CupidsToejam's picture
Offline
Guru
Florida
Last seen: 6 years 19 weeks ago
Florida
Timezone: GMT-4
Joined: 2008-08-15
Posts: 2637
Points: 1556

you want the box to grow and

you want the box to grow and shrink depending on the content? Just dont give a height.

Razer
Razer's picture
Offline
Enthusiast
Thamel
Last seen: 11 years 35 weeks ago
Thamel
Timezone: GMT+5.75
Joined: 2007-07-01
Posts: 94
Points: 5

yeah but I donot want to

yeah but I donot want to keep overflow property on css. I want to control from different way any idea please reply

CupidsToejam
CupidsToejam's picture
Offline
Guru
Florida
Last seen: 6 years 19 weeks ago
Florida
Timezone: GMT-4
Joined: 2008-08-15
Posts: 2637
Points: 1556

i just told you! Dont use

i just told you! Dont use overflow at all and dont set a height.

Razer
Razer's picture
Offline
Enthusiast
Thamel
Last seen: 11 years 35 weeks ago
Thamel
Timezone: GMT+5.75
Joined: 2007-07-01
Posts: 94
Points: 5

yah neither I want to use

yah neither I want to use height nor overflow:hidden property. But with out overflow:hidden the content doesnot expand and shrink according to content especially on this format please see my attachment

Deuce
Deuce's picture
Offline
Guru
Somewhere, USA
Last seen: 4 years 27 weeks ago
Somewhere, USA
Timezone: GMT-5
Joined: 2005-11-20
Posts: 4424
Points: 1843

You are forcing us to take

You are forcing us to take random stabs in the dark.
Why not provide us a link or at the very least all of your code?

all » http://dictionary.reference.com/browse/all

Google isn't a bunch of guys reading and grading web sites, it's more like a bunch of monkeys sniffing food and putting the good bananas at the top. -Triumph

Razer
Razer's picture
Offline
Enthusiast
Thamel
Last seen: 11 years 35 weeks ago
Thamel
Timezone: GMT+5.75
Joined: 2007-07-01
Posts: 94
Points: 5

For clarity please check

For clarity please check this link
www.rajmaharjan.com.np/test.html

Deuce
Deuce's picture
Offline
Guru
Somewhere, USA
Last seen: 4 years 27 weeks ago
Somewhere, USA
Timezone: GMT-5
Joined: 2005-11-20
Posts: 4424
Points: 1843

Razer wrote:For clarity

Razer wrote:

For clarity please check this link

http://gtwebdev.com/workshop/floats/enclosing-floats.php

all » http://dictionary.reference.com/browse/all

Google isn't a bunch of guys reading and grading web sites, it's more like a bunch of monkeys sniffing food and putting the good bananas at the top. -Triumph

Razer
Razer's picture
Offline
Enthusiast
Thamel
Last seen: 11 years 35 weeks ago
Thamel
Timezone: GMT+5.75
Joined: 2007-07-01
Posts: 94
Points: 5

Thanks I will try it

Thanks I will try it