Welcome to WebmasterWorld Guest from 54.145.246.183

Forum Moderators: not2easy

how to edit this css code to adjust the font size ?

   
12:54 am on Feb 22, 2011 (gmt 0)

10+ Year Member



how to edit this css code to adjust the font size ?
for example, I wish to make it to display " Vedana 12 "

--------------------

<style type="text/css">
.coupon_feed_js_item_title {font-size: 90%; padding: 10px 0 10px 0;}
.coupon_feed_js_item_title:hover {font-size: 90%; padding: 10px 0 10px 0;}
.coupon_feed_js_item_description {font-size: 90%;}
.cf_image {padding: 2px 2px 2px 0;}
.cf_description_text {font-size: 90%;}
.cf_expiration_label {font-size: 90%; font-weight: 600;}
.cf_expiration_text {font-size: 80%;}
</style>
<script type="text/javascript" src="http://www.example.com/coupons/coupon_feed.php?cfi=19917&amp;pw=212"></script>

---------------

Thanks for help

[edited by: alt131 at 7:10 pm (utc) on Jul 9, 2011]
[edit reason] Examplifying src [/edit]

9:28 am on Feb 22, 2011 (gmt 0)



Hi Vrindavan,

One way is to change {font-size: 90%; .... to 12px
and possibly font-size: 80%; .... to 11px



<style type="text/css">
.coupon_feed_js_item_title {font-size: 12px; padding: 10px 0 10px 0;}
.coupon_feed_js_item_title:hover {font-size: 12px; padding: 10px 0 10px 0;}
.coupon_feed_js_item_description {font-size: 12px;}
.cf_image {padding: 2px 2px 2px 0;}
.cf_description_text {font-size: 12px;}
.cf_expiration_label {font-size: 12px; font-weight: 600;}
.cf_expiration_text {font-size: 11px;}
</style>


Topshed71
9:31 am on Feb 22, 2011 (gmt 0)



You want to replace font-size 80/90% by a specified font in a specified size?
That would be in case of Verdana, 12
{font-family: Verdana; font-size: 12px;}
In case you specify a font-family composed by two or more words you place it between quotes, for example "Times New Roman". I hope this is the information you were looking for.
10:34 am on Feb 22, 2011 (gmt 0)

10+ Year Member



Thanks all

problem solved.
 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month