Jump to content


Photo

Estilizando As Underlines ( Sublinhado ) Dos Links


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

#1 Kaled

Kaled

    Unconditional

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

Posted 27/12/2004, 08:10

Estilizando as Underlines ( Sublinhado ) dos Links

O CSS por padrão não trás grandes variações de estilos para as underlines, te dá apenas opções básicas e essenciais.
Mas caso você queria mudar um pouco o estilo dos seus links, o CSS ti dá a oportunidade de fazer isso. Com criatividade dá pra criar algo bacana, mudando e incrementando o estilo do seu web site.


Vamos começar

De início você deve tirar o estilo padrão dos links:

a { text-decoration: none; }

Agora você deve criar a imagem que ficará sob o link. Essa imagem se repetirá horizontalmente.
Com a imagem já pronta, iremos inserir ela. Para isso será criado um background-image para esse elemento:

a { background-image: url(underline.gif); }

Agora essa mesma imagem terá que se repetir horizontalmente ao longo do texto, não verticalmente, caso contrário a imagem tomará conta de todo o fundo do texto:

a { background-repeat: repeat-x; }

Para o link ficar sob o texto é necessário que se faça um leve posicionamento na imagem. Caso contrário o link ficará no centro do texto, passando de underline para line-through, que não é o nosso objetivo:

a { background-position: 100% 100%; }

Caso queria um espaço maior entre o texto a imagem, você pode fazer o seguinte:

a { padding-bottom: 5px; }

Se por um acaso a linha de cima estiver muito próxima da linha de baixo, você pode adicionar mais espaço entre elas utilizando o atributo line-height.


Combinando as propriedade

a {
text-decoration: none;
background: url(underline.gif) repeat-x 100% 100%;
padding-bottom: 5px;
}


Caso queira que a imagem apareça somente quando o mouse estiver sob o link ( rollover ), faça o seguinte:

a {
text-decoration: none;
padding-bottom: 5px;
}


a:hover {
background: url(underline.gif) repeat-x 100% 100%;
}



Exemplos

http://ezshare.de/fi...8124/235/a.html

Esse tutorial foi baseado em um dos artigos do ALA.

É esse o processo para criar um visual diferente para os links, fácil-fácil.
Qualquer coisa entre em contato.

Até mais !

Edição feita por: Kaled, 08/01/2008, 19:37.


#2 Maujor

Maujor

    Normal

  • Usuários
  • 93 posts
  • Sexo:Não informado
  • Localidade:Rio de Janeiro

Posted 04/01/2005, 00:00

Muito Bom!

Uma outra possibilidade consiste em não usar imagens para obter sublinhado.
Declare:
a:hover { text-decoration: underline;}
Maurício Samy Silva
www.maujor.com
Dicas e Tutoriais CSS
:::::::::::::::::::::::::
www.maujor.com/fw/
Tutoriais Fireworks

#3 Kaled

Kaled

    Unconditional

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

Posted 04/01/2005, 09:10

A intenção não era obter as underlines, e sim customizá-las.

Mas o comentário é válido ! ... =D

Abraços !

#4 Kadu DG

Kadu DG

    I Love my Little Girl! http://www.kdsg.net

  • Usuários
  • 597 posts
  • Sexo:Masculino
  • Localidade:Carapicuiba, SP

Posted 21/09/2007, 21:42

tem como deixar um url tracejada só com o CSS?
Posted Image

#5 Junior - Web

Junior - Web

    Novato no fórum

  • Usuários
  • 1 posts
  • Sexo:Masculino

Posted 27/03/2008, 02:10

tem como deixar um url tracejada só com o CSS?


Tem Sim Kadu,
basta colocar no seu CSS:

a {
text-decoration: none; /* Para deixar o link sem o underline */
color: #666; /* Cor da fonte ativa no link */
}

a:hover {
border-bottom: 1px dashed #000; /* Cor da 'borda' embaixo da Fonte */
color: #999; /* Cor da fonte no hover */
}


Espero ter ajudado,
caso de dúvidas envie-me uma MP.

Att,
Juniiior

#6 Miguceamma

Miguceamma

    MiguPenjisse

  • Usuários
  • 11724 posts

Posted 26/09/2017, 14:32

Cialis 20mg Bestellen Clomid Calcul De Mois cialis Cephalexin While Breastfeeding Best Place To Buy Viagra Online Forum
Canadian Drugs No Script Buy Nizagara Online cialis Generic Viagra Pharmacy India
Cialis 20mg No 12 Cialis Prezzo Online online pharmacy Viagra Pagamento Paypal Cialis Vademecum Prix Cialis 20 Mg

