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

Thread: Newb question

  1. #1
    New Coder
    Join Date
    Aug 2005
    Posts
    44
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Newb question

    I've got the following code

    Code:
    <h5><img src="droplet.gif" width="10px" height="10px" align="left">t</h5>(020) 7000000
    I want the image, then a differently formatted letter "t" and the normally formatted text for the number, the letter "t" is set to be red compared to the normal black font. Because of the </h5> it breaks onto another line, how do I force it to stay on the same line. It should be easy but for some reason I can't remember how to do it.


    thanks in advance


    titaniumbean.
    As far as I can tell you're as guilty as a puppy sitting next to a pile of poo !!

  • #2
    Senior Coder chilipie's Avatar
    Join Date
    Jul 2004
    Location
    Shrewsbury, UK Age: 16
    Posts
    1,117
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Code:
    <h5><img src="droplet.gif" style="width: 10px; height: 10px;"><span style="color: red;">t</span> (020) 7000000</h5>
    You might be interested in learning more about CSS to format your documents, as well as well-formed HTML. These three sites have some good resources: http://htmldog.com/ http://w3schools.com/ http://css.maxdesign.com.au/


  •  

    Posting Permissions

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