I'm trying to get something like: $40/hour but making the $40 font bigger than the /hour. I am using
and for some reason, it makes the /hour move to the next line . How can I proceed with this? >-<
<div class="pricechart" style="text-align: center;">
<div class="pricechart-hourly" style="width:250px; border: 1px solid #ccc; text-transform: uppercase; border-radius: 25px!important; overflow: hidden; margin: 10px 5px 5px 10px; display: inline-block; float: left;">
<div class="pricechart-header" style="background-color: #f15b5d; padding: 5px 0px 5px 0px; overflow: hidden;">
<h5 style=" color: #fff; text-transform: uppercase; font-size: 20px;">Hourly</h5>
</div>
<div class="pricechart-price">
<p style="font-size: 30px; color: #9B9B9B;">$40</p><p style="color: #afafb6;">/hour</p>
</div>
<p style="color: #878792; text-transform:none;">Best option short-term uses </p>
</div>
<div class="pricechart-daily" style="width:250px; border: 1px solid #ccc; text-transform: uppercase; border-radius: 25px!important; overflow: hidden; margin: 10px 5px 5px 10px; display: inline-block; float: left;">
<div class="pricechart-header" style="background-color: #44bbb7; padding: 5px 0px 5px 0px; overflow: hidden;">
<h5 style=" color: #fff; text-transform: uppercase; font-size: 20px">Daily</h5>
</div>
<p style="font-size: 30px; color: #9B9B9B;">$40</p><p style="color: #afafb6;">/daily</p>
<p style="color: #878792; text-transform:none;">Best option short-term uses </p>
</div>
<div class="pricechart-weekly" style="width:250px; border: 1px solid #ccc; text-transform: uppercase; border-radius: 25px!important; overflow: hidden; margin: 10px 5px 5px 10px; display: inline-block; float: left;">
<div class="pricechart-header" style="background-color: #16A085; padding: 5px 0px 5px 0px; overflow: hidden;">
<h5 style=" color: #fff; text-transform: uppercase; font-size: 20px">Weekly</h5>
</div>
<p style="font-size: 30px; color: #9B9B9B;">$40</p><p style="color: #afafb6;">/weekly</p>
<p style="color: #878792; text-transform:none;">Best option short-term uses </p>
</div>
<div class="pricechart-monthly" style="width:250px; border: 1px solid #ccc; text-transform: uppercase; border-radius: 25px!important; overflow: hidden; margin: 10px 5px 5px 10px; display: inline-block; float: left;">
<div class="pricechart-header" style="background-color: #9b8ade; padding: 5px 0px 5px 0px; overflow: hidden;">
<h5 style=" color: #fff; text-transform: uppercase; font-size: 20px">Monthly</h5>
</div>
<p style="font-size: 30px; color: #9B9B9B;">$40</p><p style="color: #afafb6;">/monthly</p>
<p style="color: #878792; text-transform:none;">Best option short-term uses </p>
</div>
</div>