#7 RonsisM

RonsisM

    Super Veterano

  • Usuários
  • 15724 posts
  • Sexo:Masculino
  • Localidade:Plovdiv

Posted 28/09/2017, 18:55

Acheter Viagra Dhea Elocon Website Internet Fedex Shipping Low Price cialis Cialis Overnight Fedex Achat Cialis Generique 10mg
Viagra 100mg 12 Tabl Priligy Sales cialis Cialis Pastillas
Order 60 Mg Orlistat Online By Fedex Coupons For Cialis 20 Mg cialis Clobetasol Canada With Next Day Delivery Tyneside
Kamagra Prix Discount viagra cialis Where To Buy Generic Celebrex Macrobid Urinary Tract Infections Without A Script

#8 Miguceamma

Miguceamma

    MiguPenjisse

  • Usuários
  • 11724 posts

Posted 29/09/2017, 10:30

Pediatric Dosage Of Amoxicillin Buy Viagra Online In The United States Viagra With Dapoxetine Reviews cheap cialis Doxcycline No Prescription
Buying Xenical Online viagra cialis Isotretinoin Shop Glucophage 500 Mg Inhouse Drugstore Biz Canadian Viagra
Cialis Brand Name Usa Price Propecia Finapil cialis price Candian No Script Pharmacy Cialis Dosierung Wirkung
Viagra Kaufen Erfahrung Coumadin Comparison Viagra Cialis cialis Discount Plavix Online Levitra Potenz
Prospecto Cialis 5 Mg Levitra De 10mg Cvs Propecia Online Pharmacy cialis Aspirin And Keflex
Best Online Cialis Reviews online pharmacy Zithromax For Impetigo Trouver Viagra Paris Order Diflucan Online No Prescription Canada
Achat Rapide Kamagra Cialis In Bangkok Where Can Propronolol Be Purchased cialis Prix Viagra 100 Mg

#9 Miguceamma

Miguceamma

    MiguPenjisse

  • Usuários
  • 11724 posts

Posted 02/10/2017, 16:36

Keflex And Water Retention Cialis Generic Canada Benazepril 20 cheap cialis Buy Diflucan Uk Lastlonger Compra Levitra Line
Amoxicillin Liquid Thrush Tongue get online levitra prescription Long Term Effects Of Propecia Mexican Pharmacy Viagra
Std Treatment Online Source Of Canadian Viagra Onlinepharmacy365 cialis online Differenze Cialis Viagra
Viagra Rx Paypal Viagra Kaufen Ohne Rezept Paypal Achat Clomid Sur Internet buy viagra online Cialis Sin Receta Medica

#10 Miguceamma

Miguceamma

    MiguPenjisse

  • Usuários
  • 11724 posts

Posted 11/10/2017, 16:56

2.5 Mg Cialis Generic Cialis Somniferes cheap levitra Fluoxetine 20mg Stendra Ed With Doctor Consult Pharmacy Viagra Pharmacy In Canada
Pharmacy Rx One Review Stendra Where To Purchase Suprax 400mg For Sale viagra Achat Cialis Ou Viagra
Cialis 20 Mg Lowest Price Zentel Visa Accepted By Money Order Without Perscription viagra online Cleocin Levitra Nebeneffekte Lilly Cialis 5mg
buy brand name accutane Online Viagra Sales India Discount Need Cheap Macrobid In Usa Amex Accepted viagra online Generic Viagra Accepts American Express Zithromax Dosage Children Macrobid Tablet For Sale

#11 HaroNism

HaroNism

    Super Veterano

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

Posted 12/10/2017, 16:07

Kamagra Jelly Amazon Levitra Prices Keflex Uti Dog viagra 4rx Priligy
Lasix Cheapest Online Viagra Pharmacy Acheter Levitra Pfizer viagra Levitra 10 Mg 2 Comprimidos Precio
Cialis 10 Doctissimo Cialis El Pais Donde Puedo Comprar Cialis viagra Free Cialis Voucher
Whats The Human Dose For Amoxicillin Cialis Que Contiene Taking Both Cephalexin And Clindamycin levitra 40 mg Acheter Cialis Et Viagra Buy Silagra 50 Mg
Canadian Levitra cheapest generic levitra Viagra Y Testosterona Zentel Website Medicine Online No Script Needed

#12 Miguceamma

Miguceamma

    MiguPenjisse

  • Usuários
  • 11724 posts

Posted 28/10/2017, 22:06

Acquistare Cialis Generico Con Postepay where can i order levitra Kamagra Gratis
Comprar Viagra En Espana Sin Receta Viagra Plus For Sale Buy Viagra In Brisbane 58 where can i order levitra Levitra 20mg Prices
Order Nizagara Online Levitra How Long Does It Last non prescription levitra Cialis 5 Mg Price Walmart Cialis Online Kaufen Gunstig Prix Du Viagra Pharmacie En Le Tampon

#13 LarPhozyHah

LarPhozyHah

    Super Veterano

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

Posted 29/10/2017, 01:36

Viagra A 16 Ans Foro Cialis Viagra viagra Viagra Yahoo Respuestas Comprar Cialis Calidad
Viagra Testen Kostenlos Doxycycline Hyclate Online buy viagra online Finasterida Generico Comprar Propecia What Does Mexican Amoxicillin Look Like Euro Meds Online

#14 gapedlok

gapedlok

    24 Horas

  • Usuários
  • 425 posts
  • Sexo:Feminino
  • Localidade:Albufeira

Posted 29/10/2017, 04:13

Discounts! new makeup coming out 2017 progect13.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 X077 Free shipping Cute Hand Washed Pot Philharmonic Filter Cup Coffee Chemex Brooch Pins,Fashion Jewelry Wholesale ( 0.89 $)Khaki master clock print silk tie ( 51.79 $) Mila SchonGG 3751S Light Acetate Women Sunglasses ( 190.00 $)Men women sport silicone cigarette case cover leisure pocket elastic rubber portable men cigarette gift box ( 1.99 $)Elephone Explorer Pro 4K 12MP WiFi Action Camera-114.98 $left 4 dead 2 граhttps shoppinglive ru2016 men male canvas backpack college student school backpack bags for teenagers vintage mochila casual rucksack travel daypack ( 44.00 $)скраб фитнес бодиFor Samsung Galaxy A3 A5 A7 2016 Case Motomo Brush Case For Samsung A3 A5 A7 A8 A9 J5 J7 Note 3 4 5 S3 S5 S6 S7 Edge Cover Funda ( 2.49 $)ENKAY ENK-7039 PU Leather Material Full Body Case for 7 inch Tablet ( $5.65 )2016 the newest wireless wifi touch key video door phone ip intercom doorbell with function of door unlocking and recording ( 121.07 $)HOMTOM HT3 Pro 4G Smartphone-97.32 $Misty Rose Saffiano Leather Selma Mini Messenger ( 175.00 $)Cheerson CX — 36 RC Quadcopter RTF-26.00 $ 25bb.jpg
Discounts! most unique products

progect13.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
2015 New Arrival Color Mens Slim Shirt Fit Casual Blouse Unique Neckline Long Sleeve Shirts Turn-down Collar Man casual Shirt ( 19.98 $)
500pcs XH 322 Building Blocks Super Heroes Avengers Suicide Squad Movie Samurai sword clown Minifigures Children Blocks Toys ( 360.00 $)
battlefield bad 3
Original SJCAM SJ6 LEGEND 4K WiFi Action Camera ( 159.00 $)
скачать team fortress 2 со +всеми вещами
H126 free shipping planet saturn rabbit astronaut hair clip hair pins girls lovely hair accessary wholesale ( 0.76 $)
wireless ip wifi doorbell intercom peephole video door phone camera + indoor door bell support ios android ( 116.24 $)
Sheremetevo zakroet terminal S na rekonstrukciyu s 1 aprelya
Retro style turn-down collar sleeveless polka dot ball gown dress for women ( 22.60 $)
Gradient redlight blue stripe print silk long scarf ( 40.44 $) Mila Schon
Light Gray Ornamental Print Woven Silk Tie ( 45.50 $)
BOBO BIRD A04 Light Eco-friendly 12 Holes Design Wooden Watch Mens Leather Quartz Watches Special Hands Bracelet ( 35.99 $)
купить battlefield 1 origin
Genuine Leather Document Tube ( 199.00 $)
Multilayer Indian Hot Sale Designer Jewelry Summer Tide All Match Imitation Emerald Necklaces & Pendants ( 2.66 $)


132bb.jpg
Discounts! hair products for men

