Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Feb 2010
    Posts
    24
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Text Syling - Why can't I inline a span inside a <p>

    Hi,

    I am trying to accomplish something that looks like this...

    @ - some text.

    Currently I am attempting to accomplish this by putting a <span> inside a <p>. Then assigning a class to the <span>

    Code:
    <p><span class="icon">@ - </span>some text.</p>
    
    .icon{
    	font-size: 45px;
    	padding-left: 75px;
    }
    This currently works inside of firefox but not IE.

    Hear is and live example.... Test

    Regards

    Chad

    EDIT: After looking again I don't think it works in FireFox.
    Last edited by chadsxe; 08-26-2010 at 03:37 PM.

  • #2
    New Coder
    Join Date
    Feb 2010
    Posts
    24
    Thanks
    12
    Thanked 0 Times in 0 Posts
    Nevermind....just fixed it.


  •  

    Posting Permissions

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