diff --git a/css/fourredstars.jpg b/css/fourredstars.jpg new file mode 100755 index 0000000..ceb5918 Binary files /dev/null and b/css/fourredstars.jpg differ diff --git a/css/index.html b/css/index.html new file mode 100755 index 0000000..479bf0e --- /dev/null +++ b/css/index.html @@ -0,0 +1,212 @@ + + + + + + + CSS Tutorial + + + + + +
+ Created by Juyoung. Built this site while I was teaching myself HTML and CSS. +
+ Click Here to go to second page
+ Click Here to go to third page +

This is head 1 paragraph.

+

This is head 2 paragraph.

+

This is head 3 paragraph

+

This is a paragraph.

+ + + +

Links

+
+Black Link +
+Click this Link +
+Bring Mouse Here + +
+ Id: + +
+ Password: + + +
+ +

Some English text in a paragraph.

+ +

This para will be styled by the classes center and bold

+ + +

This text has yellow background color.

+ + +
+ This table has background image set. +
+ +
+ This table has background image which repeats multiple times. +
+ +
+ This table has background image set which will repeat vertically. +
+ +
+ This table has background image set which will repeat horizontally. +
+ + +
+ Background image positioned 100 pixels away from the left. +
+
+ +
+ This table has background image positioned 100 pixels away from the left and 200 pixels from the top. +
+ +

+ This para has fixed background image.

+ +

+ This para has scrolling background image. +

+ +

+ This para has fixed repeated background image.

+ + +

+ This text is rendered in either georgia, garamond, or the default serif font depending on which font you have at your system. +

+ +

This text will be rendered in italic style.

+ +

This text will be rendered as small caps

+ +

This font is bold.

+

This font is bolder.

+

This font is 900 weight

+ +

This font size is 20 pixels

+

This font size is small

+

This font size is large

+ +

This text is using a font-size-adjust value.

+ + +

+ Applying all the properties on the text at once. +

+ +

This text will be wrtten in red.

+ +

This text will be renedered from right to left

+ +

This text is having space between letters.

+ +

This text is having space between words.

+ +

+ This text will have first line indented by 1cm + and this line will remain at its actual position + this is done by CSS text-indent property. +

+ +

This will be right aligned.

+

This will be center aligned.

+

This will be left aligned.

+ +

This will be capitalized

+

This will be uppercase

+

This will be lowercase

+ +

This text has a line break + and the white-space pre setting tells the browser to honor it + just like the HTML pre tag.

+ + +

+ If your browser supports the CSS text-shadow property, + this text will have a blue shadow. +

+ + + +
+ + +

The image height property

+ +
+ + + +

The image wedth property

+ +
+ + + + +
+Click Here to go to second page
+ Click Here to go to third page + + diff --git a/css/newhtml.html b/css/newhtml.html new file mode 100755 index 0000000..da57506 --- /dev/null +++ b/css/newhtml.html @@ -0,0 +1,337 @@ + + + + + New HTML Page + + + + + + +
+ Created by Juyoung. Built this site while I was teaching myself HTML and CSS. +
+ Click Here to go to first page
+ Click Here to go to third page +

The border-collapse Property

+ + + + +
Collapse Border Example
Cell A Collapse Example
Cell B Collapse Example
+
+ + + + +
Separate Border Example
Cell A Separate Example
Cell B Separate Example
+ +

The border-spacing Property

+ + + + +
Collapse Border Example with border-spacing
Cell A Collapse Example
Cell B Collapse Example
+
+ + + + +
Separate Border Example with border-spacing
Cell A Separate Example
Cell B Separate Example
+ +

The caption-side Property

+ + + + +
+ This caption will appear at the top +
Cell A
Cell B
+
+ + + + +
+ This caption will appear at the bottom +
Cell A
Cell B
+ + +

The empty-cells Property

+ + + + + + + + + + + + + + + + +
Title oneTitle two
Row Titlevaluevalue
Row Titlevaluevalue
+ +

The table-layout Property

+ + + + + +
100000000000000000000000000010000000100
+ +

The border-style Property

+

+

This example is showing all borders in different colors.

+

This example is showing all borders in green color only.

+ +

+ This is a border with none width.

+

+ This is a border with groove border.

+

+ This is a border with inset border.

+

+ This is a border with dashed border.

+

+ This is a border with different styles.

+ + +

The border-width Property

+

+ This is a solid border whose width is 4px. +

+

+ This is a solid border whose width is 4pt. +

+

+ This is a solid border whose width is thin. +

+

