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

CSS in non supporting browsers

Status
Not open for further replies.

terrydoughty

Technical User
Aug 31, 2000
145
GB
I am new to CSS stlye sheets. I want to set the font size and I have achieved this BUT

how does one ensure that non css supporting browsers display text in a certain font size/type?

Hope I am not too sipmple in this question.

TerryD
 
use a font tag.

<font size=-1> (a small font)

jared@aauser.com
 
Wow, that was quick!

in the following where would you place the font tag?

<STYLE TYPE=&quot;text/css&quot;>
p{ color: black; font-size: 10pt; font-weight:bold; font-family: arial }
-->
</STYLE>

</head>

<body bgcolor=&quot;#0000FF&quot; link=&quot;#FFFFFF&quot; vlink=&quot;#FFFF00&quot; alink=&quot;#FF9900&quot;>

<div align=&quot;center&quot;>
<center>

<table BORDER=&quot;1&quot; CELLSPACING=&quot;0&quot; BORDERCOLOR=&quot;#000000&quot; CELLPADDING=&quot;2&quot; WIDTH=&quot;462&quot;>
<tr>
<td WIDTH=&quot;454&quot; HEIGHT=&quot;16&quot;>
<p align=&quot;center&quot;>
<font color=&quot;#FFFFFF&quot; face=&quot;Arial&quot;>Below are the Area Groups and their Councillors</font>
</p>
</td>
</tr>
<tr>
<td WIDTH=&quot;454&quot; HEIGHT=&quot;16&quot;>
<p align=&quot;center&quot;>
<font color=&quot;#FFFFFF&quot; face=&quot;Arial&quot;>By clicking on the Area you will be taken to the
relevant list of Chapters in that area</font>
</p>
</td>
</tr>
</table>

</center>
</div>
<div align=&quot;center&quot;>
<center>

<table BORDER=&quot;1&quot; CELLSPACING=&quot;0&quot; bordercolor=&quot;#00FF00&quot; CELLPADDING=&quot;2&quot; WIDTH=&quot;460&quot; height=&quot;2329&quot;>
<tr>
<td WIDTH=&quot;954&quot; HEIGHT=&quot;16&quot; colspan=&quot;5&quot; bgcolor=&quot;#000000&quot;>
<b><p><font FACE=&quot;Arial&quot; COLOR=&quot;#ffff00&quot;>
<p ALIGN=&quot;CENTER&quot;>AREA COUNCILLORS</font></b>
</td>
</tr>
<tr>
<td WIDTH=&quot;42&quot; BGCOLOR=&quot;#00ff00&quot; HEIGHT=&quot;28&quot;><b><u><font FACE=&quot;Arial&quot; COLOR=&quot;#000000&quot;>
<p ALIGN=&quot;LEFT&quot;>Area Ref</font></u></b></td>
<td WIDTH=&quot;91&quot; BGCOLOR=&quot;#00ff00&quot; HEIGHT=&quot;28&quot;><b><u>
<p ALIGN=&quot;center&quot;><font FACE=&quot;Arial&quot; color=&quot;#000000&quot;>
Area Covered</font></u></b></td>
<td WIDTH=&quot;845&quot; BGCOLOR=&quot;#00ff00&quot; HEIGHT=&quot;28&quot; colspan=&quot;3&quot;><b><u>
<p ALIGN=&quot;center&quot;><font FACE=&quot;Arial&quot; color=&quot;#000000&quot;>
Councillor</font></u></b></td>
</tr>

Excuse my naivety!


 
you place it around text that you want to be that size. adam@aauser.com
 
place font tags around the text you are trying to change the font of. you may want to only place these font tags if the browser doesn't support css... jared@aauser.com
 
I think I have set all the page to be displayed at 10pt font by using the CSS stylesheet.

I want to ensure that the browser will display at 10pt even if it doesn't support CSS - If I use a <font size 10pt> at the beginning and </font size> at the end of the page will that do it??

Sorry to be so thick!
 
<font size=&quot;3&quot;>text you want to be this size</font> adam@aauser.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top