|
#1
|
||||
|
||||
|
Surfer Enlarge Text
Is there a way I can create a button on a webpage that will enlarge the text size? If so how?
Thanks
|
|
#2
|
||||
|
||||
|
check this out
__________________
Dan Registered Linux User #382181 - Don't be irreplaceable; if you can't be replaced, you can't be promoted. posting tips - cth tos - how to post hijackthis log |
|
#3
|
||||
|
||||
|
That looks like what I want...but I don't understand how to set the key to use to raise/lower the text size. Can you explain it to me?
Thanks |
|
#4
|
||||
|
||||
|
Sorry, I am not that familiar particular feature to help. You can find another way to do it here and look at the source code.
__________________
Dan Registered Linux User #382181 - Don't be irreplaceable; if you can't be replaced, you can't be promoted. posting tips - cth tos - how to post hijackthis log |
|
#5
|
||||
|
||||
|
If it is for you to incorporate into your website then you can also use CSS + DHTML to swap styles.
e.g. you have a style with larger text that can be implemented by a link. http://tech.irt.org/articles/js065/index.htm
__________________
Cheers, Degs Please post back with your results CTH Terms of Use CTH Subscriptions :: Adaware Guide :: HijackThis |
|
#6
|
||||
|
||||
|
Thanks...I'll look into that
|
|
#7
|
||||
|
||||
|
You can use a JavaScript and alternate style sheets like the ones at
Wired News. (The text is resized with the links at upper right.) I looked in the source of the js file they use and found this link: http://www.alistapart.com/articles/alternate/ Pretty informative but looks like a lot of bother. I prefer to use style attributes for font-size that can be resized by users in the View menu. Use relative sizes like x-small, small, medium, etc. If you use sizes like 8pt, 10pt, etc they won't resize. Good luck.
__________________
Moderator for Website&Graphics and Jokes Forums (Dan, I am) The W3C HTML Markup Validation Service | The W3C CSS Validation Service If we have helped you, please consider supporting Cyber Tech Help with a subscription. ~ ~ ~ There is a road, no simple highway, Between the dawn and the dark of night, And if you go no one may follow, That path is for your steps alone. (Hunter/Garcia) |
|
#8
|
||||
|
||||
|
Thanks
|
![]() |
| Bookmarks |
«
Previous Topic
|
Next Topic
»
| Topic Tools | |
|
|
All times are GMT +1. The time now is 03:42 AM.
[
RSS ]








