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!

View Text size...??

Status
Not open for further replies.

Dre313

Technical User
Jun 4, 2003
219
US
I'm pretty new to style sheets.. in fact I only been working on them for like a week now.. what I want to know is..

when you are in your browser.. for example your ie.. and you click on view and then text size.. is there a way you can have it to where they can't change the size of the font...

When i have it on medium all the text looks fine.. but when I bump it to largest.. everything is out of wack.. IS there a way if the user clicks on the largest view that the font will remain the same ??


heres what I have..

body{
font-family: Verdana;
font-size: 10px;
color: #ffffff;
background-color: #36430D;
margin: 0px;
}
A:link {
COLOR: #ffffff; TEXT-DECORATION: none
}
A:visited {
COLOR: #ffffff; TEXT-DECORATION: none
}
A:hover {
COLOR: #556B14; TEXT-DECORATION: none
}
A:active {
COLOR: #ffffff; TEXT-DECORATION: none
}
.main {
font-family: verdana;
font-size: 10px;
color: #ffffff;
}
.header {
font-family: verdana;
font-size: 10px;
color: #556B14;
}


THanks
 
Try adding this and see if it does it:

*{
font-size: 10px;
}

That might not work, and it will not be 100% safeproof, anyway, as this is supposed to be impossible to do. But I've found that it often does work in IE....sometimes :-/.

Rick

-----------------------------------------------------------
RISTMO Designs
Arab Church
Reference Guides
 
i think it worked !! thanks alot
 
Before you fix your all text sizes like this, consider: Do you think people might have a reason for resizing your text? Not everybody has 20-20 vision, some folk need to re-size the text of web sites so they can read them.

One of the great things about the internet (when not nobbled by control-freak designers) is that surfers can configure their browsers to suit their own needs and preferences. Don't break this useful functionality unless you have to.

-- Chris Hunt
 
I see your point Chris... What other way can I adjust the view.. without having all my tables go out of wack...

I would like for it to be larger to come extent.. not to the extent of it misaligning my page...

open for suggestions..


tHanks
 
Hi Dre313,

As mentioned by others in previous posts, it's best to allow your viewers to adjust the text settings to suit their needs. The only thing you can really do to protect your design (somehwat)is to design your page to allow for an increase in text size so that slight increases won't force other things out of whack.

Of course, if someone sets their text to "largest", more than likely it's going to affect your layout, but this is a small minority that would need to do that, however a larger number would adjust the text size up from the default setting of medium to large, so I would test your design with the medium and large settings.
 
Depends what you mean by tables going "out of whack". Do you have a URL so we can see for ourselves?

It may be because you're mixing fixed-size fonts and variable ones. If so, take a look at to see how to use font size keywords size your text more flexibly.

-- Chris Hunt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top