Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
If You was To Group these For Typograph..
Old 05-11-2010, 06:52 PM If You was To Group these For Typograph..
Junior Talker

Posts: 3
Name: Lj Tyson
Trades: 0
Okay, so i'm learning how to clean and catagorize up my style sheet. And, I have no clue what would go under Typography.

My guess would be all the h1-6 tags, a tags, and p tags, etc would I be right?

And, how do you categorize your style sheet? Or do you not even do that?
ljtyson is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-12-2010, 11:21 AM Re: If You was To Group these For Typograph..
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Typography refers to the text - so any styling for text would go into that category.

I do not categorize my css in that way.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 05-12-2010, 11:42 AM Re: If You was To Group these For Typograph..
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,376
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
My guess would be all the h1-6 tags, a tags, and p tags, etc would I be right?
No you wouldn't.

<h>eading elements and <p>aragraph elements are structural
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 05-15-2010, 02:19 PM Re: If You was To Group these For Typograph..
Junior Talker

Posts: 3
Name: Lj Tyson
Trades: 0
Quote:
Originally Posted by chrishirst View Post
No you wouldn't.

<h>eading elements and <p>aragraph elements are structural
Then how would you do it?
ljtyson is offline
Reply With Quote
View Public Profile
 
Old 05-15-2010, 04:36 PM Re: If You was To Group these For Typograph..
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,376
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
in sections;

common rules:
header rules:
navigation rules:

and so on.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 05-15-2010, 11:35 PM Re: If You was To Group these For Typograph..
Junior Talker

Posts: 3
Name: Lj Tyson
Trades: 0
Hm thanks! I'll do that for now on! [Just trying to keep my css clean]
ljtyson is offline
Reply With Quote
View Public Profile
 
Old 05-18-2010, 09:11 AM Re: If You was To Group these For Typograph..
Phunk Rabbit's Avatar
Ultra Talker

Posts: 255
Name: John Nerush
Location: Milton Keynes, UK
Trades: 0
Generally I use the method of:

Code:
/* CSS Reset */

/* Global Element Styles (Body, a, h1, h2, h3 etc */

/* Generic Classes (Clearing paragraph etc) */

/* Structure in the order of the HTML, i.e. Header, Navigation, Left Column, Content etc */

/* Specific Classes, Darkheading, Portfolio Images etc etc etc */

/* Any additional fixes, hacks or specific required classes and styles */
I have read about alphabetising your parametors too, I think it was either on Smashing Magazine or Nettuts.

Example:

Code:
#someId {
     width:100%;
     background:#fff url(/img/bg.jpg) no-repeat 0 0;
     z-index:10;
     color: #333;
     float:left;
}
Would become:

Code:
#someId {
     background:#fff url(/img/bg.jpg) no-repeat 0 0;
     color: #333;
     float:left;
     width:100%;
     z-index:10;
}
Although if you optimise your style sheet on launch aphabetising would become redundant, I have never found it particually useful or worth the time it takes to organise however it may be of interest to you.

Last edited by Phunk Rabbit; 05-18-2010 at 09:16 AM.. Reason: Addition
Phunk Rabbit is offline
Reply With Quote
View Public Profile Visit Phunk Rabbit's homepage!
 
Reply     « Reply to If You was To Group these For Typograph..
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.06240 seconds with 12 queries