4WebHelp
 FAQ  •  Search  •  User Groups  •  Forum Admins  •  Smilies List  •  Statistics  •  Rules   •  Login   •  Register
Toggle Navigation Menu

 Textbox without a border and 17px tall
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic
Author Message
Kdawg
Senior WebHelper
Senior WebHelper


Joined: 21 Apr 2003
Posts: 153

PostPosted: Sat May 17, 2003 4:13 am (20 years, 11 months ago) Reply with QuoteBack to Top

is there anyway to make a small textbox preferably without a border. I need a textbox that is 17 pixels tall but I can figure out how to do it.
OfflineView User's ProfileFind all posts by KdawgSend Personal Message
Daniel
Team Member



Joined: 06 Jan 2002
Posts: 2564

PostPosted: Sat May 17, 2003 7:17 am (20 years, 11 months ago) Reply with QuoteBack to Top

Code:
<textarea name="whatever" style="height: 17px; border: 0px"></textarea>


Does that do it?

________________________________
Image
OfflineView User's ProfileFind all posts by DanielSend Personal Message
Kdawg
Senior WebHelper
Senior WebHelper


Joined: 21 Apr 2003
Posts: 153

PostPosted: Sat May 17, 2003 4:47 pm (20 years, 11 months ago) Reply with QuoteBack to Top

I changed it to this
Code:
<input type="textbox" name="whatever" style="height: 17px; border: 0px">

because textarea gave it scroll bars, but thanks a lot for the
Code:
style="height: 17px; border: 0px"

part because this is what I was looking for.
OfflineView User's ProfileFind all posts by KdawgSend Personal Message
Kdawg
Senior WebHelper
Senior WebHelper


Joined: 21 Apr 2003
Posts: 153

PostPosted: Sat May 17, 2003 7:07 pm (20 years, 11 months ago) Reply with QuoteBack to Top

Can I also change the text size of the textbox?
OfflineView User's ProfileFind all posts by KdawgSend Personal Message
Daniel
Team Member



Joined: 06 Jan 2002
Posts: 2564

PostPosted: Sat May 17, 2003 7:23 pm (20 years, 11 months ago) Reply with QuoteBack to Top

Code:
style="height: 17px; border: 0px; font-size: 15px"


Replace 15 with the size you want Smile.

________________________________
Image
OfflineView User's ProfileFind all posts by DanielSend Personal Message
Robert Wellock
WebHelper
WebHelper


Joined: 18 Jan 2002
Posts: 61
Location: Yorkshire - UK

PostPosted: Mon May 19, 2003 4:37 pm (20 years, 11 months ago) Reply with QuoteBack to Top

Out of interest when working with the <textarea> element you could have chosen the CSS; {overflow: hidden;} if you wanted to loose the scrollbars.

________________________________
};-) http://www.xhtmlcoder.com/
OfflineView User's ProfileFind all posts by Robert WellockSend Personal MessageVisit Poster's Website
Display posts from previous:      
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic


 Jump to:   




You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot edit your posts in this forum.
You cannot delete your posts in this forum.
You cannot vote in polls in this forum.


Page generation time: 0.176693 seconds :: 19 queries executed :: All Times are GMT
Powered by phpBB 2.0 © 2001, 2002 phpBB Group :: Based on an FI Theme