Jump to content


Photo

Definir O Tamanho De Um Button


  • Faça o login para participar
23 replies to this topic

#1 muek

muek

    Turista

  • Usuários
  • 26 posts
  • Sexo:Não informado

Posted 18/11/2005, 07:03

Eu sei que essa dúvida pode parecer meio boba mas... como é que eu posso definir o tamanho de um button??? Já estive usando as propriedades size (<input type="button" value="Novidades" size="70">) e width (<input type="button" value="Novidades" width="70">), mas em nenhum dos casos resulta, o button se ajusta sempre ao número de caracteres que está no value!!

Muito Obrigado. ;)

#2 Alex Hiroshi

Alex Hiroshi

    Super Veterano

  • Ex-Admins
  • 4923 posts
  • Sexo:Masculino
  • Localidade:São Paulo - SP

Posted 18/11/2005, 07:56

Use um css...
No botão vc coloca uma classe..
class="tamanho"
depois vc cria a folha de estilos
<style>
.tamanho { width: 70px; }
</style>

Fórum WMO - Equipe de Desenvolvimento / Banco de Dados - Ex-Administrador

#3 Thales Medeiros

Thales Medeiros

    24 Horas

  • Usuários
  • 426 posts
  • Sexo:Não informado
  • Localidade:Juiz de Fora/MG
  • Interesses:Programação em geral. Programo em PHP, ASP, PERL, VB, Delphi, C/C++, Java e com banco d dados&lt;br&gt;&lt;br&gt;Gosto tb d ajudar. Se precisar d mim, basta postar uma msg no Forum! Se eu souber, te responderei...

Posted 18/11/2005, 07:57

Oi, muek! Tranqüilo?

Kra.. Pra se ajustar exatamente com o número de pixels desejado, só usando folha de estilo. Existem vários meios de se fazer usando folha de estilo, mas te mostrarei o inline:

<input type=button value=Novidades style="width:70">

Espero ter ajudado!

Um abraço,
Thales Medeiros.
Sucesso é ganhar dinheiro fazendo o que você faria de graça.

#4 GreyWolf

GreyWolf

    Mestre

  • Usuários
  • 674 posts
  • Sexo:Não informado

Posted 18/11/2005, 16:26

Só com CSS, mas é no IE que fica certo, nos outros browsers pode dar erro isso..

Setar um width com CSS e no firefox não adianta nada.

#5 Alex Hiroshi

Alex Hiroshi

    Super Veterano

  • Ex-Admins
  • 4923 posts
  • Sexo:Masculino
  • Localidade:São Paulo - SP

Posted 18/11/2005, 20:57

Não adianta usar o width do css no firefox? Claro que adianta, é igual =S
Fórum WMO - Equipe de Desenvolvimento / Banco de Dados - Ex-Administrador

#6 GreyWolf

GreyWolf

    Mestre

  • Usuários
  • 674 posts
  • Sexo:Não informado

Posted 19/11/2005, 02:29

Comigo não funfou, deu pau..
Ele só funciona com size="valor" no input mesmo ;P

Acho que era no firefox =]

#7 Alexx Ares

Alexx Ares

    Doutor

  • Usuários
  • 921 posts
  • Sexo:Masculino
  • Localidade:Santos - SP

Posted 19/11/2005, 03:23

faltou um px... :

<input type="button" value="Novidades" style="width: 70px">

:lol: (y)
||| PENSE NISSO ||| O ser humano, dizem, deve dormir 8 horas por dia. Isso equivale a 1 terço do seu dia dormindo. Agora imagine a seguinte situação: você, com 75 anos, prestes a morrer, olha para trás e percebe que dormiu 1 terço da sua vida, ou seja, 25 anos. Cara... 25 ANOS DORMINDO !!! Se você tem menos de 25 anos, simplesmente você vai dormir mais do que viveu até hoje!!! Pense nisso... e durma menos.

#8 GreyWolf

GreyWolf

    Mestre

  • Usuários
  • 674 posts
  • Sexo:Não informado

Posted 19/11/2005, 21:51

Pq não usas um size="tamanho" que é mais padrão? ;]

#9 Alex Hiroshi

Alex Hiroshi

    Super Veterano

  • Ex-Admins
  • 4923 posts
  • Sexo:Masculino
  • Localidade:São Paulo - SP

Posted 19/11/2005, 22:18

Pq isso não funciona..
Fórum WMO - Equipe de Desenvolvimento / Banco de Dados - Ex-Administrador

#10 GreyWolf

GreyWolf

    Mestre

  • Usuários
  • 674 posts
  • Sexo:Não informado

Posted 20/11/2005, 16:19

É, agora que vi que era um button e não um text =x~

#11 Miguceamma

Miguceamma

    MiguPenjisse

  • Usuários
  • 13201 posts

