#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2013
    Posts
    6
    Rep Power
    0

    Basics Question!


    Hi everyone, I'm new to this forum and also a new coder. I have been coding a site that has already had a template developed by a different developer and I'm taking over their work.

    I have a few basic questions that seem simple enough but I can't figure out for some reason.

    I can't figure out how to get the number 2 to align with the other numbers on this page. I've tried copying and pasting code from numbers 3 & 4 and also using <br> but it still won't work. Any suggestions?

    love my provider [dot] com [slash] dev [slash] howitworks.php

    [Moderator edit] http://lovemyprovider.com/dev/howitworks.php [/Moderator edit]

    Code:
    <h2>How it works</h2>
                    <!-- services -->
                    <div class="services">
                       <!-- <img class="alignright size-medium" title="" src="http://lovemyprovider.com/dev/images/frontpage.jpg" alt="" width="300" height="200" />--><ul >
                        
                        <li><img src="images/search-icon-blue-1.gif" align="left"/><span>Search our database for your child's current provider.</span></li><br>
                        <li><img src="images/search-icon-blue-2.gif" align="left"/><span>Leave a review of how that provider has helped. </span></li><br><br>
                        <br><li><img src="images/search-icon-blue-3.gif" align="left"/><span>Read other parents' reviews of their providers.</span></li><br>
                        <li><img src="images/search-icon-blue-4.gif" align="left"/><span>Still can't find what you're looking for? Let us know and we will respond within 48 hours.</span></li><br>
                        </ul>
                    </div>
    Last edited by Kravvitz; January 27th, 2013 at 04:56 PM.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Oct 2009
    Location
    Nebraska, USA
    Posts
    828
    Rep Power
    275
    In your style.css file...line 292... .services ul li rule.

    add the clear:both; property.

    And you should be able to get rid of all of those <br>'s between your <li> items afterwards.
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2013
    Posts
    6
    Rep Power
    0
    Originally Posted by DonR
    In your style.css file...line 292... .services ul li rule.

    add the clear:both; property.

    And you should be able to get rid of all of those <br>'s between your <li> items afterwards.
    Where do I find the styl.css file? That's how new at coding I am...

    Also I was trying to transfer the /dev site to the home site and it looks like the theme got completely wiped somehow. Any suggestions? (Same URL as listed above but no /dev at the end)
  6. #4
  7. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2013
    Posts
    10
    Rep Power
    0

    Absolute path problems it sounds like


    First, this is where your style.css file is http//lovemyprovider.com/dev/css2/style.css

    Please add a colon ( after the http, I'm not allowed to post links yet.

    As for your these being wiped out is is most likely because the files are no long linked correctly.

    Say in dev the styles are located at :
    http//lovemyprovider.com/dev/css2/style.css

    There is probably a link tag linking the css such as:

    PHP Code:
     <link rel="stylesheet" type="text/css" href="http//lovemyprovider.com/dev/css2/style.css"
    If you move the css2 folder down a level that file will no longer exist at that location and would have to be changed to

    PHP Code:
     <link rel="stylesheet" type="text/css" href="http//lovemyprovider.com/css2/style.css"
    You may have your work cut out for you. On that page alone there are 39 requests including the images, style, and scripts.

    Goodluck
  8. #5
  9. Contributing User
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Sep 2003
    Location
    Germany
    Posts
    1,355
    Rep Power
    322
    You could also just remove
    Code:
    float: left;
    in
    Code:
    .services ul li {
        color: #508900;
        display: block;
        float: left;
        font-size: 16px;
        font-weight: bold;
        margin: 0;
        padding-bottom: 10px;
    }
    (line 292 in your css)
    IkoTikashi - ikotikashi.de
  10. #6
  11. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2013
    Posts
    6
    Rep Power
    0
    Originally Posted by IkoTikashi
    You could also just remove
    Code:
    float: left;
    in
    Code:
    .services ul li {
        color: #508900;
        display: block;
        float: left;
        font-size: 16px;
        font-weight: bold;
        margin: 0;
        padding-bottom: 10px;
    }
    (line 292 in your css)
    Thank you so much, IkoTikashi! That worked! Very simple way to solve that problem . Muchas gracias!

    @KhayHurst - Now if only I could figure out that folder issue. I can't find which file contains the link url you're talking about that points to /dev/css2/style.css
    It's not in the header, the index or footer.. Any idea which folder it is? Once I find it I can just replace-all "dev"... but until then I'm stumped!

    Thank you all for being so helpful.
  12. #7
  13. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2013
    Posts
    6
    Rep Power
    0
    Originally Posted by khayhurst
    First, this is where your style.css file is http//lovemyprovider.com/dev/css2/style.css

    Please add a colon ( after the http, I'm not allowed to post links yet.

    As for your these being wiped out is is most likely because the files are no long linked correctly.

    Say in dev the styles are located at :
    http//lovemyprovider.com/dev/css2/style.css

    There is probably a link tag linking the css such as:

    PHP Code:
     <link rel="stylesheet" type="text/css" href="http//lovemyprovider.com/dev/css2/style.css"
    If you move the css2 folder down a level that file will no longer exist at that location and would have to be changed to

    PHP Code:
     <link rel="stylesheet" type="text/css" href="http//lovemyprovider.com/css2/style.css"
    You may have your work cut out for you. On that page alone there are 39 requests including the images, style, and scripts.

    Goodluck
    Thanks! Posted a response below
  14. #8
  15. Contributing User
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Sep 2003
    Location
    Germany
    Posts
    1,355
    Rep Power
    322
    For your folder problem: it could also be somewhere in the settings of your site, something like a "base url" set for your project. This could be set to "http://lovemyprovider.com/dev/" in your case
    IkoTikashi - ikotikashi.de

IMN logo majestic logo threadwatch logo seochat tools logo