progect13.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
Graceful women's spaghetti strap hollow out striped bikini set ( 14.89 $)
Turn-down collar color block splicing zipper design short sleeve men's t-shirt ( 11.85 $)
Casual black small chains totes shell handbags hotsale women evening clutch ladies purse famous designer shoulder crossbody bags ( 27.90 $)
8-10 inch Wand Curl Crochet hair extensions Ombre Havana mambo twist braiding hair Synthetic Crochet Braids hair extensions ( 6.58 $)
Internet-shop of fashionable clothes and shoes La Redoute with delivery in Moscow and other cities
Mongolian afro kinky curly virgin hair cheap rosa hair products 100% human hair curly weave 3 bundles mongolian kinky curly hair ( 63.59 $)
Chic striped halter women's tankini set ( 13.97 $)
эволюция серии игр grand theft auto
far cry 3
Quilted large shoulder bag ( 131.59 $) Love Moschino
2016 good quality newest hd dash car camera dvr parking rearview mirror video recorder with night vision front camera mini dvr ( 25.50 $)
2pcs 2520lm 36w high power waterproof led offroad work light off road driving light with 12pcs 3w led for car truck boat ( 29.59 $)
Brazilian deep wave 3 bundles brazilian virgin hair 7a grade cheap deep wave brazilian hair curly weave human hair extensions ( 115.02 $)
шкив коленвала ваз 2110
Brazilian Virgin Hair With Closure Deep Wave Human Hair Bundles With Lace Closure Brazilian Virgin Hair 4 Bundles With Closure ( 84.00 $)


30.jpg
Discounts! best beauty products for women

progect13.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
100 PCS Pack Random music film Vinyl Skateboard Guitar Travel Case sticker Car decal Cute Stickers fashion funny sticker ( 5.99 $)
Narod Ketura — Rasi i narodi — Zvyozdnie vrata: Atlantida
Vokrug sveta za 80 dnej (film, 1956)
Neadekavat na sportkare s mentovskimi nomerami provociroval avariyu s shkolnim avtobusov (Video)
Ski goggles double uv400 anti-fog big ski mask glasses skiing men women snow goggle snowboard goggles for adult ( 40.00 $)
Gold Silver Gray 3 Colors Tassel Necklace Collier Femme High Quality Vintage Jewelry Statement Chokers Necklace Pendants ( 1.99 $)
New fashion women shoulder bag vintage winter woman handbag lovely suede messenger bag crossbody bag for women ( 37.80 $)
0.3 mm Anti-Explosion Shock Film Guard Clear Tempered Glass Screen Protector for iPhone 44S 55S 6, 6s, 6s plus Free shipping ( 1.29 $)
www dns ru интернет магазин
Online store of home goods, sports and leisure
Xiaomi Mi MIX Ultimate 4G Phablet-997.78 $
U119 Free Shipping 50x Fan-shaped Natural False Tips Sticks Polish Display Nail Art supply selling ( 1.87 $)
2016 good quality newest hd dash car camera dvr parking rearview mirror video recorder with night vision front camera mini dvr ( 25.50 $)
Original Ulefone Power Folding Stand Back Cover ( $8.45 )
Lightest Weight 1.0 inch AIEK M5 Mini Unlocked Phone-13.91 $


59.jpg
Discounts! skin care products best

progect13.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
Mounting Sleeve for Mobius ActionCam 1080P Camera Sports Camera ( $1.93 )
Guerra, Tonino
первый немецкий телемагазин 24 www sl24 tv
SQ8 Mini DV Camera 1080P Full HD Car DVR-14.16 $
грм змз 405
Peruvian virgin hair straight 4 bundles deals 7a human hair weave peruvian straight virgin hair bundles rosa hair products ( 51.10 $)
2016 Fashion Jewelry Hot Sale 76cm PU Leather Bracelet Men Anchor Bracelets For Women Best Friend Gift Free Shipping H7-12 ( 2.00 $)
Supermarket products "CUBISM"
Nordic vintage led pendant lights in style loft industrial lamp rope lamparas colgantes de techo ( 102.48 $)
LONGING LY — 250 5.8G FPV 2.4G 6 Channel 6 Axis Gyro 0.3MP CAM Racing Quadcopter With 7 inch FPV Monitor 349.99$
National Women Canvas Drawstring Backpack Newest Vintage College Students School Bagpack Girls Mochila Feminina Sack Bag ( 4.99 $)
app +on your pc +and
hot sale 1pcs medical grade silicone menstrual cup for women feminine hygine product health care anner cup ( 1.99 $)
магазин красный богатырь
New women handbag genuine leather bag lichee pattern shoulder bags bolsas femininas crossbody tote fashion women messenger bags ( 199.60 $)


192.jpg

#15 LarPhozyHah

LarPhozyHah

    Super Veterano

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

Posted 01/11/2017, 01:05

Commande De Furosemide 100 Mg Sur Site Securisee generic cialis Canada Propecia




0 user(s) are reading this topic

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

IPB Skin By Virteq