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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fixed font size in web page regardless of browser settings

Status
Not open for further replies.

andyoye

IS-IT--Management
Mar 23, 2004
56
US
If I use medium text size for IE, my web site looks ok but if I change to large or largest text size, all the text get messed up.
Is there a way for fix the font/text size in html so even if users changes their browser setting, page stays the same?

thx
 
Yes, there is but don't you think that will annoy users who want to change the size?


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
The correct answer is to tell you to design your site so that it looks good no matter settings the user has on their browser.

The wrong answer is to tell you to give defined values to your font sizes to prevent them from changing:
Code:
<span style="font-size:12pt">I will not change font size irregardless of browser settings</span>

-kaht

Looking for a puppy?

silky-icon-left.gif
[small]Silky Terriers are small, relatively odorless dogs that shed no fur and make great indoor pets.[/small]
silky-icon-right.gif
 
I am not a programmer, I am DBA just created a webpages to connect to database.

so using span tab will fix it?

 
so using span tab will fix it?
No, giving a specified size to the content will "fix" it - as I stated in my above post.

-kaht

Looking for a puppy?

silky-icon-left.gif
[small]Silky Terriers are small, relatively odorless dogs that shed no fur and make great indoor pets.[/small]
silky-icon-right.gif
 
Thankfully, the discussions that should be kept in the Making an Impression (forum1256) are not relevant to HTML, XHTML, or CSS. Next time I'm in that forum feel free to rip apart my grammar.

-kaht

Looking for a puppy?

silky-icon-left.gif
[small]Silky Terriers are small, relatively odorless dogs that shed no fur and make great indoor pets.[/small]
silky-icon-right.gif
 
isn't "irregardless" the oppositism of regardlessness'es?

Whether your'e a DBA or not, take heed of the wise words spoken here.
Build a page to be flexible.

If we told someone to build a database table with a date column stored as a string instead of a date would you say that was good advice?
By the way that might be a rubbish example, I'm a web designer and not a DBA, but I hope you get the meaning. :)

<honk>*:O)</honk>
Foamcow Heavy Industries - Web site design in Cheltenham and Gloucester
Earl & Thompson Marketing - Marketing Agency Services in Gloucestershire
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top