millionaire dating

kid dating site

ireland swinging

photos swinger

uk chat adult

sm date

los angeles single women

free internet dating site

connecticut swinger

black nasty women

swinger listings

counselling for couples

one night stand dvd

date room

christian women dating

midget dating

auto friend finder

reading singles

stories swinging couples

swaping wives

sexparty ws

christian singles church

match com scams

singles organization

online dating community

singles ministry activities

dallas swinger

mature women online

singles lincoln

seniorsex

dating service washington dc

naughty woman

personal injury las vegas

dating software 7.2

tall woman dating

finderx

hawaii online dating

escourt agencies

mail order brides africa

swinging partners

asian escort atlanta

www adultfriends

ault friend finder

signature singles

emmanuelle's intimate encounters

date online services

freedatingsites

www american singles com

mature woman looking

gratis sex web cam

adultfriend finde

asian single

singles video

parents for dating

sex kontakty

san antonio swinger

finder x

transsexual prostitutes

people looking for sex

colorado dating sites

singles johannesburg

twin falls singles

kostenloser live chat

bay area online dating

friend finder review

christian singles chat rooms

mature dating sites

swinger clubs orlando

green bay singles

magazine singles

indian men dating

married women looking

senior sex dating

swinging dogging

escort chat

escort cyprus

dating single site

aldult friend finder

web sex chat

dating in lancashire

swinger web

free singles service

online dating florida

women wanting sex for

web dating services

newport beach singles

singles in bristol

swinging lifestyles

seventh day singles

internet dating profiles

singles egypt

sex contacts brighton

want sex now com

chinese dating uk

wifes looking for sex

live cricket match

tallahassee singles

jewish singles event

new york escort girls

real sex web

sex swinging

buffalo personals

cambodia singles

marketing to singles

sex date uk

www sex hunter

bi curious couples

horney men

live girls chat

vista singles

www scorts

local sex

free dating sites uk

gay chatlines

maui singles

get laid com

online dating new

one on one sex chat

1999 singles

singles san diego

chat aol com

las vegas single

six hills singles

singles groups in florida

new york swinging

dating matchmakers

table tennis singles

canadian dating online

jacksonville swinger

renconte com

cheating housewives video

dating co uk

sex show

married women personals

sexparti

mt lebanon singles

dating agencies surrey

best dating website

dating page

military dating site

gone wild girls

bangalore personals

gay phone chat line

kenco singles

dating chat rooms

site de rencontres

sex es

singles church

houston singles

dating agency midlands

cheap sex line

singles on line

www girls sex

married sex chat

uk singals

singles dances connecticut

eligible singles

golf singles dating

tall personals

horney singles

personals abbreviations

south jersey singles

mature woman looking

sexbook

swap wifes

genuine singles near

hina adult

woodland hills singles

san diego online dating

date asian men

catholic singles match

lesbian personnals

swingerchat

singles flights

view singles free

celebrity singles

singles reading

swing clubs new york

colombian dating sites

chat escort

best sex chat

lonley wives club

california call girls

online russian brides

top 5 singles

adult pro

lost friend finder

young personals

vancouver speed dating

callgirl escort

dating in online uk

yahoo personal canada

fling

site x gratuit

where to find single women

american idol singles

travel for single people

date girl

information on internet dating

sexcam chat

Starters Guide to CSS Part 1

Sazzad Hossain November 14, 2011 0
Starters Guide to CSS Part 1

CSS, abbreviation for Cascading Style Sheets, is a style sheet language that helps define how to display HTML and XML elements in a document/file. Style sheets, in general, are a very powerful tool for the web-designer. CSS gives you the ability to be completely consistent with the presentation semantics (look and feel) of your site, while giving you much more control over the layout as compared to straight HTML. It was designed primarily to enable the separation of document content from document presentation which would help provide more flexibility and control in the specification of presentation characteristics. CSS can also allow the same markup page to be presented in different styles for different rendering methods, such as on-screen, in print, by voice and on Braille-based, tactical devices.

Format and Discovery

Filename Extension: .css
Internet Media Type: text/css
Developed By: World Wide Web Consortium
Initial Release: December 17, 1996
Type of Format: Style Sheet Language
Version Release to Date: 3

Browsers and CSS

Browsers are typically designed for use of displaying general HTML and other coding languages, not really for the designing aspect. However, due to the recent web 2.0 revolution, many browsers have changed and upgraded to allow styling and beautification of websites. Even with this, not all browsers are compatible with all styling languages. CSS is a very flexible language that can provide much if used right. This language uses many commands that are not always compatible with all browsers. Getting cross-browser compatibility is a hard task. In one browser, the layout might look good, but in another, the structure might be completely disoriented. This is where the decision making comes into play. Although you can have complete full browser compatibility, it can be a big headache. Often you have to choose whether you want to go through the headache of getting it fully compatible or just ignore the issue at hand. A designer is typically faced with the decision making of choosing the focus browser (browser you test while coding your layout) and the browsers that need more attention after having it coded on one browser. I frequently use compatibility charts to help me decide my focus browser and those I need to work on after.

Getting Started with CSS Style Sheets

CSS is fairly similar to general HTML commands. You have your standard styling tags such as typography, dimensions and geometry. However, unlike HTML, CSS provides a lot more flexibility. Every designer has their own preference. I generally start off creating a browser reset style sheet (see browser reset section). I then start with defining the body tag styling and the general styling commands (such as typography, links, blockquote, code, headings, paragraphs and clearfix’s).

Although many designers would recommend you set default site sizes using the body tag, I like to leave the body tag set to auto width. The reason being, I may like to have a part of the layout that stretches 100%. If I set my body width to a set amount, then I will not get that ability to have that 100% footer width that I want in the layout. I like to containers. They provide the flexibility of having different width sizes for each portion of the layout.

In CSS you can re-define a typical tag such as p (paragraph), body, fields and h1 (heading 1). You can also create something called classes and ids designated by “.” and “#” signs respectively. A class can be used more than once on the site, however, an ID can only be called once. One thing that most designers find out the hard way is that you cannot just use number as a class or id name. The “.” or “#” must be followed by a letter. If you use a number and then a letter, it will not work.

How It Looks

This how a typical tag, class and id looks:

1
2
3
4
5
6
7
8
9
10
P { Property: Value; }
.CLASS { Property: Value; }
.ID { Property: Value; }
 
selector [, selector2, ...][:pseudo-class] {
property: value;
[property2: value2;
...]
}
/* comment */
P { Property: Value; }
.CLASS { Property: Value; }
.ID { Property: Value; }

selector [, selector2, ...][:pseudo-class] {
property: value;
[property2: value2;
...]
}
/* comment */

“Property” is the CSS element you wish to manipulate and “VALUE” represents the value of the specified property. P, CLASS and ID’s are selectors. CLASS and ID can be replaced with any name you wish to give it.

This is it for part 1 of this Starters Guide to CSS. Stay tuned for part 2.