homepage Welcome to WebmasterWorld Guest from 54.237.98.229
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: not2easy

CSS Forum

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

10+ Year Member



 
Msg#: 4270367 posted 12:54 am on Feb 22, 2011 (gmt 0)

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]

 

Topshed71



 
Msg#: 4270367 posted 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

webprutser



 
Msg#: 4270367 posted 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.

Vrindavan

10+ Year Member



 
Msg#: 4270367 posted 10:34 am on Feb 22, 2011 (gmt 0)

Thanks all

problem solved.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved