Movatterモバイル変換


[0]ホーム

URL:


11,892 views

Introduction to HTML and CSS

This document summarizes a knowledge sharing session on HTML and CSS basics. It covers topics like HTML tags and structures, CSS rules and selectors, the CSS box model, positioning, sprites, and hacks for dealing with browser inconsistencies. The session introduced fundamental concepts for using HTML to structure content and CSS for styling and layout, providing examples for common tags, selectors, properties and techniques. It aimed to give attendees an overview of the core building blocks of HTML and CSS.

Embed presentation

Knowledge Sharing Session onHTML and CSSBasic HTML and CSSFerdous Mahmud ShaonFebruary 2014
HTML, XHTML, HTML5
HTML Tags and Nested Tags
HTML Basic Structure
HTML <head> and <title>
HTML <body>
HTML Headlines
HTML Paragraphs
HTML Lists
HTML Divisions (sections)
HTML Images
HTML form
HTML frameset• Not recommended tag• Not supported in HTML5
HTML tables
HTML Block vs Inline elements• Block Elements– Takes up the full width available, and has a linebreak before and after it.– <p>, <div>, <h1>…. <h6>, <ul>, <ol>, <li>, <table>• Inline Elements– Takes up only as much width as necessary, anddoes not force line breaks after it.– <a>, <span>, <img>
HTML Block elements
HTML Block Elements
HTML Inline Elements
HTML Table vs DIV• Most websites have put their content in multiple columns.• Multiple columns can be created by using <div> or <table>elements.• Even though it is possible to create nice layouts with HTMLtables, tables were designed for presenting tabular data -NOT as a layout tool!• The div element is used for grouping HTML elements andfor creating rows and columns with the help of CSS.
HTML Page Layout
HTML Layout
HTML Layout
HTML Layout
HTML Layout
HTML <!DOCTYPE>• Must be the very first thing in HTML document,even before the <html> tag• Provides information to the web browser aboutwhat version of HTML the page is written in.• In HTML 4, the <!DOCTYPE> declaration refers to aDTD, but in HTML5, the <!DOCTYPE> declarationdoes NOT refer to any DTD.
HTML <!DOCTYPE>
HTML Character Entities
HTML vs XHTMLXHTML– eXtensible HyperText Markup Language– Stricter and cleaner version of HTML similar toXML– Better cross browser support
HTML vs XHTMLXHTML DOCTYPE– mandatoryXHTML elements– must be properly nested– must always be closed– must be in lowercase– must have one root elementXHTML attributes– names must be in lower case– values must be quoted– minimization is forbidden• <input type="checkbox" checked="checked" />• <input disabled="disabled" />
SEO friendly HTML• Meaningful and relevant HTML <title> per page• Define <meta> description and keywords for each page.<meta name="description" content="Free Web tutorials on HTML and CSS"><meta name="keywords" content="HTML, CSS, XML, XHTML, JavaScript">• Use an <h1> tag for the main headline of the page. It shouldn’t bemore than one in a single page.• Relevant sub-headlines should use an <h2>…<h6> tags according totheir priority.• Avoid embedded JS and CSS whenever possible. Try to use externalCSS and JS and if possible minimize them.
New HTML5 Tags• <canvas> defines graphic drawing usingJavaScript• <audio> defines sound or music content• <video> defines video or movie content• <header> defines a header for the documentor a section• <nav> defines navigation links in the document
New HTML5 Tags• <section> defines a section in the document• <main> defines the main content of adocument• <article> defines an article in the document• <footer> defines a footer for the document ora section• <figure> defines self-contained content, likeillustrations, diagrams, photos etc.
HTML Style Elements<font>, <strong>, <b>, <u>, <i>, <em>, <center>
What is CSS?• Cascading Style Sheets• Defines how to display HTML elements• Added to HTML 4.0• Current version is CSS 2.• CSS 3 is also released and supported by mostof the browsers.
How to use CSS
CSS Rules
CSS Selectors
CSS Selectors
CSS Selectors
Multiple CSS Rules
Multiple CSS Rules
CSS Selector Priority
CSS class vs id selector
CSS Descendent Selector
CSS Descendent Selector
CSS Box Model (block element)
CSS Box Model (block element)
CSS Box Model (block element)
CSS Box Model – Margin Collapse
CSS Box Model – Margin Collapse
CSS Box Model – Margin Collapse
CSS Box Model – Margin Collapse
CSS Box Model – Margin Collapse
CSS Box Model (inline element)
CSS Box Model (inline element)
CSS Box Model Shortcuts
CSS Box Model Dimensions
CSS Box Model and Box Sizing• CSS3 Property– box-sizing: content-box; /* Default value */– box-sizing: border-box; /* Grid in Twitter Bootstrap */
CSS Dimension• height– Sets the height of an element• max-height– Sets the maximum height of an element• min-height– Sets the minimum height of an element• width– Sets the width of an element• max-width– Sets the maximum width of an element• min-width– Sets the minimum width of an element
Display and Visibility• Hiding an Element– display:none (doesn’t take space)– visibility:hidden (takes space)• Styling block / inline HTML Element– ul.menu li { display:inline; }– div.data span { display:block; }
Building Menu using HTML & CSS
Building Menu using HTML & CSS
CSS ‘position’ Property• static– default value– not affected by top, right, bottom, left• relative– positioned relative to its normal position• absolute– positioned relative to the nearest relatively positioned ancestor– if no relatively positioned ancestors, then it uses the document body• fixed– positioned relative to the viewport– always stays in the same place even if the page is scrolled.
CSS Relative Positioning
CSS Absolute Positioning
CSS Relative and Absolute Positioning
CSS Fixed Positioning
CSS Floating
CSS Floating Problem
CSS Floating Issues
CSS Floating Issues
CSS Floating Issues
Grouping and Nesting Selectors• Grouping Selectors– div, p, span {font-family: "Helvetica Neue", Arial, Helvetica;}• Nesting Selectors– #main .data p { color:blue; }– .widget.data p { color:blue; }– #main .data > p { color:blue; }
CSS Pseudo-classes Selectors• Syntax:selector:pseudo-class { property:value; }• Anchor Pseudo-classes– a:link {color:#FF0000;} /* unvisited link */– a:visited {color:#00FF00;} /* visited link */– a:hover {color:#FF00FF;} /* mouse over link */– a:active {color:#0000FF;} /* selected link */• First-child Pseudo-class– ul.menu > li:first-child { margin-left:0; }
CSS Opacity / Transparency• Transparency– opacity:0.5;– filter:alpha(opacity=50); /* For old IEs */• Cross browser Transparency.transparent {/* IE 8 */-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";filter: alpha(opacity=50); /* IE 5-7 */-moz-opacity: 0.5; /* Netscape */-khtml-opacity: 0.5; /* Safari 1.x */opacity: 0.5; /* Good browsers */}
CSS Image Sprites• An image sprite is a collection of images putinto a single image.• Reduces load time and saves bandwidth.• img.home { width:46px; height:44px;background:url(img_navsprites.gif) 0 0; }• img.next { width:43px; height:44px;background:url(img_navsprites.gif) -91px 0; }
CSS Hacks - IE Detection andConditional CSS• http://www.sitepoint.com/microsoft-drop-ie10-conditional-comments/• http://msdn.microsoft.com/en-us/library/ms537512%28VS.85%29.aspx<!--[if IE]><p>You are using Internet Explorer >=5 and <= 9.</p><![endif]--><![if !IE]><p>You are using Internet Explorer >=10 or other browsers.</p><![endif]>• Using jQuery for jQuery < 1.9if (jQuery.browser.msie && jQuery.browser.version < 8) {// do something}
CSS Hacks• IE7 doesn’t understand ‘display: inline-block’1. display:block;float:left;2. display: inline-block;*display: inline;zoom: 1;
CSS – major IE6 Problem• IE6 doesn't support multiple class selectors.• So when we write,div.menu.horizontal.widget { color: blue; }in IE6, the above style is interpreted as:div.widget { color: blue; }• This style definition affects all div elementshaving widget style class.
Thank You!

Recommended

PDF
Intro to HTML and CSS basics
PPTX
Complete Lecture on Css presentation
PPT
Introduction to Cascading Style Sheets (CSS)
PPT
CSS Basics
PPTX
HTML5 & CSS3
PPT
cascading style sheet ppt
PPTX
Css position
PPTX
Media queries A to Z
PDF
Intro to HTML & CSS
PPTX
An Overview of HTML, CSS & Java Script
PPTX
Css ppt
PPTX
Learn html Basics
PPTX
HTML-(workshop)7557.pptx
PPTX
Bootstrap
PPT
CSS for Beginners
PPTX
Html5 and-css3-overview
PDF
CSS3 Media Queries
PPT
Css Ppt
PDF
Basic html
PDF
Html frames
PPTX
HTML Semantic Tags
PPTX
The Complete HTML
PPT
Html & Css presentation
PPT
Hyperlinks in HTML
PPT
PPTX
Html and css presentation
PPTX
Introducción a HTML5 y CSS3
PPTX
Dynamic HTML (DHTML)
PPT
Span and Div tags in HTML
PDF
Div tag presentation

More Related Content

PDF
Intro to HTML and CSS basics
PPTX
Complete Lecture on Css presentation
PPT
Introduction to Cascading Style Sheets (CSS)
PPT
CSS Basics
PPTX
HTML5 & CSS3
PPT
cascading style sheet ppt
PPTX
Css position
PPTX
Media queries A to Z
Intro to HTML and CSS basics
Complete Lecture on Css presentation
Introduction to Cascading Style Sheets (CSS)
CSS Basics
HTML5 & CSS3
cascading style sheet ppt
Css position
Media queries A to Z

What's hot

PDF
Intro to HTML & CSS
PPTX
An Overview of HTML, CSS & Java Script
PPTX
Css ppt
PPTX
Learn html Basics
PPTX
HTML-(workshop)7557.pptx
PPTX
Bootstrap
PPT
CSS for Beginners
PPTX
Html5 and-css3-overview
PDF
CSS3 Media Queries
PPT
Css Ppt
PDF
Basic html
PDF
Html frames
PPTX
HTML Semantic Tags
PPTX
The Complete HTML
PPT
Html & Css presentation
PPT
Hyperlinks in HTML
PPT
PPTX
Html and css presentation
PPTX
Introducción a HTML5 y CSS3
PPTX
Dynamic HTML (DHTML)
Intro to HTML & CSS
An Overview of HTML, CSS & Java Script
Css ppt
Learn html Basics
HTML-(workshop)7557.pptx
Bootstrap
CSS for Beginners
Html5 and-css3-overview
CSS3 Media Queries
Css Ppt
Basic html
Html frames
HTML Semantic Tags
The Complete HTML
Html & Css presentation
Hyperlinks in HTML
Html and css presentation
Introducción a HTML5 y CSS3
Dynamic HTML (DHTML)

Viewers also liked

PPT
Span and Div tags in HTML
PDF
Div tag presentation
PDF
Fundamentals of Web Development For Non-Developers
PPT
Web Development Ppt
PPTX
Presentation on Adobe Photoshop
PPT
Social networking
PPT
Introduction to photoshop
PPT
Ip addressing
 
DOCX
SIWES I.T REPORT ON WEB DESIGN
PPTX
Brief history of social media
PDF
A Brief History Of Social Media
PPT
Digital Storytelling
PPTX
The history of social networks: how it all began
PDF
Tessel: The End of Web Development (as we know it)
PDF
Nikos Markatos - NTUA
PPTX
History of Social Media
PPTX
Css.html
PPTX
Web development Training In Batra Computer Centre
PDF
Web fundamental 4 developers
PPTX
10 things that make a good music video
Span and Div tags in HTML
Div tag presentation
Fundamentals of Web Development For Non-Developers
Web Development Ppt
Presentation on Adobe Photoshop
Social networking
Introduction to photoshop
Ip addressing
 
SIWES I.T REPORT ON WEB DESIGN
Brief history of social media
A Brief History Of Social Media
Digital Storytelling
The history of social networks: how it all began
Tessel: The End of Web Development (as we know it)
Nikos Markatos - NTUA
History of Social Media
Css.html
Web development Training In Batra Computer Centre
Web fundamental 4 developers
10 things that make a good music video

Similar to Introduction to HTML and CSS

PDF
Introduction to HTML and CSS
PPTX
PDF
Intro to html, css & sass
PDF
Introduction to HTML-CSS-Javascript.pdf
PPTX
Basics of Front End Web Dev PowerPoint
PPTX
Html,CSS & UI/UX design
PPTX
Introduction to Web Development.pptx
PPTX
css v1 guru
PPTX
Introduction to Web Development.pptx
PPT
Chapter 6 - Web Design
PPTX
Css intro
PPTX
Howcssworks 100207024009-phpapp01
PPT
Basic css
PDF
Pfnp slides
PDF
Girl Develop It Cincinnati: Intro to HTML/CSS Class 4
PDF
HTML+CSS: how to get started
PDF
GDI Seattle Intro to HTML and CSS - Class 1
PPTX
Introduction to Web Development.pptx
KEY
The web standards gentleman: a matter of (evolving) standards)
PDF
Html5 deciphered - designing concepts part 1
Introduction to HTML and CSS
Intro to html, css & sass
Introduction to HTML-CSS-Javascript.pdf
Basics of Front End Web Dev PowerPoint
Html,CSS & UI/UX design
Introduction to Web Development.pptx
css v1 guru
Introduction to Web Development.pptx
Chapter 6 - Web Design
Css intro
Howcssworks 100207024009-phpapp01
Basic css
Pfnp slides
Girl Develop It Cincinnati: Intro to HTML/CSS Class 4
HTML+CSS: how to get started
GDI Seattle Intro to HTML and CSS - Class 1
Introduction to Web Development.pptx
The web standards gentleman: a matter of (evolving) standards)
Html5 deciphered - designing concepts part 1