+ This is a solid border whose width is medium. +

+

+ This is a solid border whose width is thick. +

+

+ This is a border with four different width. +

+ +

Border Properties using shorthand

+

+ This example is showing shorthand property for border. +

+ +

CSS - Margins

+ +

The margin Property

+

+ all four magins will be 15px +

+

+ top and bottom margin will be 10px, left and right margin will be 2% of the total width of the document. +

+

+ top margin will be 10px, right margin will be 2% of the total width of the document, bottom margin will be -10px, left margin will be set by the browser. +

+
+

+    Facebook Header Example with CSS Margin

+ +

CSS - Lists (pg.43)

+
  1. list-style-type: control shape or appearance of the marker
  2. +
  3. list-style-position
  4. +
  5. list-style-image
  6. +
  7. list-style
  8. +
  9. marker-offset: specifies distance btw a marker and text in the list.-Not supported in IE6
+
+ +

1.The list-style-type Property:

+

list-style-type: 'disc' is default; a filed-in circle

+ + + + + +
    +
  1. Maths
  2. +
  3. Computer Science
  4. +
  5. English
  6. +
+ +
    +
  1. Maths
  2. +
  3. Computer Science
  4. +
  5. English
  6. +
+ +
    +
  1. Maths
  2. +
  3. Computer Science
  4. +
  5. English
  6. +
+ +
+

2.The list-style-position Property:

+ + + + +
    +
  1. Maths
  2. +
  3. Computer Science
  4. +
  5. English
  6. +
+ +
    +
  1. Maths
  2. +
  3. Computer Science
  4. +
  5. English
  6. +
+ +
+

3.The list-style-image Property

+

the list-style-image allows you to specify an image so that you can use your own bullet style.

+
+

4. The list-style Property

+

The list-style allows you to specify all the list properties into a single expression.

+ Example
+ + +
+ + + +Click Here to go to third page + + + diff --git a/css/secondhtml.html b/css/secondhtml.html new file mode 100755 index 0000000..3ff815f --- /dev/null +++ b/css/secondhtml.html @@ -0,0 +1,170 @@ + + + + + Second HTML Page + + + + + +
+ Created by Juyoung. Built this site while I was teaching myself HTML and CSS. +
+ Click Here to go to first page
+ Click Here to go to second page + +

CSS - Paddings

+

allows you to specify how much space should appear btw the content of an element and its border

+ +

the padding property

+

all four padding will be 15px

+ +

+ top padding will be 10px, left/right padding will be 2% of the total width of the document, bottom padding will be 10px +

+ +

+ top 50px, right 30% width of the document, bottom/top 20px +

+ +
+ +

CSS - Cursors

+ +

Move the mouse over the words to see the cursor change;

+
Auto
+
Crosshair
+
Default
+
Pointer
+
Move
+
e-resize
+
ne-resize
+
nw-resize
+
n-resize
+
se-resize
+
sw-resize
+
s-resize
+
w-resize
+
text
+
wait
+
help
+ + +

CSS - Outlines

+ +
+

+ This text is having thin solid red outline. +

+
+

+ This text is having thick dashed green outline. +

+
+

+ This text is having 5x dotted blue outline. +

+ +
+

CSS - Dimension

+ + +

1) the line-height property

+

+This paragraph is 400pixels wide and 100 pixels high +and here line height is 30pixels.This paragraph is 400 pixels +wide and 100 pixels high and here line height is 30pixels. +

+ +

2) the max-height property

+

+This paragraph is 400px wide and max height is 10px +This paragraph is 400px wide and max height is 10px +This paragraph is 400px wide and max height is 10px +This paragraph is 400px wide and max height is 10px +

+logo + +

3) the min-height property

+

+This paragraph is 400px wide and min height is 200px +This paragraph is 400px wide and min height is 200px +This paragraph is 400px wide and min height is 200px +This paragraph is 400px wide and min height is 200px +

+logo + + + +
+
+

CSS - Scrollbars

+

Example of scroll value:

+
+I am going to keep lot of content here just to show +you how scrollbars works if there is an overflow in +an element box. This provides your horizontal as well + as vertical scrollbars. +
+
+

Example of auto value:

+
+I am going to keep lot of content here just to show +you how scrollbars works if there is an overflow in +an element box. This provides your horizontal as well +as vertical scrollbars. +
+ + + + diff --git a/css/style.css b/css/style.css new file mode 100755 index 0000000..8d1c8b6 --- /dev/null +++ b/css/style.css @@ -0,0 +1 @@ +