SlideShare ist ein Scribd-Unternehmen logo
1 von 45
CSS
By Leslie Steele
Welcome to my first Podcast!
In this Podcast, I will
discuss how CSS differs
from HTML and the
flexibilities and limitations
of CSS.
CSS Explained
CSS = cascading style sheets
It is one of the simplest tools for Web
developers and designers. It is used to
define formatting of color, background
images, fonts, margins and indentation for
Web pages.
CSS and HTML
It is different from HTML, which
creates the basic construction
of a Web page, but CSS is
dependent upon HTML (or
XHTML or XML). I sometimes
think of HTML as a road, like
the one pictured to the right. It’s
rather plain & basic, though not
visually unpleasant. The basic
components are present, and
clearly, this road is drivable &
will take you where you need to
go.
CSS adds life to Web pages
CSS makes that road
more interesting than
driving on a straight,
plain road.
Designing a Web page
or an entire Web site
is much more
stylistically appealing
with the use of CSS.
What can be done with CSS?
Background
What can be done with CSS?
Background
Text
What can be done with CSS?
Background
Text
Font
What can be done with CSS?
Background
Text
Font
Links
What can be done with CSS?
Background
Text
Font
Links
Tables
What can be done with CSS?
Background
Text
Font
Links
Tables
Borders
What can be done with CSS?
Background
Text
Font
Links
Tables
Borders
Margins
What can be done with CSS?
Background
Text
Font
Links
Tables
Borders
Margins
Padding
Background
Color of entire page
Background
Color of entire page
Color of different elements
Background
Color of entire page
Color of different elements
Image
Background
Color of entire page
Color of different elements
Image
-can be set as a fixed image (the image
will not move when scrolling down or up
the page)
Background
Color of entire page
Color of different elements
Image
-can be set as a fixed image (the image
will not move when scrolling down or up
the page)
-position can be set horizontally or
vertically
Background
Color of entire page
Color of different elements
Image
-can be set as a fixed image (the image
will not move when scrolling down or up
the page)
-position can be set horizontally or vertically
-can be set to single image or repeat
image (tile)
Text
Set color
Text
Set color
Set alignment
Text
Set color
Set alignment
Remove line from
under hyperlinks
Text
Set color
Set alignment
Remove line from
under hyperlinks
Decorate text
Text
Set color
Set alignment
Remove line from
under hyperlinks
Decorate text
Control letters in a text
Text
Set color
Set alignment
Remove line from
under hyperlinks
Decorate text
Control letters in a text
Indent
Text
Set color
Set alignment
Remove line from
under hyperlinks
Decorate text
Control letters in a text
Indent
Specify space between
characters & lines
Text
Set color
Set alignment
Remove line from
under hyperlinks
Decorate text
Control letters in a text
Indent
Specify space between
characters & lines
Set text direction
Text
Set color
Set alignment
Remove line from
under hyperlinks
Decorate text
Control letters in a text
Indent
Specify space between
characters & lines
Set text direction
Increase white space
between words
Text
Set color
Set alignment
Remove line from
under hyperlinks
Decorate text
Control letters in a text
Indent
Specify space between
characters & lines
Set text direction
Increase white space
between words
Disable text wrapping
inside an element
Text
Set color
Set alignment
Remove line from
under hyperlinks
Decorate text
Control letters in a text
Indent
Specify space between
characters & lines
Set text direction
Increase white space
between words
Disable text wrapping
inside an element
Set the vertical
alignment of an image
inside text
Some benefits of using CSS
Saves time by formatting
the layout & style of
multiple Web pages using
one file
Some benefits of using CSS
Saves time by formatting
the layout & style of
multiple Web pages using
one file
Different style sheets can
be specified to use
depending on the
technology used to
access the site on
whatever device is used
to access the page
Some benefits of using CSS
Saves time by formatting
the layout & style of
multiple Web pages using
one file
Different style sheets can
be specified to use
depending on the
technology used to
access the site on
whatever device is used
to access the page
Pages can be read
more accurately &
precisely by aids like
screen readers, thus
greatly improving
accessibility for
disabled persons
Some benefits of using CSS
Saves time by formatting
the layout & style of
multiple Web pages using
one file
Different style sheets can
be specified to use
depending on the
technology used to access
the site on whatever
device is used to access
the page
Pages can be read more
accurately & precisely by
aids like screen readers,
thus greatly improving
accessibility for disabled
persons
Reduces the amount of
HTML code a Web site
requires which decreases
page size & bandwidth
usage
More benefits of using CSS
Faster loading pages
when using table-less
layout
CSS reduces clutter by
replacing lengthy HTML
coding
Web site development
time can be shortened
CSS can replace some
Javascript navigation
with CSS navigation –
some Web site visitors
do not have their
Javascripting turned on
while they browse
different sites
Limitations of CSS
Although there is so much that can be
accomplished with the use of CSS, it does
have its limitations.
Some such limitations include:
Limitations of CSS
Collapsing margins:
Two consecutive
vertical margins
collapse if there is no
border or padding that
fall between & may
cause positioned
content to appear
incorrectly, resulting in
a single margin area
Limitations of CSS
Collapsing margins:
Two consecutive
vertical margins
collapse if there is no
border or padding that
fall between & may
cause positioned
content to appear
incorrectly, resulting in
a single margin area
Inconsistent browser
support:
Different browsers
present CSS layout
differently because of
browser bugs or lack of
CSS feature support
Limitations of CSS
Control of element
shapes:
A rectangular shape is
the only shape possible
currently. Other
shapes, like rounded
corners, may require
different markup
language.
Limitations of CSS
Control of element
shapes:
A rectangular shape is
the only shape possible
currently. Other
shapes, like rounded
corners, may require
different markup
language.
Poor layout control for
flexible layouts:
CSS is more geared for
styling, not layout.
Limitations of CSS
Lack of column declaration:
Layouts with multiple
columns can be complex to
implement. Currently, the
process is often done using
floating elements, but they
can appear differently in
different browsers.
Appearance can also vary if
viewed on monitors with
different screen ratios.
Limitations of CSS
Lack of column declaration:
Layouts with multiple
columns can be complex to
implement. Currently, the
process is often done using
floating elements, but they
can appear differently in
different browsers.
Appearance can also vary if
viewed on monitors with
different screen ratios.
No multiple backgrounds per
element:
Highly graphical designs
require multiple background
images for every element --
so developers and designers
must choose between adding
redundant wrappers around
document elements or
dropping the visual effect.
The benefits of using CSS far outweigh its
disadvantages, especially when emphasis is
placed more and more on Web site
accessibility. Future Web site standards will
most likely include being accessible, which
is best done on pages and sites that have a
table-less design.
CSS is being still being further developed
and there will be more possibilities with each
new version. With all that already can be
done with CSS, it’s amazing to think of what
the future will hold.
What kind of road do you prefer?
OR

