-
Need help with auto expanding a div text box
I know this can be done, but I am stumped.
I am creating a form with a title tab, and I want to be able to type in the title text, and the tab will expand to 10px bigger than the text.
Currently I have my tag at a fixed size to fit the text, however, this will be reused throughout a site, and I don't want to change styles, or use inline styles.
I also can't get my background color to show, but that is a side point.
I attached my files if anyone wants to take a stab at it.
thanks!
-
-
never mind with the background colors, I had color in the td tags, duh.
I'm still trying to figure out the best approach to expand the text box.
thanks for any advise.
J
-
-
put 10px padding on the bottom of the text.
padding-bottom:10px;
There will always be 10px space after the last line of text.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks