SlideShare a Scribd company logo
CSS: Separating Design and
Content


Global Information Internship
Program from BUDNET
www.budnetdesign.com
Assumptions
   You know HTML
   You do not know CSS
   You care about aesthetics and
    function
   You have 50 minutes to kill
What We’ll Do
   What is CSS?
   View some code and talk basics
   Why use CSS?
     Advantages to Workflow
     Cost Savings

   Implementations
   Resources
What are Cascading Style Sheets?
   Created by Hakon Wium Lie of MIT
    in 1994
   Has become the W3C standard for
    controlling visual presentation of
    web pages
   Separates design elements from
    structural logic
   You get control and maintain the
    integrity of your data
Let’s See Some Code
   Sample Style sheet
   Rule Structure
Selectors
   Element Selectors – (refer to
    HTML tags)
    H1 {color: purple;}
    H1, H2, P {color: purple;}
   Contextual – (refer to HTML, but in
    context)
    LI B {color: purple;}
Selectors
   Class Selectors
    <H1 CLASS=“warning”>Danger!</H1>
    <P CLASS=“warning”>Be careful…</P>
    …….
    In your HTML code -
    H1.warning {color: red;}
            OR to an entire class…
    .warning {color:red;}
Applying CSS to HTML
       Style rules can be applied in 3 ways:

Inline Styles: sheets:
Embedded style sheets:
External style
<H1 STYLE=“color: blue; font-size: 20pt;”>A large purple
<HTML><HEAD><TITLE>Stylin’!</TITLE>
<HEAD>
Heading</H1>
<STYLE TYPE=“text/css”>
<LINK REL=stylesheet” TYPE=“text/css”
       H1 {color: purple;}
HREF=“styles/mystyles.css”>
For individual elementscolor: gray;}
       P {font-size: 10pt; using the STYLE attribute
</HEAD>
</STYLE>
</HEAD> “separation” of style and content.
This is true
…
Keeping all your styles in an external document is
</HTML>
simpler
Why CSS?
   Advantages to Workflow
   Cost Savings
   You WILL Be Cooler
Advantages of CSS
   Workflow
     Faster downloads
     Streamlined site maintenance

     Global control of design attributes

     Precise control (Advanced)
       Positioning
       Fluid layouts
Advantages of CSS - Cost Savings
   Cost Savings
     Reduced     Bandwidth Costs
         One style sheet called and cached
     Higher    Search Engine Rankings
       Cleaner code is easier for search engines
        to index
       Greater density of indexable content
Advantages of CSS - Cost Savings

   Faster download = better usability
       Web usability redesign can increase the
        sales/conversion rate by 100% (source: Jakob
        Nielson)
       CSS requires less code
       Tables require spacer images
       Entire table has to render before content
       CSS can control the order that elements
        download (content before images)
Advantages of CSS - Cost Savings

   Increased Reach
     CSS   website is compatible w/ many
      different devices
     In 2008 an est. 58 Million PDA’s will be
      sold (Source: eTForecast.com)
     1/3 of the world’s population will own a
      wireless device by 2010
Implementations
   Apply to HTML pages
   Apply to dynamic data
     Format   or style XML
   Use for layout (this is cool)
     See   http://www.csszengarden.com
CSS isn’t perfect (yet)
   CSS support in browsers is still
    uneven
   Make sure your CSS properties are
    supported
Resources
   http://www.csszengarden.com
     This   is CSS at its finest
   http://www.w3.org/Style/CSS/
     The    Official CSS Site
   http://css.maxdesign.com.au/
     Australian   firm, very professional
   http://webmonkey.wired.com/web
    monkey/reference/stylesheet_guide
     Where    I learned CSS and Web Design
Come and see me at 3:30pm!
   “Making Your Web Site More
    Appealing”

More Related Content

What's hot

Seo
SeoSeo
Basics of Search Engines and Algorithms
Basics of Search Engines and AlgorithmsBasics of Search Engines and Algorithms
Basics of Search Engines and Algorithms
Web Trainings Academy
 
Seo Presentation f
Seo Presentation fSeo Presentation f
Seo Presentation f
Shashikant Patange
 
What is Technical SEO ?
What is Technical SEO ? What is Technical SEO ?
What is Technical SEO ?
intern_jaguar
 
SEO PPT
SEO PPTSEO PPT
SEO PPT
princebhola
 
Search Engine Optimization ppt
Search Engine Optimization pptSearch Engine Optimization ppt
Search Engine Optimization ppt
OECLIB Odisha Electronics Control Library
 
Search engine optimization
Search engine optimizationSearch engine optimization
Search engine optimization
Radha Yadlapalli
 
Seo service provider
Seo service providerSeo service provider
Seo service provider
Focaloid Technologies Pvt> Ltd
 
SEO Training Course Online, Learn SEO, SEO for Beginners, Complete SEO Tutorial
SEO Training Course Online, Learn SEO, SEO for Beginners, Complete SEO TutorialSEO Training Course Online, Learn SEO, SEO for Beginners, Complete SEO Tutorial
SEO Training Course Online, Learn SEO, SEO for Beginners, Complete SEO Tutorial
Deep Mehta
 
Search engine optimization
Search engine optimizationSearch engine optimization
Search engine optimizationRujata Patil
 
Complete SEO Process
Complete SEO ProcessComplete SEO Process
Complete SEO Process
Hanmant Biradar
 
Basic SEO Lecture Presentation
Basic SEO Lecture PresentationBasic SEO Lecture Presentation
Basic SEO Lecture Presentation
Marie Claire Ponsaran
 
Keyword Planner Training, Keywords Analysis Training, Keyword Research
Keyword Planner Training, Keywords Analysis Training, Keyword ResearchKeyword Planner Training, Keywords Analysis Training, Keyword Research
Keyword Planner Training, Keywords Analysis Training, Keyword Research
Deep Mehta
 
SEO PPT
SEO PPTSEO PPT
SEO PPT
jaswinder01
 
Searchrankpros
SearchrankprosSearchrankpros
Searchrankpros
srpvikasgupta
 
Seo beginners-slide-show
Seo beginners-slide-showSeo beginners-slide-show
Seo beginners-slide-show
Vidhi Borsaniya
 
Search engine optimization simplified
Search engine optimization simplifiedSearch engine optimization simplified
Search engine optimization simplified
Sagar Barapatre
 
Search engine Optimization
Search engine OptimizationSearch engine Optimization
Search engine Optimization
Dharshana Ramachandran
 
1629885596 seoppt1 130303013241-phpapp02
1629885596 seoppt1 130303013241-phpapp021629885596 seoppt1 130303013241-phpapp02
1629885596 seoppt1 130303013241-phpapp02
DpSaini1
 

What's hot (20)

Seo
SeoSeo
Seo
 
Seo
SeoSeo
Seo
 
Basics of Search Engines and Algorithms
Basics of Search Engines and AlgorithmsBasics of Search Engines and Algorithms
Basics of Search Engines and Algorithms
 
Seo Presentation f
Seo Presentation fSeo Presentation f
Seo Presentation f
 
What is Technical SEO ?
What is Technical SEO ? What is Technical SEO ?
What is Technical SEO ?
 
SEO PPT
SEO PPTSEO PPT
SEO PPT
 
Search Engine Optimization ppt
Search Engine Optimization pptSearch Engine Optimization ppt
Search Engine Optimization ppt
 
Search engine optimization
Search engine optimizationSearch engine optimization
Search engine optimization
 
Seo service provider
Seo service providerSeo service provider
Seo service provider
 
SEO Training Course Online, Learn SEO, SEO for Beginners, Complete SEO Tutorial
SEO Training Course Online, Learn SEO, SEO for Beginners, Complete SEO TutorialSEO Training Course Online, Learn SEO, SEO for Beginners, Complete SEO Tutorial
SEO Training Course Online, Learn SEO, SEO for Beginners, Complete SEO Tutorial
 
Search engine optimization
Search engine optimizationSearch engine optimization
Search engine optimization
 
Complete SEO Process
Complete SEO ProcessComplete SEO Process
Complete SEO Process
 
Basic SEO Lecture Presentation
Basic SEO Lecture PresentationBasic SEO Lecture Presentation
Basic SEO Lecture Presentation
 
Keyword Planner Training, Keywords Analysis Training, Keyword Research
Keyword Planner Training, Keywords Analysis Training, Keyword ResearchKeyword Planner Training, Keywords Analysis Training, Keyword Research
Keyword Planner Training, Keywords Analysis Training, Keyword Research
 
SEO PPT
SEO PPTSEO PPT
SEO PPT
 
Searchrankpros
SearchrankprosSearchrankpros
Searchrankpros
 
Seo beginners-slide-show
Seo beginners-slide-showSeo beginners-slide-show
Seo beginners-slide-show
 
Search engine optimization simplified
Search engine optimization simplifiedSearch engine optimization simplified
Search engine optimization simplified
 
Search engine Optimization
Search engine OptimizationSearch engine Optimization
Search engine Optimization
 
1629885596 seoppt1 130303013241-phpapp02
1629885596 seoppt1 130303013241-phpapp021629885596 seoppt1 130303013241-phpapp02
1629885596 seoppt1 130303013241-phpapp02
 

Similar to New Css style

Advanced Web Programming Chapter 8
Advanced Web Programming Chapter 8Advanced Web Programming Chapter 8
Advanced Web Programming Chapter 8
RohanMistry15
 
Vskills certified css designer Notes
Vskills certified css designer NotesVskills certified css designer Notes
Vskills certified css designer Notes
Vskills
 
Css training tutorial css3 &amp; css4 essentials
Css training tutorial css3 &amp; css4 essentialsCss training tutorial css3 &amp; css4 essentials
Css training tutorial css3 &amp; css4 essentials
QA TrainingHub
 
GDI Seattle Intermediate HTML and CSS Class 1
GDI Seattle Intermediate HTML and CSS Class 1GDI Seattle Intermediate HTML and CSS Class 1
GDI Seattle Intermediate HTML and CSS Class 1Heather Rock
 
Intermediate Web Design.doc
Intermediate Web Design.docIntermediate Web Design.doc
Intermediate Web Design.docbutest
 
Intermediate Web Design.doc
Intermediate Web Design.docIntermediate Web Design.doc
Intermediate Web Design.docbutest
 
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.
 
Teched Inetrgation ppt and lering in simple
Teched Inetrgation ppt  and lering in simpleTeched Inetrgation ppt  and lering in simple
Teched Inetrgation ppt and lering in simple
JagadishBabuParri
 
Using Cascading Style Sheets2
Using Cascading Style Sheets2Using Cascading Style Sheets2
Using Cascading Style Sheets2Sutinder Mann
 
CSS.ppt
CSS.pptCSS.ppt
Pfnp slides
Pfnp slidesPfnp slides
Pfnp slides
William Myers
 
The CSS Handbook
The CSS HandbookThe CSS Handbook
The CSS Handbook
jackchenvlo
 
Unit 2 WT-CSS.pptx web technology project
Unit 2 WT-CSS.pptx web technology projectUnit 2 WT-CSS.pptx web technology project
Unit 2 WT-CSS.pptx web technology project
abhiramhatwar
 
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
 
This is css which compiled by alex that is impo
This is css which compiled by alex that is impoThis is css which compiled by alex that is impo
This is css which compiled by alex that is impo
AlebelAyalneh
 

Similar to New Css style (20)

Css
CssCss
Css
 
Css
CssCss
Css
 
Lecture-6.pptx
Lecture-6.pptxLecture-6.pptx
Lecture-6.pptx
 
Advanced Web Programming Chapter 8
Advanced Web Programming Chapter 8Advanced Web Programming Chapter 8
Advanced Web Programming Chapter 8
 
Vskills certified css designer Notes
Vskills certified css designer NotesVskills certified css designer Notes
Vskills certified css designer Notes
 
Css training tutorial css3 &amp; css4 essentials
Css training tutorial css3 &amp; css4 essentialsCss training tutorial css3 &amp; css4 essentials
Css training tutorial css3 &amp; css4 essentials
 
GDI Seattle Intermediate HTML and CSS Class 1
GDI Seattle Intermediate HTML and CSS Class 1GDI Seattle Intermediate HTML and CSS Class 1
GDI Seattle Intermediate HTML and CSS Class 1
 
Intermediate Web Design.doc
Intermediate Web Design.docIntermediate Web Design.doc
Intermediate Web Design.doc
 
Intermediate Web Design.doc
Intermediate Web Design.docIntermediate Web Design.doc
Intermediate Web Design.doc
 
Unit iii css and javascript 1
Unit iii css and javascript 1Unit iii css and javascript 1
Unit iii css and javascript 1
 
Teched Inetrgation ppt and lering in simple
Teched Inetrgation ppt  and lering in simpleTeched Inetrgation ppt  and lering in simple
Teched Inetrgation ppt and lering in simple
 
Using Cascading Style Sheets2
Using Cascading Style Sheets2Using Cascading Style Sheets2
Using Cascading Style Sheets2
 
Lecture2 CSS1
Lecture2  CSS1Lecture2  CSS1
Lecture2 CSS1
 
CSS.ppt
CSS.pptCSS.ppt
CSS.ppt
 
Pfnp slides
Pfnp slidesPfnp slides
Pfnp slides
 
The CSS Handbook
The CSS HandbookThe CSS Handbook
The CSS Handbook
 
Unit 2 WT-CSS.pptx web technology project
Unit 2 WT-CSS.pptx web technology projectUnit 2 WT-CSS.pptx web technology project
Unit 2 WT-CSS.pptx web technology project
 
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
 
Full
FullFull
Full
 
This is css which compiled by alex that is impo
This is css which compiled by alex that is impoThis is css which compiled by alex that is impo
This is css which compiled by alex that is impo
 

More from BUDNET

Joomla overview via catchy snaps
Joomla overview via catchy snapsJoomla overview via catchy snaps
Joomla overview via catchy snaps
BUDNET
 
Catchy web pages via Wordpress
Catchy web pages via WordpressCatchy web pages via Wordpress
Catchy web pages via WordpressBUDNET
 
Multimedia communication
Multimedia communicationMultimedia communication
Multimedia communication
BUDNET
 
Multimedia
MultimediaMultimedia
Multimedia
BUDNET
 
MIND sweeping introduction to PHP
MIND sweeping introduction to PHPMIND sweeping introduction to PHP
MIND sweeping introduction to PHPBUDNET
 
Designing a website
Designing a websiteDesigning a website
Designing a website
BUDNET
 
Gateway To Adobe Photoshop
Gateway To Adobe PhotoshopGateway To Adobe Photoshop
Gateway To Adobe PhotoshopBUDNET
 

More from BUDNET (7)

Joomla overview via catchy snaps
Joomla overview via catchy snapsJoomla overview via catchy snaps
Joomla overview via catchy snaps
 
Catchy web pages via Wordpress
Catchy web pages via WordpressCatchy web pages via Wordpress
Catchy web pages via Wordpress
 
Multimedia communication
Multimedia communicationMultimedia communication
Multimedia communication
 
Multimedia
MultimediaMultimedia
Multimedia
 
MIND sweeping introduction to PHP
MIND sweeping introduction to PHPMIND sweeping introduction to PHP
MIND sweeping introduction to PHP
 
Designing a website
Designing a websiteDesigning a website
Designing a website
 
Gateway To Adobe Photoshop
Gateway To Adobe PhotoshopGateway To Adobe Photoshop
Gateway To Adobe Photoshop
 

Recently uploaded

Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
UiPathCommunity
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
Assure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyesAssure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 

Recently uploaded (20)

Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
Assure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyesAssure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyes
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 

New Css style

  • 1. CSS: Separating Design and Content Global Information Internship Program from BUDNET www.budnetdesign.com
  • 2. Assumptions  You know HTML  You do not know CSS  You care about aesthetics and function  You have 50 minutes to kill
  • 3. What We’ll Do  What is CSS?  View some code and talk basics  Why use CSS?  Advantages to Workflow  Cost Savings  Implementations  Resources
  • 4. What are Cascading Style Sheets?  Created by Hakon Wium Lie of MIT in 1994  Has become the W3C standard for controlling visual presentation of web pages  Separates design elements from structural logic  You get control and maintain the integrity of your data
  • 5. Let’s See Some Code  Sample Style sheet  Rule Structure
  • 6. Selectors  Element Selectors – (refer to HTML tags) H1 {color: purple;} H1, H2, P {color: purple;}  Contextual – (refer to HTML, but in context) LI B {color: purple;}
  • 7. Selectors  Class Selectors <H1 CLASS=“warning”>Danger!</H1> <P CLASS=“warning”>Be careful…</P> ……. In your HTML code - H1.warning {color: red;} OR to an entire class… .warning {color:red;}
  • 8. Applying CSS to HTML  Style rules can be applied in 3 ways: Inline Styles: sheets: Embedded style sheets: External style <H1 STYLE=“color: blue; font-size: 20pt;”>A large purple <HTML><HEAD><TITLE>Stylin’!</TITLE> <HEAD> Heading</H1> <STYLE TYPE=“text/css”> <LINK REL=stylesheet” TYPE=“text/css” H1 {color: purple;} HREF=“styles/mystyles.css”> For individual elementscolor: gray;} P {font-size: 10pt; using the STYLE attribute </HEAD> </STYLE> </HEAD> “separation” of style and content. This is true … Keeping all your styles in an external document is </HTML> simpler
  • 9. Why CSS?  Advantages to Workflow  Cost Savings  You WILL Be Cooler
  • 10. Advantages of CSS  Workflow  Faster downloads  Streamlined site maintenance  Global control of design attributes  Precise control (Advanced)  Positioning  Fluid layouts
  • 11. Advantages of CSS - Cost Savings  Cost Savings  Reduced Bandwidth Costs  One style sheet called and cached  Higher Search Engine Rankings  Cleaner code is easier for search engines to index  Greater density of indexable content
  • 12. Advantages of CSS - Cost Savings  Faster download = better usability  Web usability redesign can increase the sales/conversion rate by 100% (source: Jakob Nielson)  CSS requires less code  Tables require spacer images  Entire table has to render before content  CSS can control the order that elements download (content before images)
  • 13. Advantages of CSS - Cost Savings  Increased Reach  CSS website is compatible w/ many different devices  In 2008 an est. 58 Million PDA’s will be sold (Source: eTForecast.com)  1/3 of the world’s population will own a wireless device by 2010
  • 14. Implementations  Apply to HTML pages  Apply to dynamic data  Format or style XML  Use for layout (this is cool)  See http://www.csszengarden.com
  • 15. CSS isn’t perfect (yet)  CSS support in browsers is still uneven  Make sure your CSS properties are supported
  • 16. Resources  http://www.csszengarden.com  This is CSS at its finest  http://www.w3.org/Style/CSS/  The Official CSS Site  http://css.maxdesign.com.au/  Australian firm, very professional  http://webmonkey.wired.com/web monkey/reference/stylesheet_guide  Where I learned CSS and Web Design
  • 17. Come and see me at 3:30pm!  “Making Your Web Site More Appealing”