Weitere ähnliche Inhalte

Was ist angesagt?

CSS Generator Tools
CSS Generator ToolsCSS Generator Tools
CSS Generator Toolslillianabe
 
Web programming css
Web programming cssWeb programming css
Web programming cssUma mohan
 
1 03 - CSS Introduction
1 03 - CSS Introduction1 03 - CSS Introduction
1 03 - CSS Introductionapnwebdev
 
LIS3353 SP12 Week 12
LIS3353 SP12 Week 12LIS3353 SP12 Week 12
LIS3353 SP12 Week 12Amanda Case
 
Advance Web Designing - Lecture 02 / 30
Advance Web Designing - Lecture 02 / 30Advance Web Designing - Lecture 02 / 30
Advance Web Designing - Lecture 02 / 30alishanvr
 
Introduction to CSS3
Introduction to CSS3Introduction to CSS3
Introduction to CSS3Doris Chen
 
ชื่อภาษาอังกฤษ
ชื่อภาษาอังกฤษชื่อภาษาอังกฤษ
ชื่อภาษาอังกฤษA PhaiRat TK
 
ชื่อภาษาอังกฤษ
ชื่อภาษาอังกฤษชื่อภาษาอังกฤษ
ชื่อภาษาอังกฤษA PhaiRat TK
 

Was ist angesagt? (13)

CSS Generator Tools
CSS Generator ToolsCSS Generator Tools
CSS Generator Tools
 
