On Wed, Jun 22, 2011 at 2:57 PM, Abdul Munim Kazia <[email protected]>wrote:
> Ofcourse, if you have different fonts sizes on the page, Yes, that is possible, define font-size in percentage check this demo again http://code.narendrasisodiya.com/web/fonts/ ` > you'll have to write a script to resize fonts based on their original size. > Shouldn't be too hard. > Abdul Munim Kazia > [email protected] > > > On 22 June 2011 14:06, Narendra Sisodiya <[email protected]>wrote: > >> So finally an evil hack >> >> $("body").css("fontSize", $(window).width() * 0.01 ); >> >> $(window).resize(function(){ >> $("body").css("fontSize", $(window).width() * 0.01 ); >> }); >> >> Set rest of the font-size in percentage. >> >> Demo : http://code.narendrasisodiya.com/web/fonts/ >> >> -- >> ┌─────────────────────────┐ >> │ Narendra Sisodiya >> │ http://narendrasisodiya.com >> └─────────────────────────┘ >> >> -- >> You received this message because you are subscribed to the Google Groups >> "HTML5 Discussion Group, India" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/html5-in?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "HTML5 Discussion Group, India" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/html5-in?hl=en. > -- ┌─────────────────────────┐ │ Narendra Sisodiya │ http://narendrasisodiya.com └─────────────────────────┘ -- Mailing list guidelines and other related articles: http://lug-iitd.org/Footer
