Jump to content

change the viewed text size of the "BROWSER" through the coding of the page


Recommended Posts

To be honest, actually, i dont know where this belongs to exactly, if i posted this in the wrong place, please correct me.
What i want to do is to optimize the view size of the browser, however, through the coding of the page, I believe there is a way to do that, because some page's text looks bigger than other pages, however, their html code size fonts are the same. (ie. <font size=4> something like this).
Yeah, if you dont understand please reply to this.
what does it mean by doing dynamatically? because I imported a script that ready-made, and its font size seems to be bigger than my other pages, so I want to change it in order to make them all look the same, but the script is quite long and if I know what function does that, it might be easier for me to find it.
Thanks, Ted.
try using % as your font sizes in your css.

Or use js to detect window size and switch style sheets accordingly.

I personally use just one style sheet with three body selectors of a different class but same id. give them all different font-size attributes in ems or % then switch the class name based on result of screen size check.
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.