Posted 25/09/2017, 09:22

Compra Kamagra cialis buy online Get 20 Viagra
Viagra Mit 17 Vente Viagra Lyon online pharmacy Amoxicillin Causing Yeast Infection

#12 Miguceamma

Miguceamma

    MiguPenjisse

  • Usuários
  • 13201 posts

Posted 10/10/2017, 07:26

Macrobid How To Buy viagra prescription Vente De Cialis Propecia Hielo Apri Amoxil

#13 LarPhozyHah

LarPhozyHah

    Super Veterano

  • Usuários
  • 14515 posts
  • Sexo:Masculino
  • Localidade:San Miguel de Tucuman

Posted 10/10/2017, 09:51

Dapoxetina Ssri viagra online prescription Viagra Cuanto Tiempo Dura El Efecto Levitra Dosage En France

#14 wapedlok

wapedlok

    24 Horas

  • Usuários
  • 456 posts
  • Sexo:Feminino
  • Localidade:Veley Stream

Posted 10/10/2017, 12:32

Discounts! get it beauty products 2017 progect12.jpg Products which fall under this return policy can be returned domestically, as long as they are unused and in the original packaging. No questions asked! If a product that falls under this guarantee is found to be counterfeit, you will get a full refund (shipping costs included). buy.png READ MORE Alcatel Flash Plus 2 4G Phablet-187.14 $Women Boots 2016 Fashion Warm Snow Boots Ankle Winter Boots For Women Shoes Black Red Plus Size 41 42 ( 16.91 $)Original anytek at66a car dvr full hd novatek 96650 car camera recorder black box 170degree 6g lens supper night vision dash cam ( 68.22 $)Peruvian body wave 3 bundles 7a peruvian virgin hair body wave cheap unprocessed virgin soft peruvian human hair weave bundles ( 58.11 $)Movie Action Model Key Chain ( $1.39 )Cheerlux C6 LCD Projector 1200 Lumens 800 x 480 Pixels 1080P for Movies Education Home Theater 81.39$Kinglux 6 x 21 Roof BK — 7 Prism Laser Rangefinders with LCD Display 94.59$RingAll Star Hi Canvas Bosphorous Green Monochrome Sneaker ( 62.30 $)Ricky Martin — Vente Pa / Ca (Urban Remix)[Cover Audio] ft. MalumaFree shipping! upgraded b40 pro capacitor a118c novatek 96650 h.264 hd 1080p car dash camera video dvr optional gps hardwire ( 66.49 $)300 pcs climbing strawberry seeds big strawberry delicious fruit and vegetable seeds for home garden NO-GMO strawberry tree ( 0.51 $)Leonardo gray fabric and suede sneaker ( 147.00 $) D AcquaspartaBelle black and red patent leather ankle boot ( 454.70 $) Pierre HardyLenovo ZUK Z2 64GB ROM 4G Smartphone-320.98 $ 105bb.png
Discounts! best new makeup products 2017

progect12.jpg
Products which fall under this return policy can be returned domestically, as long as they are unused and in the original packaging. No questions asked!
If a product that falls under this guarantee is found to be counterfeit, you will get a full refund (shipping costs included).

buy.png

READ MORE
LED Door Warning Light With FOR AUDI Logo Projector For Audi A1 A3 A4 A5 A6 A7 A8 R8 Q3 Q5 Q7 TT 80 B5 B6 B7 B8 C5 C6 R8 A4L A6L ( 10.00 $)
Flower Pattern Band Rubber Strap for Xiaomi Miband / 1S ( $2.74 )
Grade 7a peruvian virgin hair straight 3 bundles human hair peruvian straight virgin hair 8 ( 45.00 $)
Sell crazy korean cosmetic secret tender wrinkle removal face cream 50g s230 ( 19.80 $)
Brand Antitheft Notebook Laptop Mochila Bag Backpack 15.6 Inch Waterproof For Men Women External USB Charge Computer Backpacks ( 48.57 $)
New 2016 women handbags leather handbag women messenger bags ladies brand designs bag bags Handbag+Messenger Bag+Purse 3 Sets ( 45.88 $)
Solar charger power bank 12000mah portable charging powerbank external battery chargers bateria externa for iphone mobile phones ( 25.86 $)
Drejer, Gans
High Quality Dots Printing Women Backpack PU Travel School Bag for Teenagers Leather Backpack Women Mochila Feminina Satchel ( 6.66 $)
Brennan, Uolter
Berlin black hat box small crossbody ( 1085.94 $) MCM
CHUWI LapBook Windows 10 Laptop ( 189.99 $)
PZOZ For iphone 4 Cable 30 pin Charger Adapter Original USB Cabel Fast Charger For iphone 4s iphone 4 s iphone 3GS iPad 2 3 ( 1.09 $)
Dele 100mm Pet Dog Cat Grooming Comb Brush Hair Removal Comb ( $8.49 )
Cuoio Leather Moccasin Shoe ( 196.00 $)


