Jump to content

Browser Re-sizing of Text


John Smart

Recommended Posts

Hi.I have an issue with my site, whereby I have been using <div> and <span> to write text, create tables etc.The issue is, that it doesn't allow the user to change the size of the text, ie, for the poor sighted person, they can't view the text in a much larger font size. Is there an attribute that gets round this? Sorry if this appears a dumb question - I'm very new to html!Thanks,John

Link to comment
Share on other sites

I think the problem stems from CSS.If you define a set font-size in pixels or points then the browser will not be able to re-size the text.But I think if you set the font-size with (em) browser text re-sizing will still work.em just increases/decreases based on default size.

Link to comment
Share on other sites

  • 3 years later...
Guest FirefoxRocks

By using the em or ex unit, you can ensure consistent sizing on all the elements on your page.However I would like to know what browser is not resizing your text. Every browser from IE5 can resize text, and IE7 introduced page zooming so I'm curious to what browser you are using.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...