More from Ferdous Mahmud Shaon

PPT
Composite Design Pattern
PPT
Effective Java - Always override toString() method
PPT
Effective Java - Override clone() method judiciously
PDF
Tips to Kick-start your Software Engineering Career
PDF
Getting started with Test Driven Development
PPTX
Business Communcation
Composite Design Pattern
Effective Java - Always override toString() method
Effective Java - Override clone() method judiciously
Tips to Kick-start your Software Engineering Career
Getting started with Test Driven Development
Business Communcation

Recently uploaded

PDF
Advanced Prompt Engineering: The Art and Science
PDF
INTRODUCTION TO DATABASES, MYSQL, MS ACCESS, PHARMACY DRUG DATABASE.pdf
DOCX
How to Change Classic SharePoint to Modern SharePoint (An Updated Guide)
PPTX
NSF Converter Software to Convert NSF to PST, EML, MSG
PDF
Data structure using C :UNIT-I Introduction to Data structures and Stacks BCA...
PPTX
Binance Smart Chain Development Guide.pptx
PDF
What Is A Woman (WIAW) Token – Smart Contract Security Audit Report by EtherA...
PPTX
application security presentation 2 by harman
PDF
Manual vs Automated Accessibility Testing – What to Choose in 2025.pdf
PDF
Combinatorial Interview Problems with Backtracking Solutions - From Imperativ...
PDF
API_SECURITY CONSULTANCY SERVICES IN USA
PPTX
Magnet-AXIOM_overview_tool_cyber_tool.pptx
PDF
Virtual Study Circles Innovative Ways to Collaborate Online.pdf
PDF
How NetSuite Cloud ERP Helps Businesses Overcome Legacy System Downtime.
PDF
How Modern Custom Software is Revolutionizing Mortgage Lending Processes -Ma...
PDF
Cloud-Based Underwriting Software for Insurance
PDF
Here’s the case study that shows how companies lose ₹2–6 Cr annually due to m...
PDF
Transforming Compliance Through Policy & Procedure Management
PDF
Intelligent CRM for Insurance Brokers: Managing Clients with Precision
PPTX
AI Clinic Management Software for Pulmonology Clinics Bringing Clarity, Contr...
Advanced Prompt Engineering: The Art and Science
INTRODUCTION TO DATABASES, MYSQL, MS ACCESS, PHARMACY DRUG DATABASE.pdf
How to Change Classic SharePoint to Modern SharePoint (An Updated Guide)
NSF Converter Software to Convert NSF to PST, EML, MSG
Data structure using C :UNIT-I Introduction to Data structures and Stacks BCA...
Binance Smart Chain Development Guide.pptx
What Is A Woman (WIAW) Token – Smart Contract Security Audit Report by EtherA...
application security presentation 2 by harman
Manual vs Automated Accessibility Testing – What to Choose in 2025.pdf
Combinatorial Interview Problems with Backtracking Solutions - From Imperativ...
API_SECURITY CONSULTANCY SERVICES IN USA
Magnet-AXIOM_overview_tool_cyber_tool.pptx
Virtual Study Circles Innovative Ways to Collaborate Online.pdf
How NetSuite Cloud ERP Helps Businesses Overcome Legacy System Downtime.
How Modern Custom Software is Revolutionizing Mortgage Lending Processes -Ma...
Cloud-Based Underwriting Software for Insurance
Here’s the case study that shows how companies lose ₹2–6 Cr annually due to m...
Transforming Compliance Through Policy & Procedure Management
Intelligent CRM for Insurance Brokers: Managing Clients with Precision
AI Clinic Management Software for Pulmonology Clinics Bringing Clarity, Contr...

