SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Guru Zygoma's Avatar
    Join Date
    May 2006
    Location
    York, Uk
    Posts
    916
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Having a bad day in the CSS office :-(

    http://www.pauserefreshment.co.uk/google_ad_draft.html

    Yep I'm having a bad oine today :-( Heres the problem. On the above page I just cant get the div column 3 to connect to my css. At the moment its all black, the css styling remains un connected. The paragraph causing my bum to have a migraine is the paragragh that runs with - "Big brand support".

    I;m just too tirred to spot it despite 5 coffees in the last 30 mins :-(

    Any insights welcome....

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>UK Office coffee services - rent office coffee service solutions - Call Suzy 01924 363 091 - pause...thoughtful refreshment</title>
    <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <style type="text/css" media="all">
    @import "css/homepage_draft1.css";
    </style>
    </head>
    <body>
    <div id="container">
    <div id="hotline">
      <h1>Sell coffee make money</h1>
      <img class="google" alt="Make money sell coffee" src="images/testimonial/businessman_3.jpg" />
      <h2>"When it costs 20p per cup and you sell for 2 per cup its easy to see why selling coffee remains one of the most lucrative business opportunities in retail". Mike Parkes - Senior business development manager for pause.</h2>
    </div>
    <div id="headbanners">
      <p><img src="images/model_machine/vision_400_2.jpg" alt="Vision 400" /><span class="sector">Instant coffee maker</span><br />
        Need to make money from selling  instant coffee? pause refreshment recommends the Vision 400</p>
      <p><img src="images/model_machine/franke_flair.jpg" alt="franke flair" width="75" height="163" /><span class="sector">Fresh bean to cup</span><br />
        Need to make money from selling fresh bean to cup coffee pause... refreshment recommends the franke flair coffee machine</p>
      <p><img src="images/model_machine/mondo2_2.jpg" alt="rent coffee machines for your corporation" /><span class="sector">catering coffee machines</span><br />
        Need to make money from selling fresh filter coffee pause recommends the Franke Evolution.</p>
    </div>
    <div style="clear:both"></div>
    <div class="column2">
      <h6>Jet Petrol  choose pause</h6>
      <p class="paddingblast">"pause makes money for big fuel station chain"</p>
      <p><a href="#"><img src="images/testimonial/rob_150_150.jpg" alt="&quot;The i make from coffee is great&quot;" /></a>Jet 2 garages wanted to offer its customers coffee and earn good profit. Pause refreshment won the contract and now supplies Jet 2 garages with a total coffee service solution. "The margin I make on every cup sold is great" Rob Campbell - Area Manager</p>
      <ul>
      </ul>
    </div>
    <div class="column2">
      <h6>Toni & Guy choose pause</h6>
      <p class="paddingblast">"Prestige hair salon pick pause"</p>
      <p><a href="http://www.pauserefreshment.co.uk/hairdressing_coffee_machine.html"><img src="images/testimonial/toni_guy_black.jpg" alt="Fast rental coffee machine quotes" ></a>Toni & Guy chooses pause... refreshment to supply there salons with a total front of house coffee service. "We'd recommend pause.. refreshment to any business serious about improving front of house hospitality." Rebecca Gill - UK Toni & Guy Business Manager</p>
    </div>
    <div class="column3">
    <h1>We've got the backing of big brand support</h1>
    <p>"You get lots of coffee machine choice backed with total service support"</p>
    <p>Our warehouse is stacked to the rafters with todays cutting edge table top coffee machines but with one caveat, we only sell coffee machine that have a proven track record as relaible money earners in the competitive world of coffee retail. We support all our new customers with loyalty cards and free advice on how much money you could be expected to earn. Give us a call, wqe're ready to get the right coffee machine for you to increase your profit</p>
    </div>
    <div id="thumnails">
      <div>&nbsp;</div>
      <div>&nbsp;</div>
      <ul class="nav">
        <li><a href"#">Need a quote? Call David 01924 330 845&nbsp;&nbsp;|</a><a href="mailto:david@pause.co.uk">david@pause.co.uk</a><a href="http://www.pauserefreshment.co.uk">| &nbsp; www.pause.co.uk</a></li>
      </ul>
      <div id="endfooter">
        <p>&copy; 2009 pause refreshment | Unit 3 128 Thornes Lane | Wakefield | West Yorkshire | WF2 7RE | 01924 363 091 | <a href="mailto:hello@pause.co.uk">hello@pause.co.uk</a></p>
      </div>
    </div>
    </body>
    </html>
    Code:
      /*column 3 start*/
    
    #column3 {
    	float:left;
    	clear:none;
    	position:relative;
    	width:100%;
    	overflow:hidden;
    	background-color: #fff;
    	border-top: 0px solid #702453;
    	color:#622449;
    	font-weight:bold;
    }
    #column3 p {
    	margin: 0 0 0 15px;
    	padding-top: 3px;
    	padding-left: 2px;
    	color:green;
    	font-weight:bold;
    	padding-bottom:20px;
    }
    
    #column3 h2 {
    	padding:0px;
    	margin: 0 0 0 15px;
    	color:#B5B43E;
    }
    
    #column3 h1 {
    	margin: 0 0 0 5px;
    	padding-bottom:3px;
    	padding-top:50px;
    	color:#622449;
    }
    
    #column3 p img {
    	float: left;
    	margin-right: 3%;
    }
    /*column 3 end*/
    I have had a perfectly wonderful
    evening, but this wasn't it-
    Julius "GROUCHO" Marx - 1890-1977
    http://www.davidclick.com

  2. #2
    From Italy with love silver trophybronze trophy
    guido2004's Avatar
    Join Date
    Sep 2004
    Posts
    9,401
    Mentioned
    147 Post(s)
    Tagged
    4 Thread(s)
    # indicates an id, not a class.

  3. #3
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,564
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Hi, the probglem is is that in teh CSS you use #column3 while in the HTML you give class="column3"

    It should be .column3 or id="column3" or whatever .

    BTW, you realize you have a .column2 and a #column2 in the CSS?
    Twitter-@Ryan_Reese09
    http://www.ryanreese.us -Always looking for web design/development work

  4. #4
    SitePoint Guru Zygoma's Avatar
    Join Date
    May 2006
    Location
    York, Uk
    Posts
    916
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you both - Ive fixed it thanks to your help. Also tried to clean the garbage out of the css :-)
    I have had a perfectly wonderful
    evening, but this wasn't it-
    Julius "GROUCHO" Marx - 1890-1977
    http://www.davidclick.com

  5. #5
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,564
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    You're welcome .
    Twitter-@Ryan_Reese09
    http://www.ryanreese.us -Always looking for web design/development work

  6. #6
    SitePoint Guru Zygoma's Avatar
    Join Date
    May 2006
    Location
    York, Uk
    Posts
    916
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by RyanReese View Post
    You're welcome .
    At last you've been badged with css guru of the year! Well done, you've got me out of the css sh*t so many times, congratulations Ryan :-)
    I have had a perfectly wonderful
    evening, but this wasn't it-
    Julius "GROUCHO" Marx - 1890-1977
    http://www.davidclick.com

  7. #7
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,564
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Thanks .
    Twitter-@Ryan_Reese09
    http://www.ryanreese.us -Always looking for web design/development work


Bookmarks

Posting Permissions

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