Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Text size in browser 1

Status
Not open for further replies.

bobdylan

Technical User
Mar 7, 2001
83
GB
Please can you let me know how I can stop the user from changing the size of the text on my website pages (View-Text Size). I am using Dreamweaver3 and IE5. I have searched through the FAQs on this site but with no luck. Please HELP!!

 
You can't stop someone from doing that.

Greg.
 
Actually I think there is a way to achieve this - you need to use Cascading Style Sheets to define your text size, and as far as I can remember, putting an absolute value in as a text size in the CSS renders the view text size option useless. I THINK that works (it's a long time since I did it because in general it is bad design to stop people changing the size of text) so if it doesn't work just say so and we'll see what else there is...

Stuart
 
Thanks Stuart

I have used your method and seems to work well, how do you import the CSS styles into each page though? At the moment I have to set them all up in each individual page.
 
dont define the css in each page create a css file and link that to all the pages thereby ur code remains common and if you change it there then it is implemented allover
Unicorn11
unicorn11@mailcity.com

[red]Luck is not chance, it's toil; fortune's expensive
smile is earned.[red]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top