Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

   

Reply
 
LinkBack Thread Tools Display Modes
Old 10-25-2004, 07:42 PM   #1 (permalink)
Inactive
 
Ricoool's Avatar
 
Join Date: 10-13-03
Location: wonderfull Copenhagen, DK
Posts: 1,256
iTrader: 0 / 0%
Latest Blog:
None

Ricoool is a splendid one to beholdRicoool is a splendid one to beholdRicoool is a splendid one to beholdRicoool is a splendid one to beholdRicoool is a splendid one to beholdRicoool is a splendid one to beholdRicoool is a splendid one to beholdRicoool is a splendid one to beholdRicoool is a splendid one to beholdRicoool is a splendid one to beholdRicoool is a splendid one to behold
Send a message via Skype™ to Ricoool
Question css ? text size

Anyone know

in css if you set body,th,td to 1 em, will it just adapt the browsers default and then you can use something like 1.8 or 0.9em in elements

or do you have to set a specific size like 12pt for body,th,td or html and then use ems for the rest

and do browsers render this the same way

???
Ricoool is offline  
Add Post to del.icio.us
Reply With Quote
Old 10-25-2004, 09:25 PM   #2 (permalink)
Inactive
 
Ricoool's Avatar
 
Join Date: 10-13-03
Location: wonderfull Copenhagen, DK
Posts: 1,256
iTrader: 0 / 0%
Latest Blog:
None

Ricoool is a splendid one to beholdRicoool is a splendid one to beholdRicoool is a splendid one to beholdRicoool is a splendid one to beholdRicoool is a splendid one to beholdRicoool is a splendid one to beholdRicoool is a splendid one to beholdRicoool is a splendid one to beholdRicoool is a splendid one to beholdRicoool is a splendid one to beholdRicoool is a splendid one to behold
Send a message via Skype™ to Ricoool
ups I mean set body ect. to 1em and the rest in %, not ems
Ricoool is offline  
Add Post to del.icio.us
Reply With Quote
Old 10-25-2004, 09:31 PM   #3 (permalink)
Inactive
 
evilregis's Avatar
 
Join Date: 08-06-04
Location: Ontario
Posts: 669
iTrader: 0 / 0%
Latest Blog:
None

evilregis is a jewel in the roughevilregis is a jewel in the roughevilregis is a jewel in the roughevilregis is a jewel in the roughevilregis is a jewel in the roughevilregis is a jewel in the rough
Send a message via ICQ to evilregis
My own preference is to set the font size to 100% in the body declaration then use ems to set the heights in the rest of the document.

And no they don't render the same way. Different browsers/OSes have different default font sizes. And if you set your font sizes in px then you preclude anyone using IE from being able to scale the text should they find your default choice too small to read.
evilregis is offline  
Add Post to del.icio.us
Reply With Quote
Old 10-25-2004, 09:45 PM   #4 (permalink)
Inactive
 
Ricoool's Avatar
 
Join Date: 10-13-03
Location: wonderfull Copenhagen, DK
Posts: 1,256
iTrader: 0 / 0%
Latest Blog:
None

Ricoool is a splendid one to beholdRicoool is a splendid one to beholdRicoool is a splendid one to beholdRicoool is a splendid one to beholdRicoool is a splendid one to beholdRicoool is a splendid one to beholdRicoool is a splendid one to beholdRicoool is a splendid one to beholdRicoool is a splendid one to beholdRicoool is a splendid one to beholdRicoool is a splendid one to behold
Send a message via Skype™ to Ricoool
I know about the diff. font size, specially on the mac.

just tryed it on a pc with IE, FireFox and Opera, and I dont see a difference, if I set body to 1em or 100%, and I can change the text size in the browser,

so I guess that on a pc, setting the body to 1em, the browsers default = 1em ???
Ricoool is offline  
Add Post to del.icio.us
Reply With Quote
Old 10-26-2004, 04:50 PM   #5 (permalink)
Inactive
 
seonewbee's Avatar
 
Join Date: 05-12-04
Posts: 520
iTrader: 0 / 0%
Latest Blog:
None

seonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really nice
Why don't you set the body to say 12pt and then make the rest a percentage of that, Or use all in PT sizes?
seonewbee is offline  
Add Post to del.icio.us
Reply With Quote
Old 10-26-2004, 05:08 PM   #6 (permalink)
Inactive
 
Join Date: 10-08-04
Location: threadwatch.org
Posts: 53
iTrader: 0 / 0%
Latest Blog:
None

Nick W is liked by somebodyNick W is liked by somebodyNick W is liked by somebodyNick W is liked by somebodyNick W is liked by somebody
Quote:
ups I mean set body ect. to 1em and the rest in %, not ems
yes. however, you're better off sticking to one unit type just to be certain.

>>12pt

Ack ack ack! - unclean, unclean!

pt's are a print unit.... use em's or % for best effect and usability on a web page and use pt's for print styles
Nick W is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
dynamic image in PHP: text size problem gnznroses Coding Forum 6 01-03-2006 05:54 PM
What text size in IE do u optimise for? dcristo Web Design Lobby 4 11-19-2004 01:48 PM
Google Adsense Text Size Shawn Contextual Networks 1 10-15-2004 02:51 PM
User Change Text Size Limit Coding Forum 5 06-18-2004 10:50 AM
Preventing Text Size Change ATLien Web Design Lobby 38 12-18-2003 10:31 AM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 02:37 AM.
© Copyright 2008 V7 Inc