SitePoint Sponsor

User Tag List

Results 1 to 8 of 8

Thread: re-size forms?

  1. #1
    SitePoint Addict
    Join Date
    Dec 2001
    Posts
    395
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    re-size forms?

    Hi I trying to make my textboxes to a smaller width. Like right above here when it says "insert and image in your message" I want to change the font and make the width smaller. Plz help me

  2. #2
    SitePoint Addict
    Join Date
    Dec 2001
    Posts
    395
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    ooops

    I mean a smaller height. plz help

  3. #3
    SitePoint Wizard silver trophy redemption's Avatar
    Join Date
    Sep 2001
    Location
    Singapore
    Posts
    5,269
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    do you use CSS? if so you can change your input style properties...
    Code:
    input{
    	color: #587389;
    	background-color: #FAFAFA;
    	font-size : 11px;
    	font-weight : bold;
    }

  4. #4
    SitePoint Addict
    Join Date
    Dec 2001
    Posts
    395
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    wow

    very nice mentor...what if I want to use different styles tho for different ones?

  5. #5
    SitePoint Addict
    Join Date
    Dec 2001
    Posts
    395
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    another question

    that works for textboxes but what about comment boxes and selection boxes?

  6. #6
    SitePoint Wizard silver trophy redemption's Avatar
    Join Date
    Sep 2001
    Location
    Singapore
    Posts
    5,269
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    just add it like this... btw you can do this using a <style> tag too but i'd recommend you use CSS instead to separate formatting from content/code:
    Code:
    input,textarea,select {
    	color: #587389;
    	background-color: #FAFAFA;
    	font-size : 11px;
    	font-weight : bold;
    }

  7. #7
    SitePoint Wizard
    Join Date
    Oct 2001
    Location
    Tucson, Arizona
    Posts
    1,858
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by redemption
    btw you can do this using a <style> tag too but i'd recommend you use CSS instead to separate formatting from content/code
    Using the <style> tag is using CSS, though...

  8. #8
    SitePoint Wizard silver trophy redemption's Avatar
    Join Date
    Sep 2001
    Location
    Singapore
    Posts
    5,269
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    oops let me rephrase that as "a CSS file" instead... you know what i mean


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •