Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-06-2011, 07:22 AM   PM User | #1
freshdude
New Coder

 
Join Date: May 2011
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
freshdude is an unknown quantity at this point
Smile Two span classes for one word?

For a url link, is it possible to have a word have two different span classes within a <div>?

For example:

<a href="www.word.co.uk"><span class="a">wor</span><span class="b">d</span></a>

thank you
freshdude is offline   Reply With Quote
Old 11-06-2011, 09:16 AM   PM User | #2
SB65
Senior Coder

 
Join Date: Feb 2009
Location: West Yorkshire
Posts: 2,827
Thanks: 9
Thanked 685 Times in 679 Posts
SB65 will become famous soon enoughSB65 will become famous soon enough
Yes, that's pefectly valid.
SB65 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:55 PM.


Advertisement
Log in to turn off these ads.