English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

what is it for?
width: 150px;
\width: 150px;
w\idth: 150px;

2006-09-22 04:02:10 · 9 answers · asked by Mondschein! 5 in Computers & Internet Programming & Design

who* sorry

2006-09-22 04:05:24 · update #1

9 answers

CSS is for creating styles for your html pages. These styles can include position, size, color, effects, etc.

By using CSS in an external file, the same file can be referenced on multiple pages, therefore reducing the amount of repetition between pages, in the attempt to keep them uniform in look.

In your three width examples above, the "width: 150px;" would be the standard way of giving an element the width of 150 pixels. The second two with slashes are implementing a CSS Hack, which "certain" browsers will "skip over". So for example specifying:
width: 200px;
w\idth: 150px;
all browsers will assign 200px width to the element, while only certain web browsers will then change the width to 150px if they understand the hack (with the slash). The browsers that don't understand it, will stay at 200px.

2006-09-22 05:06:17 · answer #1 · answered by clievers 4 · 0 0

its a different way to designing websites other than just html tables. Here's a site with examples of css pages http://csszengarden.com/
also that width: 150px; is the width of an item. You can makes boxes to replace tables and place items in them like that also

Like

This is the box

2006-09-22 11:06:18 · answer #2 · answered by PonderousPork 4 · 0 0

CSS is the currently accepted way of designing and adding style elements to a web page.

To find out more about the controls and how they work, look to http://www.w3schools.com/css/ This site is created by the organization that controls the HTML (and CSS) standard and say what tags, etc. are valid.

2006-09-22 11:26:13 · answer #3 · answered by John J 6 · 0 0

CSS is cascading sytlesheets.

It allows you to create a consistent look in your site.
For example you can set all table tags to have a border color of red, so that every table will have a red border. You only need to put it in one place instead of on every table.

This is typically used to create certains styles for header tags and paragraph tags. Once you create one initially, you just copy and paste it to other sites and make the few changes for your new client.

If you want to go into more detail - send me an email and I'll be more than happy to help you.

2006-09-22 11:07:58 · answer #4 · answered by irishtek 6 · 0 0

CSS in web-design stands for Cascading Style Sheets
It is used to tell the browser how to display the content of your webpages. There are three ways to use CSS

Read more about it @ - http://www.w3schools.com/css/default.asp

2006-09-22 11:07:39 · answer #5 · answered by qsexyq 3 · 0 0

CSS is for preventing repetations in web pages.
And do the same format for same things.

for the width in pixcel.

2006-09-22 11:05:15 · answer #6 · answered by iyiogrenci 6 · 0 0

I'll think about it...

http://darwin916.com

2006-09-22 11:14:27 · answer #7 · answered by helpdesk916 ♦♣♠♥ 6 · 0 2

i am unsure, but email me and we will talk about it!!!

2006-09-22 11:08:52 · answer #8 · answered by ? 4 · 0 1

CHICK WHO KNOWS WHAT?

2006-09-22 11:07:28 · answer #9 · answered by Anonymous · 1 2

fedest.com, questions and answers