Howdy. I was hoping to learn how sites " freeze" its font sizing by not allowing your browser to increase the size of font text. I have noticed inside site I was currently designing that some of the layouts go quite bad with enlarging. We have also noticed of which on other sites while you attmept to enhance the font, this doesn’t happen.
will anyone know this kind of trick
site showcased: www. beauplexa. com / world wide web. tattoo-off. com
thanks earlier.
Olivia
Cascading style sheets….
< style>
p font-size: 20px;
< /style>
< p> this can be my text< /p>
Sean
Many thanks!! I can discover it will do just as well, one more q unless you mind terribly, do I really need to set that up before every font sizing change
I believe i know the result, but I want to make sure-
once more, thank you a great deal.
No, you’d normally either code it in to the page using the actual < style> tag as above, or save that to an external file and then put < website rel=" stylesheet" href=" filename. css" type=" text/css" /> in the top of each and every page.
In the event you define it while p then anything between p tags can acquire that model by default… in the event you define it around as body then anything around the page will buy that style by simply default… if an individual define it while. myname then you’ll want to apply the model manually where you absolutely must have it etc.
Elements inherit, so (for example) in the event you defined td then that might override the settings to get a table, would override the settings for any page body and so on. etc. etc.
Worth working with a browse around to get a CSS tutorial…. takes a while to click, but really worth it.
Sean
Many thanks Sean that allows, but what related to where a font width changes
I’ll also look towards css, ty.
Where a font size changes you can define custom models…
< html>
< head>
< style>
body
font-size: 15px;
p
font-size: 40px;
colour: red;
. headertext
font-size: 30px;
font-weight: strong;
. littletext
font-size: 10px;
< /style>
< /head>
< body>
< font class=" headertext" > This can be my Header< /font>
< br />
< font class=" littletext" > This can be very little< /font>
< br />
Which is normal
< p> This can be in a p label, hence uses p definitions< /p>
< /body>
< /html>
… which is the basic rule…
Sean
many thanks, I think it will take a while to me to get the idea working right, i am trying to squeeze tags around a number of text, but for some reason it’s applying on the wrong text. *sigh*.