28bb.jpg
Discounts! hair cream

progect12.jpg
Products which fall under this return policy can be returned domestically, as long as they are unused and in the original packaging. No questions asked!
If a product that falls under this guarantee is found to be counterfeit, you will get a full refund (shipping costs included).

buy.png

READ MORE
Cat Lovers Hoodies With Cuddle Pouch Mewgaroo Nyangaroo Dog Pet Hoodies For Casual Kangaroo Pullovers With Ears Sweatshirt 3XL ( 38.44 $)
HOMTOM HT6 4G Phablet-143.89 $
Light blue and white polkadot cotton slim fit shirt ( 52.42 $) Forzieri
3d stylish dragon pattern v-neck short sleeve plus size men's t-shirt ( 11.24 $)
Charming extra long synthetic silky straight women's capless adiors wig ( 13.10 $)
Mrice Campers 1.0 Wheels Type Bluetooth Speaker-26.99 $
Harry potter cosplay costumes cloak cape gryffindorslytherinhufflepuffravenclaw robe&tie adult kids ( 17.99 $)
Ulefone ARMOR 4G Smartphone ( 154.99 $)
Bellagio 32 spinner trolley ( 336.26 $) Bric s
New les1980 les lesbian undershirt tomboy breathable buckle short chest binder summer t cos bra vest sports underwear net fabric ( 7.77 $)
New 4pcs multifunctional food fresh keeping saran wrap kitchen tools reusable silicone food wraps seal vacuum cover lid stretch ( 7.29 $)
Camping equipment military water filter portable outdoor water straw filter ( 34.95 $)
Optical Woven Silk Tie ( 38.50 $)
2016 hot sale women stripes swimwear push up tankini top maillot de bain bathing suit swimsuit plus size shorts bikinis 41990 ( 31.98 $)
Bluetooth Laser Projection Virtual Keyboard with LCD Display-33.76 $


11bb.png
Discounts! best it products

progect12.jpg
Products which fall under this return policy can be returned domestically, as long as they are unused and in the original packaging. No questions asked!
If a product that falls under this guarantee is found to be counterfeit, you will get a full refund (shipping costs included).

buy.png

READ MORE
Top finel 2016 geometric decorative throw pillow case linen cotton cushion cover creative decoration for sofa car covers 45x45cm ( 10.99 $)
Hot Selling 7Pcsset 6A Remy Virgin Brazilian Hair Clip In Extension Straight Human Hair Clip in #4 70g Remy Virgin Hair Clip ( 28.26 $)
CTRT5000 Sensor 1 - Channel Infrared Tracing Tracking Sensor Module ( $2.94 )
Non-Mainstream Clear Lens Glasses Frame Vintage Student Leopard Print Eyeglasses Men Women Decoration Optical Lens Eye Frame W1 ( 1.30 $)
New original sjcam sj5000x 4k elite edition sport camera hd dv 2.0 lcd diving 30m waterproof helmet action camera free shipping ( 120.69 $)
Newest waterproof blue purple black brown mascara long fiber curl eyelash extension free shipping ( 1.17 $)
Online clothing store, brand clothing at bargain prices
1895 god
Nate Black Stainless Steel Chronograph Watch ( 159.00 $)
Kingzone K2 4G Smartphone-170.20 $
Clear Water Resistant Phone Pouch for iPhone 6 / 6 Plus / 6S Samsung Note 5 S6 Edge Plus etc. ( $2.02 )
New 12+1bb 5.51 metal spinning fishing reel peche fish wheel spinning reel fishing tackle 2000 - 7000 ( 24.98 $)
Cobbler legend original women's messenger bag genuine leather small handbags vintage crossbody shoulder bags for women #803211 ( 58.00 $)
Newborn baby cradle bed band mosquito net multifunctional baby shake blue newborn baby boy clothes mosquito net double bed ( 140.40 $)
Sports Arm Band for iPhone 6 4.7 inch ( $2.39 )


84bb.jpg

#15 Miguceamma

Miguceamma

    MiguPenjisse

  • Usuários
  • 13201 posts

Posted 08/11/2017, 09:12

Cialis Munchen Secure Cod Bentyl No Doctor Buying Overnight online pharmacy Zithromax Free At Publix Ou Acheter Du Cialis Generique Kamagra Cialis Generika
Cialis Segunda Mano Rxnorth Canada Drugs 20mg levitra india Buy Lasix Without A Prescription Online Cephalexin Alcohal




0 user(s) are reading this topic

0 membro(s), 0 visitante(s) e 0 membros anônimo(s)

IPB Skin By Virteq