DTP


 
Lively discussions on the graphic arts and publishing — in print or on the web


Go Back   Desktop Publishing Forum > General Discussions > Web Design

Reply
 
Thread Tools Display Modes
Old 03-29-2008, 01:06 PM   #1
ktinkel
Founding Sysop
 
ktinkel's Avatar
 
Join Date: Oct 2004
Location: In Connecticut, on the Housatonic River near its mouth at Long Island Sound.
Posts: 11,189
Default CSS: Does this make sense?

I am working on CSS for a WordPress theme and found the following code.

Look at the declarations for font-size — why would anyone put in three sizes?

Most of it looks sensible, so I wonder if I am missing something here, but I would assume that the last statement would be applied.

Code:
body {
   margin: 0;
   padding: 0;
   font-size: 10px;
   font-size: small;
   font-size: 0.77em;
   }

   
__________________
[SIZE=2][COLOR=LemonChiffon]::[/COLOR][/SIZE]
[SIGPIC][/SIGPIC]
ktinkel is offline   Reply With Quote
Old 03-29-2008, 04:02 PM   #2
annc
Sysop
 
annc's Avatar
 
Join Date: Oct 2004
Location: Subtropical Queensland, Australia, between the mountains and the Coral Sea
Posts: 4,436
Default

I removed the first two of those (and changed the third to 0.85, IIRC). It confused me too!

   
__________________
annc is offline   Reply With Quote
Old 03-29-2008, 06:20 PM   #3
ktinkel
Founding Sysop
 
ktinkel's Avatar
 
Join Date: Oct 2004
Location: In Connecticut, on the Housatonic River near its mouth at Long Island Sound.
Posts: 11,189
Default

Quote:
Originally Posted by annc View Post
I removed the first two of those (and changed the third to 0.85, IIRC). It confused me too!
Well, of course.

But I wondered if maybe I was missing some point.

I learned something (that I should have known) from this theme: that you only need to specify size and style of borders (not necessarily the color). It is wonderfully logical: call out 1px dotted and the border will be in the same color as the item being styled. I love it!

But all those size things puzzled me. I always set font size in the body to 100%. These were not even the same!

   
__________________
[SIZE=2][COLOR=LemonChiffon]::[/COLOR][/SIZE]
[SIGPIC][/SIGPIC]
ktinkel is offline   Reply With Quote
Old 03-30-2008, 03:11 PM   #4
iamback
Member
 
iamback's Avatar
 
Join Date: Oct 2005
Location: Amsterdam, NL
Posts: 4,894
Default

You are not missing any point - it simply makes no sense. Last one wins.

The sizes may not be the same though, but all are "small" - and certainly too small for body content.

   
__________________
Marjolein Katsma
Look through my eyes on Cultural Surfaces (soon!), My ArtFlakes shop and Flickr.
Occasionally I am also connecting online dots... and sometimes you can follow me on Marjolein's Travel Blog
iamback is offline   Reply With Quote
Old 03-30-2008, 06:44 PM   #5
ktinkel
Founding Sysop
 
ktinkel's Avatar
 
Join Date: Oct 2004
Location: In Connecticut, on the Housatonic River near its mouth at Long Island Sound.
Posts: 11,189
Default

Quote:
Originally Posted by iamback View Post
You are not missing any point - it simply makes no sense. Last one wins.

The sizes may not be the same though, but all are "small" - and certainly too small for body content.
Thanks. That is what I figured.

   
__________________
[SIZE=2][COLOR=LemonChiffon]::[/COLOR][/SIZE]
[SIGPIC][/SIGPIC]
ktinkel is offline   Reply With Quote
Reply

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adobe Make PDF annoyances Michael Rowley Software 8 11-05-2007 08:17 AM
Make my logo bigger marlene The Corner Pub 1 11-02-2007 06:31 AM
How do you make accents? Michael Rowley How to Use the Forum 18 09-01-2006 06:14 PM
help me make it better! zofiaphoto Web Site Building & Maintenance 10 08-10-2006 07:10 AM
How do I make the TOC active in PDF? Michael Rowley Print Production & Automation 20 01-16-2006 01:28 PM


All times are GMT -8. The time now is 04:15 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Contents copyright 2004–2014 Desktop Publishing Forum and its members.