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

CSS font size help

Status
Not open for further replies.

TheCandyman

Technical User
Sep 9, 2002
761
US
I have a external CSS, i am calling it in my page, but i can't seem to make it use the font size i want. It positions it, it also changes the font type, but i just can't get it to work with font-size.... HELP!!

***** External CSS ********
.qtable {LEFT: 17px; TOP: 145px; POSITION: absolute; font-size: 7pt; font-family: verdana}


****** Area calling it *****
<DIV class=&quot;qtable&quot;>
<table width=&quot;123&quot; height=&quot;175&quot; border=&quot;0&quot; cellspacing=&quot;2&quot; cellpadding=&quot;0&quot;>
<tr><td valign=&quot;top&quot;>
 <a href=&quot;tdc3000/IOP/IOP.htm&quot;
onMouseOver=&quot;window.status='IOP & FTA'; return true&quot;>IOP & FTAs</a><br>
...
...
--code--
...
</td></tr>
</table>
</DIV>


 
Hsve you tried using class within the table tag...

<table width=&quot;123&quot; height=&quot;175&quot; border=&quot;0&quot; cellspacing=&quot;2&quot; cellpadding=&quot;0&quot; class=&quot;qtable&quot;>

HTH....
 
Silly question but does the verdana font allow 7pt? Try at a higher pt value and see what happens.

--------------------------------
If it ain't broke, don't fix it!
 
I just tried and did not work for me...I usually separate my table and font displays...so I do not know if that is an issue here..
 
I changed it so it kind of works

**** external file *******
.qtable {LEFT: 17px; TOP: 145px; POSITION: absolute; font: verdana 10pt}

It looks fine on one two of my machines. but on two of my other machines it doesn't work. WTF, They are all using IE 5.5 or 6. I thought CSS was to set the default font, but it's not working!!! I checked and they all have their font set to default ( View > Text Size > ) So similar comps, same IE settings, same Web page, but 2 work and 2 don't. /???????????????
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top