Home
Flashcards
Preview
XHTML Lesson 5 CSS
Home
Get App
Take Quiz
Create
What is CSS?
CSS stands for
C
ascading
S
tyle
S
heet.
CSS allows web designers to set up pre-defined styles which can then be assigned to every page, or specific componants within that site.
What types of CSS are there?
there are three styles of CSS:
Internal
,
external
and
inline
.
What order are styles applied?
Browser
,
external CSS
,
internal CSS
and
inline
.
How are style rules formatted in the
<head>
?
<style type=
text/css
>
h1
{
font-size
:
12
;
color
:
red
}
</style>
selector{property1: value; property2:value}
What is a
<div>
tag and how is it used?
the
<div>
tag defines a division or section in a HTML document.
The
<div>
tag is often used to group block elements to format them with styles.
<div id=
"box"
>
text in a box
</div>
.
box
{
position:
absolute
;
left:
100px
;
top:
150px
;
width
:
1
00%
;
height:
25%
;
border-style:
dotted
;
border-color:
blue
;
}
The Box Model:
---------
Margin
-----------
Border
-----------
Padding
-----------
Content
-----------
Author
mal808
ID
60252
Card Set
XHTML Lesson 5 CSS
Description
CSS notes from class
Updated
2011-01-17T16:41:34Z
Show Answers
Home
Flashcards
Preview