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 3 of 3
  1. #1
    Regular Coder
    Join Date
    Jun 2007
    Posts
    145
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Keeping multiple elements on one line

    Hi. If you navigate to http://www.new.3genergi.co.uk
    username:newsite
    password:123newsite

    and click on Grants & Info in the link.

    Notice the line : "">Low Carbon Buildings Programme (L.C.B.P.) England"

    I want to close my </h3> tag at the end of the .) and open a new one for the word England, which i want to be on the same line, but aligned right. If i just stick the code in, it aligns England on the right, on the next line - which is not what is needed.

    I have tried putting in tons of " "(spaces) but they are just then ignored by the CMS that I am using.

    Please helpio!

    Andy

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,861
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    Try this ,
    Code:
    <h3 style="float:left;">Low Carbon Buildings Programme (L.C.B.P.) </h3><h3 style="float:right">England</h3>
    but you have to put some <br/> after the second h3, to position the content after them.

    Again are using the align atribute for your h3, and found some other errors on validation.
    Last edited by abduraooft; 08-03-2007 at 04:18 PM. Reason: correction
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    Regular Coder
    Join Date
    Jun 2007
    Posts
    145
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Brilliantio!

    Thats the stuff

    Thanks

    Andy


  •  

    Posting Permissions

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