[advanced search]
Results from the most recent live auction are here.
21 members in the live chat room. Join Chat!
Register Rules & FAQ NP$ Store Active Threads Mark Forums Read
Go Back   NamePros.Com > Design and Development > Programming > CODE
User Name
Password

Old 11-06-2005, 02:36 PM   · #1
Albino
Munky Designs
 
Trader Rating: (11)
Join Date: May 2005
Posts: 984
NP$: 406.00 (Donate)
Albino is a jewel in the roughAlbino is a jewel in the roughAlbino is a jewel in the rough
fonts in css

hey

im using css more and more now, but its a pain.

In firefox, it displays fine, in ie it doesnt. Ive read on w3 schools that the code im using works in ie v3 +, so ive no idea whats wrong. Pretty much, its the text size.

The code is:



Code:
font.maintext{ color: #FFFFFF; font-size: small; } font.footertext{ color: #FFFFFF; font-size: x-small; }


in firefox, the text size is small and nice, in ie, it is the same size as firefox's medium, and the x-small is the same size as firefox's small.

Which is annoying. has anyone got any suggestions?

oh, and also, how do i set the font in css? ive tried font-family: Veranda; , font: Veranda; and font-face: Veranda;, but none worked.

cheers if anyone can help, theres NP$ in it for anyone that does


Please register or log-in into NamePros to hide ads
Albino is offline   Reply With Quote
Old 11-06-2005, 03:00 PM   · #2
def1
Senior Member
 
def1's Avatar
 
Trader Rating: (16)
Join Date: May 2005
Posts: 1,536
NP$: 293.00 (Donate)
def1 has a spectacular aura aboutdef1 has a spectacular aura about
i would suggest using px. or pt. for better font size

like if you want your font small i suggest using 10 px or 11 px
__________________
Did you try my toolbar? Works in Firefox and IE!
http://www.bumrecords.net - Fun Games, Music, Discussion, And Much More!
upload˛
•Pick the Web Hosting Company most NamePros Members Use Pick Chronichosting!•
def1 is offline   Reply With Quote
Old 11-06-2005, 04:59 PM   · #3
HHDomains
Senior Member
 
Location: Canada
Trader Rating: (23)
Join Date: May 2004
Posts: 1,666
NP$: 381.00 (Donate)
HHDomains is a glorious beacon of lightHHDomains is a glorious beacon of lightHHDomains is a glorious beacon of lightHHDomains is a glorious beacon of lightHHDomains is a glorious beacon of light
Or you could use a percentage.

For instance font-size:75% etc.
__________________
Hampshire Hosting
Affordable Shared and Reseller Hosting
Hampshire Graphics
Affordable banners, logos, business cards and more.
HHDomains is offline   Reply With Quote
Old 12-03-2005, 05:31 PM   · #4
mch
NamePros Regular
 
Location: EU
Trader Rating: (1)
Join Date: Nov 2005
Posts: 248
NP$: 50.00 (Donate)
mch is on a distinguished road
That's Verdana and not Veranda BTW, it's recommended to define a generic font family in case the desired font is not installed on the user's computer.

Code:
font-family: Verdana, sans-serif;


Oh and please use pixels for size.
mch is offline   Reply With Quote
Old 12-04-2005, 02:42 AM   · #5
Joe
NP Twin™
 
Joe's Avatar
 


Name: Joe
Location: Kent ~ U.K.
Trader Rating: (46)
Join Date: Oct 2005
Posts: 2,989
NP$: 1432.87 (Donate)
Joe has much to be proud ofJoe has much to be proud ofJoe has much to be proud ofJoe has much to be proud ofJoe has much to be proud ofJoe has much to be proud ofJoe has much to be proud ofJoe has much to be proud of
Save The Children
i use pixels in my css... it works on all broswers
i haven't used precentage before... so just use pixels
Joe is offline   Reply With Quote
Closed Thread

NamePros is a revenue sharing forum.

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SUMMER SALE] HIGH quality Templates (Business, Hosting+) html psd flash dixiy Web Development Wanted 0 07-14-2005 09:39 AM
[FS] 30+ HIGH QUALITY Templates, Icons, Logos! Flash, PSD, Hosting, Gaming, Business+ dixiy Web Development Wanted 0 06-27-2005 11:33 AM

Site Sponsors
http://www.mobisitetrader.com/ http://www.mobisitetrader.com/ Get Your Site Linked at LinkedKeywords.com
Advertise your business at NamePros
All times are GMT -7. The time now is 07:18 AM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0