Click to See Complete Forum and Search --> : Text
David Harrison
12-20-2002, 03:58 PM
If I use <font szie="3">Hello</font> then the actual size of the text can be changed by clicking on Veiw - Text Size - (and then one of the five options).
I want to design a page for a specific size of text and sod everyone who can't read it, how would I make it so that the size of the text could not be changed.
Beach Bum
12-20-2002, 05:14 PM
don't think you can do that.
<font style="font-size:12pt">Hello</font> should do the trick for you.
Make an CSS Style into the head of the document, for example:
<style type="text/css">
<!--
body,td,p {
font-family:arial,verdana,helvetica;
font-size:11px;
color:black;
}
-->
</style>
You don't must to descript the tag 'font' any longer (only if you wanna make a bigger size for one, but you can also use h tags (h1 or..)).
For other tags make new classes!
Beach Bum
12-21-2002, 03:06 PM
even when you specify the font size IE6 still resizes it.
Originally posted by Beach Bum
even when you specify the font size IE6 still resizes it.
Are you sure you don't mean NS? If I set up styles, IE6 doesn't let me chage the size, but NS7 does.
Beach Bum
12-21-2002, 04:20 PM
Are you sure you don't mean NS? If I set up styles, IE6 doesn't let me chage the size, but NS7 does.
it does on my IE6. now i am using external style sheets, but that should not make a difference.
Try http://www.infinitypages.com/webdesign.html and let me know if you can resize you text in IE6
Beach Bum
12-21-2002, 10:34 PM
no - does not resize
Thought so..Here is part of my external stylesheet from my site.
P {
font-size : 10pt;
}
BR {
font-size : 10pt;
}
LI {
font-size : 10pt;
}
body {
font-size : 10pt;
font-family : Arial, Tahoma, Verdana, Geneva;
background-color : White;
color : #000000;
}
Beach Bum
12-21-2002, 11:15 PM
interesting -
the only difference i see is that in my sheet i was using class rather than id. part of my sheet copied below:
P.heading1 {
color: #B9000C;
font-size: 24px;
font-weight: bold;
text-align: center;
}
P.heading2 {
color: #B9000C;
font-size: 18px;
font-style: italic;
text-align: center;
}
IE6 resizes that when i use
<p class="heading1">
David Harrison
12-22-2002, 08:46 AM
Thanks for all of your help, and thank-you swon for taking note of my message but unfortunately I know nothing about css, only html and a little javascript.
Try taking a look at http://www.infinitypages.com/test.htm. I used your code and IE doesn't let me resize. Hmm...
David Harrison
12-22-2002, 09:22 AM
thanks for the address pyro but the address does not exist, are you sure that you got the address right?
Sorry. There was a period after the URL and the forums left that as part of the address. Here you go. http://www.infinitypages.com/test.htm
Beach Bum
12-22-2002, 10:50 AM
interesting - i had not tried a test with just a part of my style sheet. there must be something else in my sheet that is causing IE to get confused and allow resizing.
if i get really bored some day i may play around with it (taking things out) and see what is doing it. it could get complicated as the page i was "testing" with was a live page that has several external style sheets and some internal styles as well. i do know that the class is NOT repeated in any other place so there SHOULD be no conflict.
but . . . to the point of this thread.
1) you are obviously right in the way it is supposed to work.
2) IE6 still has bugs in styles (which we already knew).
Originally posted by Beach Bum
2) IE6 still has bugs in styles (which we already knew).
Yes, I've had problems with this is the past, expecially when using class or id.