Web programming css
Web programming cssWeb programming css
Web programming css
 
1 03 - CSS Introduction
1 03 - CSS Introduction1 03 - CSS Introduction
1 03 - CSS Introduction
 
LIS3353 SP12 Week 12
LIS3353 SP12 Week 12LIS3353 SP12 Week 12
LIS3353 SP12 Week 12
 
The Dark Arts of CSS
The Dark Arts of CSSThe Dark Arts of CSS
The Dark Arts of CSS
 
Css class-01
Css class-01Css class-01
Css class-01
 
Css1
Css1Css1
Css1
 
css-tutorial
css-tutorialcss-tutorial
css-tutorial
 
Css3
Css3Css3
Css3
 
Advance Web Designing - Lecture 02 / 30
Advance Web Designing - Lecture 02 / 30Advance Web Designing - Lecture 02 / 30
Advance Web Designing - Lecture 02 / 30
 
Introduction to CSS3
Introduction to CSS3Introduction to CSS3
Introduction to CSS3
 
ชื่อภาษาอังกฤษ
ชื่อภาษาอังกฤษชื่อภาษาอังกฤษ
ชื่อภาษาอังกฤษ
 
ชื่อภาษาอังกฤษ
ชื่อภาษาอังกฤษชื่อภาษาอังกฤษ
ชื่อภาษาอังกฤษ
 

Ähnlich wie CSS

Cordova training - Day 2 Introduction to CSS 3
Cordova training - Day 2 Introduction to CSS 3Cordova training - Day 2 Introduction to CSS 3
Cordova training - Day 2 Introduction to CSS 3Binu Paul
 
Vskills certified css designer Notes
Vskills certified css designer NotesVskills certified css designer Notes
Vskills certified css designer NotesVskills
 
Chapter 3 - CSS.pdf
Chapter 3 - CSS.pdfChapter 3 - CSS.pdf
Chapter 3 - CSS.pdfwubiederebe1
 
Role of css in web design
Role of css in  web designRole of css in  web design
Role of css in web designPixelCrayons
 
CSS Interview Questions for Fresher and Experience
CSS Interview Questions for Fresher and Experience CSS Interview Questions for Fresher and Experience
CSS Interview Questions for Fresher and Experience Hitesh Kumar
 
HTML to CSS Basics Exer 2.pptx
HTML to CSS Basics Exer 2.pptxHTML to CSS Basics Exer 2.pptx
HTML to CSS Basics Exer 2.pptxJJFajardo1
 
Unit-3-CSS-BWT.pptx
Unit-3-CSS-BWT.pptxUnit-3-CSS-BWT.pptx
Unit-3-CSS-BWT.pptxTanu524249
 
Introduction of css
Introduction of cssIntroduction of css
Introduction of cssDinesh Kumar
 
Organize Your Website With Advanced CSS Tricks
Organize Your Website With Advanced CSS TricksOrganize Your Website With Advanced CSS Tricks
Organize Your Website With Advanced CSS TricksAndolasoft Inc
 
Css training tutorial css3 & css4 essentials
Css training tutorial css3 & css4 essentialsCss training tutorial css3 & css4 essentials
Css training tutorial css3 & css4 essentialsQA TrainingHub
 
Unit iii css and javascript 1
Unit iii css and javascript 1Unit iii css and javascript 1
Unit iii css and javascript 1Jesus Obenita Jr.
 
New Css style
New Css styleNew Css style
New Css styleBUDNET
 

Ähnlich wie CSS (20)

Cordova training - Day 2 Introduction to CSS 3
Cordova training - Day 2 Introduction to CSS 3Cordova training - Day 2 Introduction to CSS 3
Cordova training - Day 2 Introduction to CSS 3
 
Vskills certified css designer Notes
Vskills certified css designer NotesVskills certified css designer Notes
Vskills certified css designer Notes
 
Css group
Css groupCss group
Css group
 
css-tutorial
css-tutorialcss-tutorial
css-tutorial
 
Chapter 3 - CSS.pdf
Chapter 3 - CSS.pdfChapter 3 - CSS.pdf
Chapter 3 - CSS.pdf
 
html-css
html-csshtml-css
html-css
 
Css
CssCss
Css
 
Role of css in web design
Role of css in  web designRole of css in  web design
Role of css in web design
 
CSS Interview Questions for Fresher and Experience
CSS Interview Questions for Fresher and Experience CSS Interview Questions for Fresher and Experience
CSS Interview Questions for Fresher and Experience
 
Css introduction
Css   introductionCss   introduction
Css introduction
 
Lecture-6.pptx
Lecture-6.pptxLecture-6.pptx
Lecture-6.pptx
 
HTML to CSS Basics Exer 2.pptx
HTML to CSS Basics Exer 2.pptxHTML to CSS Basics Exer 2.pptx
HTML to CSS Basics Exer 2.pptx
 
Unit-3-CSS-BWT.pptx
Unit-3-CSS-BWT.pptxUnit-3-CSS-BWT.pptx
Unit-3-CSS-BWT.pptx
 
Introduction of css
Introduction of cssIntroduction of css
Introduction of css
 
Css home
Css   homeCss   home
Css home
 
Organize Your Website With Advanced CSS Tricks
Organize Your Website With Advanced CSS TricksOrganize Your Website With Advanced CSS Tricks
Organize Your Website With Advanced CSS Tricks
 
Css training tutorial css3 & css4 essentials
Css training tutorial css3 & css4 essentialsCss training tutorial css3 & css4 essentials
Css training tutorial css3 & css4 essentials
 
Unit iii css and javascript 1
Unit iii css and javascript 1Unit iii css and javascript 1
Unit iii css and javascript 1
 
Css
CssCss
Css
 
New Css style
New Css styleNew Css style
New Css style
 

Kürzlich hochgeladen

Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxMaryGraceBautista27
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
Q4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxQ4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxnelietumpap1
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 

Kürzlich hochgeladen (20)

Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptx
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
Q4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxQ4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptx
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 

