Go Back   Cyber Tech Help Support Forums > Software > Web Development & Graphic Design

Notices

Reply
 
Topic Tools
  #1  
Old January 23rd, 2004, 07:30 PM
enat66's Avatar
enat66 enat66 is offline
CTH Subscriber
 
Join Date: Dec 2001
O/S: Windows Vista
Location: Wisconsin
Age: 19
Posts: 3,089
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
Reply With Quote
  #2  
Old January 23rd, 2004, 08:52 PM
renegade600's Avatar
renegade600 renegade600 is offline
Certifiable Bum
 
Join Date: Sep 2003
O/S: Linux
Location: Jonesboro, Ar
Posts: 21,907
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





Reply With Quote
  #3  
Old January 23rd, 2004, 08:56 PM
enat66's Avatar
enat66 enat66 is offline
CTH Subscriber
 
Join Date: Dec 2001
O/S: Windows Vista
Location: Wisconsin
Age: 19
Posts: 3,089
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
__________________

Reply With Quote
  #4  
Old January 23rd, 2004, 09:08 PM
renegade600's Avatar
renegade600 renegade600 is offline
Certifiable Bum
 
Join Date: Sep 2003
O/S: Linux
Location: Jonesboro, Ar
Posts: 21,907
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





Reply With Quote
  #5  
Old January 23rd, 2004, 11:24 PM
degsy's Avatar
degsy degsy is offline
Cyber Tech Help Moderator
 
Join Date: Jul 2001
Location: North-East, UK
Posts: 22,023
Blog Entries: 1
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
Reply With Quote
  #6  
Old January 24th, 2004, 01:20 AM
enat66's Avatar
enat66 enat66 is offline
CTH Subscriber
 
Join Date: Dec 2001
O/S: Windows Vista
Location: Wisconsin
Age: 19
Posts: 3,089
Thanks...I'll look into that
__________________

Reply With Quote
  #7  
Old January 24th, 2004, 05:39 AM
rockboy's Avatar
rockboy rockboy is offline
Cyber Tech Help Moderator
 
Join Date: Aug 2002
O/S: Windows XP Pro
Location: California, USA
Posts: 2,345
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)
Reply With Quote
  #8  
Old January 24th, 2004, 04:15 PM
enat66's Avatar
enat66 enat66 is offline
CTH Subscriber
 
Join Date: Dec 2001
O/S: Windows Vista
Location: Wisconsin
Age: 19
Posts: 3,089
Thanks
__________________

Reply With Quote
Reply

Bookmarks

Topic Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 03:42 AM.

[ RSS ]