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 6 of 6

Thread: Next question

  1. #1
    New Coder
    Join Date
    May 2009
    Posts
    12
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Arrow Next question

    So i did lots of research before coming here again.


    I am now trying to get text next to an img to wrap be aligned in the middle and then other lines to follow suit. I tryed <br=clear="all"> and that did not work.

    Here is the code I am working with

    Code:
    <img height="48" alt="" src="images/arrow_double_right.png" width="48" align="absMiddle" border="0">Are you getting lots of popups? Do you get messages that look serious but aren't? Is your computer just plain running slow? Then you probably have Spyware/Adware on your machine.<br clear="all">
                      <li>Virus Removal/Prevention.
    The first line of text is fine. But lines after reset to the edge.

    Ty in advace again!

  • #2
    Senior Coder
    Join Date
    Feb 2009
    Location
    Ilkley, West Yorkshire, UK
    Posts
    2,957
    Thanks
    9
    Thanked 727 Times in 721 Posts
    Ummm

    trying to get text next to an img to wrap be aligned in the middle and then other lines to follow suit
    It's not at all clear what you're trying to do from this, but <br=clear="all"> isn't going to do it. Can you post a better explanation of what it is you want?

  • #3
    New Coder
    Join Date
    May 2009
    Posts
    12
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Sorry for the poorly written post.

    If you go to this page http://centralflccr.com/Services.htm and look at the first bullet icon, you will see what is happening.

    I would like all the text
    Are you getting lots of popups? Do you get messages that look serious but aren't? Is your computer just plain running slow? Then you probably have Spyware/Adware on your machine.
    To be in lined up with the row above.

    Hope this is much clearer!
    Last edited by Kydavis77; 05-14-2009 at 08:38 PM.

  • #4
    Senior Coder
    Join Date
    Feb 2009
    Location
    Ilkley, West Yorkshire, UK
    Posts
    2,957
    Thanks
    9
    Thanked 727 Times in 721 Posts
    That makes more sense!

    How about doing this as a definition list - I guess that might be semantically appropriate. So you'd markup "Adware/Spyware Removal/Prevention" as <dt> EDIT- AAARggh - of course this should be <dl> and the "Are you.." as <dd>.

    The two are linked so that makes more sense than having them all as a list.
    Last edited by SB65; 05-15-2009 at 09:46 AM. Reason: Disconnected brain

  • #5
    New Coder
    Join Date
    May 2009
    Posts
    12
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Code:
    <li><dt>Adware/Spyware Removal/Prevention.</dt><br/>
    				  <img height="48" alt="" src="images/arrow_double_right.png" width="48" align="absMiddle" border="0"><dd>Are you getting lots of popups? Do you get messages that look serious but aren't? Is your computer just plain running slow? Then you probably have Spyware/Adware on your machine.</dd>
    Leaves me with http://centralflccr.com/Services.htm


    Did I input the code right? Or is there something else going on?

  • #6
    Senior Coder
    Join Date
    Feb 2009
    Location
    Ilkley, West Yorkshire, UK
    Posts
    2,957
    Thanks
    9
    Thanked 727 Times in 721 Posts
    Something like:

    Code:
    dl{padding:0px 0px 0px 20px;
    background:transparent url(http://centralflccr.com/images/li.gif) no-repeat scroll 0 4px;
    margin:0px}
    
    dd{margin:10px 0px 0px 0px;
    padding:0px 0px 0px 50px;
    background:url(http://centralflccr.com/images/arrow_double_right.png) no-repeat scroll center left;
    width:500px;
    }
    
    
    html
    
    <dl>
    <dt>Problem</dt>
    <dd>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</dd>
    </dl>
    Play around with the margins and padding to suit. Sorry, just noticed deliberate error in my previous post - corrected.
    Last edited by SB65; 05-15-2009 at 09:47 AM.


  •  

    Posting Permissions

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