Introduction to HTML and CSS

  • 1.
    Knowledge Sharing SessiononHTML and CSSBasic HTML and CSSFerdous Mahmud ShaonFebruary 2014
  • 2.
  • 3.
    HTML Tags andNested Tags
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
    HTML frameset• Notrecommended tag• Not supported in HTML5
  • 14.
  • 15.
    HTML Block vsInline elements• Block Elements– Takes up the full width available, and has a linebreak before and after it.– <p>, <div>, <h1>…. <h6>, <ul>, <ol>, <li>, <table>• Inline Elements– Takes up only as much width as necessary, anddoes not force line breaks after it.– <a>, <span>, <img>
  • 16.
  • 17.
  • 18.
  • 19.
    HTML Table vsDIV• Most websites have put their content in multiple columns.• Multiple columns can be created by using <div> or <table>elements.• Even though it is possible to create nice layouts with HTMLtables, tables were designed for presenting tabular data -NOT as a layout tool!• The div element is used for grouping HTML elements andfor creating rows and columns with the help of CSS.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
    HTML <!DOCTYPE>• Mustbe the very first thing in HTML document,even before the <html> tag• Provides information to the web browser aboutwhat version of HTML the page is written in.• In HTML 4, the <!DOCTYPE> declaration refers to aDTD, but in HTML5, the <!DOCTYPE> declarationdoes NOT refer to any DTD.
  • 26.
  • 27.
  • 28.
    HTML vs XHTMLXHTML–eXtensible HyperText Markup Language– Stricter and cleaner version of HTML similar toXML– Better cross browser support
  • 29.
    HTML vs XHTMLXHTMLDOCTYPE– mandatoryXHTML elements– must be properly nested– must always be closed– must be in lowercase– must have one root elementXHTML attributes– names must be in lower case– values must be quoted– minimization is forbidden• <input type="checkbox" checked="checked" />• <input disabled="disabled" />
  • 30.
    SEO friendly HTML•Meaningful and relevant HTML <title> per page• Define <meta> description and keywords for each page.<meta name="description" content="Free Web tutorials on HTML and CSS"><meta name="keywords" content="HTML, CSS, XML, XHTML, JavaScript">• Use an <h1> tag for the main headline of the page. It shouldn’t bemore than one in a single page.• Relevant sub-headlines should use an <h2>…<h6> tags according totheir priority.• Avoid embedded JS and CSS whenever possible. Try to use externalCSS and JS and if possible minimize them.
  • 31.
    New HTML5 Tags•<canvas> defines graphic drawing usingJavaScript• <audio> defines sound or music content• <video> defines video or movie content• <header> defines a header for the documentor a section• <nav> defines navigation links in the document
  • 32.
    New HTML5 Tags•<section> defines a section in the document• <main> defines the main content of adocument• <article> defines an article in the document• <footer> defines a footer for the document ora section• <figure> defines self-contained content, likeillustrations, diagrams, photos etc.
  • 33.
    HTML Style Elements<font>,<strong>, <b>, <u>, <i>, <em>, <center>
  • 34.
    What is CSS?•Cascading Style Sheets• Defines how to display HTML elements• Added to HTML 4.0• Current version is CSS 2.• CSS 3 is also released and supported by mostof the browsers.
  • 35.
  • 36.
  • 37.
  • 38.
  • 39.
  • 40.
  • 41.
  • 42.
  • 43.
    CSS class vsid selector
  • 44.
  • 45.
  • 46.
    CSS Box Model(block element)
  • 47.
    CSS Box Model(block element)
  • 48.
    CSS Box Model(block element)
  • 49.
    CSS Box Model– Margin Collapse
  • 50.
    CSS Box Model– Margin Collapse
  • 51.
    CSS Box Model– Margin Collapse
  • 52.
    CSS Box Model– Margin Collapse
  • 53.
    CSS Box Model– Margin Collapse
  • 54.
    CSS Box Model(inline element)
  • 55.
    CSS Box Model(inline element)
  • 56.
    CSS Box ModelShortcuts
  • 57.
    CSS Box ModelDimensions
  • 58.
    CSS Box Modeland Box Sizing• CSS3 Property– box-sizing: content-box; /* Default value */– box-sizing: border-box; /* Grid in Twitter Bootstrap */
  • 59.
    CSS Dimension• height–Sets the height of an element• max-height– Sets the maximum height of an element• min-height– Sets the minimum height of an element• width– Sets the width of an element• max-width– Sets the maximum width of an element• min-width– Sets the minimum width of an element
  • 60.
    Display and Visibility•Hiding an Element– display:none (doesn’t take space)– visibility:hidden (takes space)• Styling block / inline HTML Element– ul.menu li { display:inline; }– div.data span { display:block; }
  • 61.
  • 62.
  • 63.
    CSS ‘position’ Property•static– default value– not affected by top, right, bottom, left• relative– positioned relative to its normal position• absolute– positioned relative to the nearest relatively positioned ancestor– if no relatively positioned ancestors, then it uses the document body• fixed– positioned relative to the viewport– always stays in the same place even if the page is scrolled.
  • 64.
  • 65.
  • 66.
    CSS Relative andAbsolute Positioning
  • 67.
  • 68.
  • 69.
  • 70.
  • 71.
  • 72.
  • 73.
    Grouping and NestingSelectors• Grouping Selectors– div, p, span {font-family: "Helvetica Neue", Arial, Helvetica;}• Nesting Selectors– #main .data p { color:blue; }– .widget.data p { color:blue; }– #main .data > p { color:blue; }
  • 74.
    CSS Pseudo-classes Selectors•Syntax:selector:pseudo-class { property:value; }• Anchor Pseudo-classes– a:link {color:#FF0000;} /* unvisited link */– a:visited {color:#00FF00;} /* visited link */– a:hover {color:#FF00FF;} /* mouse over link */– a:active {color:#0000FF;} /* selected link */• First-child Pseudo-class– ul.menu > li:first-child { margin-left:0; }
  • 75.
    CSS Opacity /Transparency• Transparency– opacity:0.5;– filter:alpha(opacity=50); /* For old IEs */• Cross browser Transparency.transparent {/* IE 8 */-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";filter: alpha(opacity=50); /* IE 5-7 */-moz-opacity: 0.5; /* Netscape */-khtml-opacity: 0.5; /* Safari 1.x */opacity: 0.5; /* Good browsers */}
  • 76.
    CSS Image Sprites•An image sprite is a collection of images putinto a single image.• Reduces load time and saves bandwidth.• img.home { width:46px; height:44px;background:url(img_navsprites.gif) 0 0; }• img.next { width:43px; height:44px;background:url(img_navsprites.gif) -91px 0; }
  • 77.
    CSS Hacks -IE Detection andConditional CSS• http://www.sitepoint.com/microsoft-drop-ie10-conditional-comments/• http://msdn.microsoft.com/en-us/library/ms537512%28VS.85%29.aspx<!--[if IE]><p>You are using Internet Explorer >=5 and <= 9.</p><![endif]--><![if !IE]><p>You are using Internet Explorer >=10 or other browsers.</p><![endif]>• Using jQuery for jQuery < 1.9if (jQuery.browser.msie && jQuery.browser.version < 8) {// do something}
  • 78.
    CSS Hacks• IE7doesn’t understand ‘display: inline-block’1. display:block;float:left;2. display: inline-block;*display: inline;zoom: 1;
  • 79.
    CSS – majorIE6 Problem• IE6 doesn't support multiple class selectors.• So when we write,div.menu.horizontal.widget { color: blue; }in IE6, the above style is interpreted as:div.widget { color: blue; }• This style definition affects all div elementshaving widget style class.
  • 80.

[8]ページ先頭

©2009-2025 Movatter.jp