Pls advise how this pricing table is designed

Discussion in 'HTML & Website Design' started by mithunv, Aug 3, 2013.

  1. #1
    hi

    anybody pls advise how this pricing table is designed

    i dont know whether its a plugin or not

    http://followgram.net/services/followers/
    Code (markup):
    thanks :)
     
    mithunv, Aug 3, 2013 IP
  2. tickedon

    tickedon Member

    Messages:
    34
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    48
    #2
    They are using this theme: http://cyberchimps.com/responsive-theme/

    But the pricing plan page doesn't seem to be part of that (or at least isn't included in the demo's or listed as something included - but they don't give lots of detail on that), so I'd guess at this point that it looks like they added it themselves.
     
    tickedon, Aug 3, 2013 IP
  3. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #3
    Well, first it's not a table -- it is not tabular data with semantic relationships, so tables would be wrong.

    That said, it's built with definition lists, which is also WRONG. Seriously wrong when you realize they are using DL with no DT. You look at this grabasstastic piece of inept filth:

    <div style="clear: both;"></div>
    
    
    <div class="container">
        <div id="pricing_plan1" class="four columns">
          <dl class="plans">
              <dd class="plan_title">100 Followers</dd>
              <dd class="plan_price">$2</dd>
          </dl>
          <dl class="plan" id="one">
            <dd class="plan_features"><div class="feature_desc">100% Satisfaction!</div></dd>        <dd class="plan_features"><div class="feature_desc">No account access required</div></dd>        <dd class="plan_features"><div class="feature_desc">No need to mass follow users</div></dd>        <dd class="plan_features"><div class="feature_desc">Fast delivery</div></dd>        <dd class="plan_buy"><a href="?buy=100&cash=2" class="buy" >BUY NOW</a></dd>
          </dl>
        </div>
    
        <div id="pricing_plan1" class="four columns">
          <dl class="plans">
              <dd class="plan_title">500 Followers</dd>
              <dd class="plan_price">$3.5</dd>
          </dl>
          <dl class="plan" id="one">
            <dd class="plan_features"><div class="feature_desc">100% Satisfaction!</div></dd>        <dd class="plan_features"><div class="feature_desc">No account access required</div></dd>        <dd class="plan_features"><div class="feature_desc">No need to mass follow users</div></dd>        <dd class="plan_features"><div class="feature_desc">Fast delivery</div></dd>        <dd class="plan_buy"><a href="?buy=500&cash=3.5" class="buy" >BUY NOW</a></dd>
          </dl>
        </div>
    Code (markup):
    With a clearing DIV like it's still 2001, abuse of definition tags on things that aren't definitions with no matching terms, endless pointless classes for **** knows what, and of course the use of presentational classes -- well, let's just say somebody needs to go back and learn some HTML. ...and that's without talking the craptastic code of the entire page with idiocy like static CSS inlined in the markup, HTML 5 bloat, that halfwit "let's wrap four HTML tags in IE CC's to show how inept we really are" thing Paul Irish came up with, and of course the absolute trash markup turdpress shoves down skinners throats.

    What's there SHOULD be marked up something like this:

    <div id="pricing">
    	<h2>Followers</h2>
    
    	<div class="priceData">
    		<h3>100 Followers <span><span> - </span>$2</span></h3>
    		<ul>
    			<li>100% Satisfaction!</li>
    			<li>No account access required</li>
    			<li>No need to mass follow users</li>
    			<li>Fast delivery</li>
    		</ul>
    		<a href="/">BUY NOW</a>
    	<!-- .priceData --></div>
    	
    	<div class="priceData">
    		<h3>500 Followers <span><span> - </span>$3.5</span></h3>
    		<ul>
    			<li>100% Satisfaction!</li>
    			<li>No account access required</li>
    			<li>No need to mass follow users</li>
    			<li>Fast delivery</li>
    		</ul>
    		<a href="/">BUY NOW</a>
    	<!-- .priceData --></div>
    	
    	<!-- etc, etc, etc... -->
    	
    <!-- #pricing --></div>
    Code (markup):
    set #pricing to float wrapping (overflow:hidden and a haslayout trigger good as always), float the .priceData left and set a width on them with a margin on just one side, done.

    Of course if you actually care about people using the page you'd also not bother making it a fixed number of them per row and open up your layout semi-fluid and responsive... which is why classes like "four columns" is absolute dumbass ****. (thanks to whatever BS framework that's built around)
     
    deathshadow, Aug 4, 2013 IP
    ryan_uk likes this.
  4. ekim941

    ekim941 Member

    Messages:
    74
    Likes Received:
    7
    Best Answers:
    7
    Trophy Points:
    33
    #4
    If you look at their page source, it's all right there. I don't think it's a plugin, it's yet another framework that they have copied and pasted into the page. But, the CSS they used to create the table is right in the HTML. So, everything you need to copy this horrible design is right there (they made it easy for you) just right click on the page and select "view source".

    My favorite part is the clearfix class that they added to the css but didn't use in the html.
     
    ekim941, Aug 4, 2013 IP
  5. mithunv

    mithunv Well-Known Member

    Messages:
    827
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    130
    #5
    Hi

    thanks for the reply. i checked the source

    the code is there, but css is not in the source

    can u point me?
     
    mithunv, Aug 4, 2013 IP
  6. Enursa

    Enursa Well-Known Member

    Messages:
    263
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    100
    Digital Goods:
    1
    #6
    try to compare with zurb framework.... http://foundation.zurb.com/docs/components/pricing-tables.html

    You can download the framework and see the css.

    Hope it help you.
     
    Enursa, Aug 4, 2013 IP
  7. sarahk

    sarahk iTamer Staff

    Messages:
    28,818
    Likes Received:
    4,536
    Best Answers:
    123
    Trophy Points:
    665
    #7
    The css has to be in the source or your browser wouldn't know how to display it.

    What's your take on deathshadow's comments... I'm surprised you are pursuing this...
     
    sarahk, Aug 4, 2013 IP
  8. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #8
    Maybe this will help. Tossed together a working table-less demo:

    http://www.cutcodedown.com/for_others/mithunv/

    with easy access to the CSS used to build it, and showing it working inside a semi-fluid layout.
     
    deathshadow, Aug 4, 2013 IP
    ryan_uk and mithunv like this.