CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 27th, 2013, 04:22 PM
saratheg saratheg is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2013
Posts: 6 saratheg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 53 m 48 sec
Reputation 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.

Reply With Quote
  #2  
Old January 27th, 2013, 06:52 PM
DonR DonR is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2009
Posts: 464 DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)  Folding Points: 29722 Folding Title: Starter FolderFolding Points: 29722 Folding Title: Starter Folder
Time spent in forums: 2 Weeks 2 Days 48 m 42 sec
Reputation Power: 216
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.

Reply With Quote
  #3  
Old January 27th, 2013, 10:29 PM
saratheg saratheg is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2013
Posts: 6 saratheg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 53 m 48 sec
Reputation Power: 0
Quote:
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)

Reply With Quote
  #4  
Old January 29th, 2013, 02:09 AM
khayhurst khayhurst is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2013
Posts: 10 khayhurst User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 16 m 38 sec
Reputation 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

Reply With Quote
  #5  
Old January 29th, 2013, 08:50 AM
IkoTikashi's Avatar
IkoTikashi IkoTikashi is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Sep 2003
Location: Germany
Posts: 1,355 IkoTikashi User rank is Major (30000 - 40000 Reputation Level)IkoTikashi User rank is Major (30000 - 40000 Reputation Level)IkoTikashi User rank is Major (30000 - 40000 Reputation Level)IkoTikashi User rank is Major (30000 - 40000 Reputation Level)IkoTikashi User rank is Major (30000 - 40000 Reputation Level)IkoTikashi User rank is Major (30000 - 40000 Reputation Level)IkoTikashi User rank is Major (30000 - 40000 Reputation Level)IkoTikashi User rank is Major (30000 - 40000 Reputation Level)IkoTikashi User rank is Major (30000 - 40000 Reputation Level)IkoTikashi User rank is Major (30000 - 40000 Reputation Level) 
Time spent in forums: 1 Week 3 Days 15 h 46 m 41 sec
Reputation Power: 321
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

Reply With Quote
  #6  
Old January 29th, 2013, 03:18 PM
saratheg saratheg is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2013
Posts: 6 saratheg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 53 m 48 sec
Reputation Power: 0
Quote:
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.

Reply With Quote
  #7  
Old January 29th, 2013, 03:19 PM
saratheg saratheg is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2013
Posts: 6 saratheg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 53 m 48 sec
Reputation Power: 0
Quote:
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

Reply With Quote
  #8  
Old January 30th, 2013, 03:18 AM
IkoTikashi's Avatar
IkoTikashi IkoTikashi is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Sep 2003
Location: Germany
Posts: 1,355 IkoTikashi User rank is Major (30000 - 40000 Reputation Level)IkoTikashi User rank is Major (30000 - 40000 Reputation Level)IkoTikashi User rank is Major (30000 - 40000 Reputation Level)IkoTikashi User rank is Major (30000 - 40000 Reputation Level)IkoTikashi User rank is Major (30000 - 40000 Reputation Level)IkoTikashi User rank is Major (30000 - 40000 Reputation Level)IkoTikashi User rank is Major (30000 - 40000 Reputation Level)IkoTikashi User rank is Major (30000 - 40000 Reputation Level)IkoTikashi User rank is Major (30000 - 40000 Reputation Level)IkoTikashi User rank is Major (30000 - 40000 Reputation Level) 
Time spent in forums: 1 Week 3 Days 15 h 46 m 41 sec
Reputation Power: 321
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

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > Basics Question! (Aligning list-items)

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap