Web Design Stuff
HTML Tutorials    CSS Tutorials    Web Hosting   Resources
Create a Web Page 101
Making Web Pages Intro What is a Web Page? Why Make a Web Page? The History of HTML Learn HTML or XHTML?
Basic HTML
Basic HTML Tutorials Basic HTML Necessities How to Make a Web Page How to Edit a Web Page The Basics of HTML Tags Basic HTML Page Structure HTML Attributes
HTML Font Codes
HTML Font Codes Intro HTML Font Color Codes HTML Font Size Codes HTML Font Style Codes HTML Bold/Italic Codes Combining Font Codes
Formatting Text
Formatting Text Intro Making Paragraphs Miscellaneous Formatting Headings & Subheadings Creating Hyperlinks
Using Graphics
Using Graphics on the Web Add Graphics to Your Pages Graphics and Accessibility How to Align Graphics Page Color & Background Graphics as Hyperlinks Horizontal Rules
Creating Tables
HTML Tables Tutorials HTML Table Fundamentals Background & Border Color Table Frames & Rules Table Width and Alignment Cells 1 -Space & Alignment Cells 2 -Row Column Span Cells 3 -Width & Height
Making Lists
HTML Lists Tutorials Bulleted Lists Numbered Lists Definition Lists
HTML Frames
HTML Frames Tutorials Using Frames for Layout Advanced Frame Layouts Putting Hyperlinks in Frames Frame Border Width Color, Margin and Control Problems with Frames SmartFrames: A Solution SSI: An Alternative to Frames
Web Page Forms
Making Feedback Forms A Simple Feedback Form Installing NMS FormMail Debugging Your Setup My Web Host is Out to Lunch User Input Components Text Fields Checkboxes & Radio Buttons Dropdown Menus Push Buttons Layout and Presentation
Basic CSS
Basic CSS Tutorials What is CSS? Why You Should Use CSS How to Use CSS Inline Styles Embedded Style Sheets External Style Sheets Class Selectors ID Selectors Combining Selectors
CSS Properties
CSS Properties Intro Font Styles Width, Height & Spacing Borders Backgrounds Position Float & Alignment Hyperlinks
All About Web Hosting
Hosting Your Own Website What is a Web Host? Your Website's Home Page Building a Website Offline About Free Web Hosting Best Free Web Hosting Commercial Web Hosting How to Get a Domain Name Ecommerce Web Hosting Web Hosting Terminology
Free Web Design Tools
Best Free Website Tools Best Free Text Editors Best Free Graphics Editors Free Website Analysis Tools
Setting Up HTML Kit
HTML Kit Introduction How to install HTML Kit Screenshot Breakdown Basic Configuration Overall Appearance Shortcuts and Startup Editing Window Customizing Toolbars Using the Favorites Tab Making a New Actions Bar Odds and Ends
Free Templates
Free Website Templates Two Column Fixed Width Three Column Liquid Layout Miscellaneous Templates Dynamic Menu Effects Two Column Experimental Terms of Use About These Templates
Website Templates Help
Getting Started Template Zip File Download How to Edit Your Template What to Edit in the HTML How to Add Your Logo Making a Website
Web Design Tips
Web Design Basics Tables vs. Tableless Using Tables for Layout Example Table Layouts World's Crappiest Web Page
Twitter Backgrounds
Twitter Backgrounds Intro Cool Twitter Backgrounds Cool Twitter Backgrounds 2 Plain Twitter Backgrounds Dark Twitter Backgrounds Best Twitter Backgrounds Cute Twitter Backgrounds Music Twitter Backgrounds Music Twitter Backgrounds 2 Twitter Backgrounds 101 TERMS OF USE
All About Web Browsers
What is a Web Browser? Mozilla Firefox Internet Explorer Opera How to Set Up Firefox Top 5 Firefox Extensions
 
Contact
Post Some Feedback Send Me An Email Iron Spider Blog About Iron Spider... Site Conventions
 
 
 

 