CSS

  • 2. Welcome to my first Podcast! In this Podcast, I will discuss how CSS differs from HTML and the flexibilities and limitations of CSS.
  • 3. CSS Explained CSS = cascading style sheets It is one of the simplest tools for Web developers and designers. It is used to define formatting of color, background images, fonts, margins and indentation for Web pages.
  • 4. CSS and HTML It is different from HTML, which creates the basic construction of a Web page, but CSS is dependent upon HTML (or XHTML or XML). I sometimes think of HTML as a road, like the one pictured to the right. It’s rather plain & basic, though not visually unpleasant. The basic components are present, and clearly, this road is drivable & will take you where you need to go.
  • 5. CSS adds life to Web pages CSS makes that road more interesting than driving on a straight, plain road. Designing a Web page or an entire Web site is much more stylistically appealing with the use of CSS.
  • 6. What can be done with CSS? Background
  • 7. What can be done with CSS? Background Text
  • 8. What can be done with CSS? Background Text Font
  • 9. What can be done with CSS? Background Text Font Links
  • 10. What can be done with CSS? Background Text Font Links Tables
  • 11. What can be done with CSS? Background Text Font Links Tables Borders
  • 12. What can be done with CSS? Background Text Font Links Tables Borders Margins
  • 13. What can be done with CSS? Background Text Font Links Tables Borders Margins Padding
  • 15. Background Color of entire page Color of different elements
  • 16. Background Color of entire page Color of different elements Image
  • 17. Background Color of entire page Color of different elements Image -can be set as a fixed image (the image will not move when scrolling down or up the page)
  • 18. Background Color of entire page Color of different elements Image -can be set as a fixed image (the image will not move when scrolling down or up the page) -position can be set horizontally or vertically
  • 19. Background Color of entire page Color of different elements Image -can be set as a fixed image (the image will not move when scrolling down or up the page) -position can be set horizontally or vertically -can be set to single image or repeat image (tile)
  • 22. Text Set color Set alignment Remove line from under hyperlinks
  • 23. Text Set color Set alignment Remove line from under hyperlinks Decorate text
  • 24. Text Set color Set alignment Remove line from under hyperlinks Decorate text Control letters in a text
  • 25. Text Set color Set alignment Remove line from under hyperlinks Decorate text Control letters in a text Indent
  • 26. Text Set color Set alignment Remove line from under hyperlinks Decorate text Control letters in a text Indent Specify space between characters & lines
  • 27. Text Set color Set alignment Remove line from under hyperlinks Decorate text Control letters in a text Indent Specify space between characters & lines Set text direction
  • 28. Text Set color Set alignment Remove line from under hyperlinks Decorate text Control letters in a text Indent Specify space between characters & lines Set text direction Increase white space between words
  • 29. Text Set color Set alignment Remove line from under hyperlinks Decorate text Control letters in a text Indent Specify space between characters & lines Set text direction Increase white space between words Disable text wrapping inside an element
  • 30. Text Set color Set alignment Remove line from under hyperlinks Decorate text Control letters in a text Indent Specify space between characters & lines Set text direction Increase white space between words Disable text wrapping inside an element Set the vertical alignment of an image inside text
  • 31. Some benefits of using CSS Saves time by formatting the layout & style of multiple Web pages using one file
  • 32. Some benefits of using CSS Saves time by formatting the layout & style of multiple Web pages using one file Different style sheets can be specified to use depending on the technology used to access the site on whatever device is used to access the page
  • 33. Some benefits of using CSS Saves time by formatting the layout & style of multiple Web pages using one file Different style sheets can be specified to use depending on the technology used to access the site on whatever device is used to access the page Pages can be read more accurately & precisely by aids like screen readers, thus greatly improving accessibility for disabled persons
  • 34. Some benefits of using CSS Saves time by formatting the layout & style of multiple Web pages using one file Different style sheets can be specified to use depending on the technology used to access the site on whatever device is used to access the page Pages can be read more accurately & precisely by aids like screen readers, thus greatly improving accessibility for disabled persons Reduces the amount of HTML code a Web site requires which decreases page size & bandwidth usage
  • 35. More benefits of using CSS Faster loading pages when using table-less layout CSS reduces clutter by replacing lengthy HTML coding Web site development time can be shortened CSS can replace some Javascript navigation with CSS navigation – some Web site visitors do not have their Javascripting turned on while they browse different sites
  • 36. Limitations of CSS Although there is so much that can be accomplished with the use of CSS, it does have its limitations. Some such limitations include:
  • 37. Limitations of CSS Collapsing margins: Two consecutive vertical margins collapse if there is no border or padding that fall between & may cause positioned content to appear incorrectly, resulting in a single margin area
  • 38. Limitations of CSS Collapsing margins: Two consecutive vertical margins collapse if there is no border or padding that fall between & may cause positioned content to appear incorrectly, resulting in a single margin area Inconsistent browser support: Different browsers present CSS layout differently because of browser bugs or lack of CSS feature support
  • 39. Limitations of CSS Control of element shapes: A rectangular shape is the only shape possible currently. Other shapes, like rounded corners, may require different markup language.
  • 40. Limitations of CSS Control of element shapes: A rectangular shape is the only shape possible currently. Other shapes, like rounded corners, may require different markup language. Poor layout control for flexible layouts: CSS is more geared for styling, not layout.
  • 41. Limitations of CSS Lack of column declaration: Layouts with multiple columns can be complex to implement. Currently, the process is often done using floating elements, but they can appear differently in different browsers. Appearance can also vary if viewed on monitors with different screen ratios.
  • 42. Limitations of CSS Lack of column declaration: Layouts with multiple columns can be complex to implement. Currently, the process is often done using floating elements, but they can appear differently in different browsers. Appearance can also vary if viewed on monitors with different screen ratios. No multiple backgrounds per element: Highly graphical designs require multiple background images for every element -- so developers and designers must choose between adding redundant wrappers around document elements or dropping the visual effect.
  • 43. The benefits of using CSS far outweigh its disadvantages, especially when emphasis is placed more and more on Web site accessibility. Future Web site standards will most likely include being accessible, which is best done on pages and sites that have a table-less design.
  • 44. CSS is being still being further developed and there will be more possibilities with each new version. With all that already can be done with CSS, it’s amazing to think of what the future will hold.
  • 45. What kind of road do you prefer? OR