468,238 Members | 2,047 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,238 developers. It's quick & easy.

what do i need css data for

hallo am a new person in the website programing world....
i one went to school and saw they were using css but i havnt been abel to understand why we need a css data when programing...
Can someone please help me out!
Jan 30 '08 #1
3 980
Death Slaught
1,137 1GB
CSS is what styles HTML, with CSS we wouldn't be able to position things, change the color of text, make drop down menu navagations like the one here on the scripts. Pages would be dull and not a pleasure to look at.

Thanks, Death
Jan 30 '08 #2
Style sheets (CSS) are a compilation of style elements (font style & color, text size, background color, page layout parameters ..... and so on) to accompany HTML/XHTML documents in order to separate content from presentation. Style sheets can be embedded in Web pages or externally linked.

Why should content be separated from presentation? -- HTML was not designed to effect presentation -- document layout -- but rather it is a language for rendering text and hyperlinks in a logical manner. Presentation elements/attributes (such as Table, Background color, Align, etc.) have been added since its inception. A great feature of externally linked Cascading Style Sheets (CSS) is the ease of page layout management they afford.

Jan 30 '08 #3
490 Expert 256MB
The excellent thing about CSS is you make one site once (with all the html and php stuff), then next time you want another site, you copy over the site as it is, and just change the CSS and hey presto you have a site up within days.

If you used the attributes of the elements you would have to more or less start all over again next time you want a different site.
Jan 30 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

137 posts views Thread by Philippe C. Martin | last post: by
12 posts views Thread by Steven T. Hatton | last post: by
43 posts views Thread by Mountain Bikn' Guy | last post: by
21 posts views Thread by Helge Jensen | last post: by
2 posts views Thread by Billy | last post: by
19 posts views Thread by Charles Law | last post: by
669 posts views Thread by Xah Lee | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by kermitthefrogpy | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.