CSS Properties

 
This section of Iron Spider is devoted to my go-to list of CSS properties that were highly instrumental in the making of this website. Be advised that this is in no way, shape or form an exhaustive list of CSS properties and values. Therefore headings like 'Some Possible Values' should be taken literally (operative word: Some). The property lists are categorized according to thier functions.

Here's a list of the categories:
  • Font Styles
  • Dimensions, Padding & Margin
  • Borders
  • Backgrounds
  • Position
  • Float & Alignment
  • Hyperlinks
Below you'll find all the property lists covered in this section. Each list also has a page of its own that you can visit for some comprehensive notes and examples on what the properties do, how they work and which HTML elements they apply to.




Font Styles



CSS Properties List 1 - Font Styles
Property NameSome Possible ValuesWhat It Does
font-family(Any font name)Sets the text typeface
font-size15px | 12pt | 0.5emSets the text size
font-weightbold | normalSet bold typeface?
font-styleitalic | normalSet italics typeface?
background(Any color) | url('example.jpg')Sets background
color(Any color)Sets the text color
line-height17px | normalSets line spacing


MORE...





Dimensions, Padding and Margin



CSS Properties List 2 - Dimensions, Padding and Margin
Property NameSome Possible ValuesWhat It Does
width400px | 70%Sets width
height400px | 70%Sets height
padding10px | 5%Set padding on all 4 sides
padding-top10px | 5%Set padding on top
padding-bottom10px | 5%Set padding on bottom
padding-left10px | 5%Set padding on left side
padding-right10px | 5%Set padding on right side
margin10px | 5%Set margin on all 4 sides
margin-top10px | 5%Set margin on top
margin-bottom10px | 5%Set margin on bottom
margin-left10px | 5%Set margin on left side
margin-right10px | 5%Set margin on right side


MORE...





Borders



CSS Properties List 3 - Borders
Property NameSome Possible ValuesWhat It Does
border1px solid blackDefines all borders
border-top1px solid blackDefines top border
border-bottom1px solid blackDefines bottom border
border-left1px solid blackDefines left border
border-right1px solid blackDefines right border


MORE...





Backgrounds



CSS Properties List 4 - Backgrounds
Property NameSome Possible ValuesWhat It Does
background(All background properties at once)Sets background
background-color(Any color)Background color
background-imageurl('example.jpg')Background image
background-repeatrepeat-x | repeat-y | no-repeatTile background?
background-positiontop left | 50% 100%Position?
background-attachmentfixed | scrollFixed or scroll?


MORE...





Position



CSS Properties List 5 - Position
Property NameSome Possible ValuesWhat It Does
positionrelative | absolute | fixedSets type of positioning
top20px | 10%Offsets element from top
left20px | 10%Offsets element from left
bottom20px | 10%Offsets element from bottom
right20px | 10%Offsets element from right


MORE...





Float & Alignment



CSS Properties List 6 - Float & Alignment
Property NameSome Possible ValuesWhat It Does
floatleft | rightAligns block element
text-alignleft | center | right | justifyAligns text


MORE...





Hyperlinks



CSS Properties List 7 - Hyperlinks
Property NameSome Possible ValuesWhat It Does
text-decorationunderline | overline | noneIs the link text underlined?
cursorcrosshair | default | helpSets the mouse pointer style
background(Any color)Rollover background color
displayblock | inlineSet link as block element?


MORE...





See also:
  • How to Use CSS - An Overview
  • Inline Styles
  • Embedded Style Sheets
  • External Style Sheets
  • Class Selectors

External resources:
  • Official CSS2 Specification Property Index




Best Free Stuff
for webmasters

Free Text Editors
Free Graphics Editors
Website Analysis Tools
Free Website Templates

See also:

Best Free Web Hosting
How to Make a Web Page

 

If you need a .COM web address, you can get one quick and easy at...

www.GoDaddy.com
CSS HOME TOP NEXT ~>
 
HTML Tutorials |  CSS Tutorials |  Web Hosting |  Domain Names |  Web Design Resources
Iron Spider © Copyright 2004-2011 Robert Darrell