SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
Thread: expanding a DIV
Hybrid View
-
Jun 19, 2006, 10:26 #1
- Join Date
- Mar 2006
- Posts
- 60
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
expanding a DIV
Hi all
Can anyone pls. tell me how can i expand my div tag horizontally. I have tried using height only without any width for the DIV... but it didnt work. I want my DIV to expand horizontally according to the text entered in the DIV.
Anyone kindly solve this issue
Pls check the below link
http://demo.animatingminds.com
I want my username bar to expand and contract according to the number of characters entered.
thanks in advance
venkat
-
Jun 19, 2006, 10:59 #2
- Join Date
- Nov 2004
- Location
- London
- Posts
- 248
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Think your best bet would be to contain the username within a div... then change its display to:
display: inline
Bookmarks