D.Seethalakshmi MCA.,M.Phil.,
Assistant Professor
Bon Scours College for Women,
Thanjavur
• Defining Cascade Style Sheets
• Working with the CSS styles and Panel
• Creating a New CSS Rule
• Working with External CSS Style Sheets
• Working with CSS layouts
• Working with AP Div Element
• CSS is a collection of formatting rules, known as
CSS rules, which controls the appearance of
content in a web page.
• Styles can be specified inside a single HTML
element, <head>.
• Multiple external style sheets referenced inside a
single HTML document.
• CSS elements within a webpage by using
rectangular boxes known as Absolute Positioned
elements.
• AP Elements are used to hold and place the content of
the web page.
• The AP element are used to hold and place the content
of the web page.
• The AP element act as a container for text, images &
tables occupies a certain area on the web page.
• Create a web page layout using CSS, notice the use of
<div> tags.
• Draw AP Div tool, inserts a <div> tag in the HTML code of
the web page.
• The AP element the <div> tag is known as an AP Div
element.
• CSS defining rules reside either in an external CSS file or
HTML code of web page, normally in the head section of
HTML code.
• CSS rules are the styles that are applied on the HTML
elements, Such as font, images & tables of a Web page.
• CSS rules consist of 2 parts, selector & declaration.
• Selector part describes the formatted element, such as
headings, paragraphs & id name.
• The code specified between the curly braces ({}) is the
declaration part.
• Each declaration part is further divided into 2 parts,
property and value.
• External CSS
• All CSS rules are collectively stored in a separate, external CSS
files with the .CSS extension.
• Internal CSS
CSS rules are stored in a style tag in a head portion of the
associated HTML document.
• Inline Style
• CSS code that resides within specific instances of tags throughout
an HTML document.
• A CSS rule-set consists of a selector and a declaration
block:
• The selector points to the HTML element you want to
style.
• The declaration block contains one or more declarations
separated by semicolons.
• Each declaration includes a CSS property name and a
value, separated by a colon.
• Multiple CSS declarations are separated with
semicolons, and declaration blocks are surrounded by
curly brace
• Shorthand properties are CSS properties that let you
set the values of multiple other CSS properties
simultaneously. Using a shorthand property, you can
write more concise (and often more readable) style
sheets, saving time and energy.
• the CSS specification defines shorthand properties to
group the definition of common properties acting on the
same theme. For instance, the CSS background property
is a shorthand property that's able to define the values
of background-color, background-image, background-
repeat, and background-position. Similarly, the most
common font-related properties can be defined using the
shorthand font, and the different margins around a box
can be defined using the margin shorthand.
• Launch the CSS panel by
choosing Window > CSS
Styles.
• A. Show Category View.
• B. Show List View.
C. Show Only Set Properties.
• D. Internal Style Sheet.
• E. CSS panel menu.
• F. Switch to Current
Selection Mode.
G. Rules pane.
• H. Properties pane.
• I. Attach Style Sheet.
• J. New CSS Rule.
• K. Edit Style Sheet.
L. Disable/Enable CSS
Property. M. Delete
• CSS style preferences control how Dreamweaver writes
the code that defines CSS styles. CSS styles can be
written in a shorthand form that some people find easier
to work with.
Select Edit > Preferences
• When creating CSS rules : controls the shorthand rules
at the time of creating CSS rules.
• When editing CSS rules : controls the shorthand rules in
the existing style sheet.
• When double clicking in CSS panel: selects a tool for
editing CSS rules.
• Can easily edit CSS rules from an internal and external
CSS file.
• Edit a CSS file that controls the text in web page.
• Edit an external style sheets, it affects all the documents
linked to the external style sheet.
• Easily move the CSS rules to different locations.
• Eg from one web page to another web page o from one
web page to an external style sheet.
• An external style sheet enables to create styles can apply
to all the web pages through out a website.
• An external style sheet store the style sheet information
in a separate CSS file.
• Define styles for common formatting used in the entire
sheet, such as headings, captions and even images.
• Applying multiple formatting options to elements fast and
easy.
• Attach any external style sheet to the web page with the
attach style sheet command in the CSS STYLES panel.
• The steps are
• Open the web page where we want to link an external style sheet
• Click attach style sheet button in CSS STYLES Panel.
• It provides to develop own style sheets.
DW unit 3.pptx
DW unit 3.pptx
DW unit 3.pptx
DW unit 3.pptx
DW unit 3.pptx
DW unit 3.pptx
DW unit 3.pptx
DW unit 3.pptx

DW unit 3.pptx

  • 1.
    D.Seethalakshmi MCA.,M.Phil., Assistant Professor BonScours College for Women, Thanjavur
  • 2.
    • Defining CascadeStyle Sheets • Working with the CSS styles and Panel • Creating a New CSS Rule • Working with External CSS Style Sheets • Working with CSS layouts • Working with AP Div Element
  • 3.
    • CSS isa collection of formatting rules, known as CSS rules, which controls the appearance of content in a web page. • Styles can be specified inside a single HTML element, <head>. • Multiple external style sheets referenced inside a single HTML document. • CSS elements within a webpage by using rectangular boxes known as Absolute Positioned elements.
  • 4.
    • AP Elementsare used to hold and place the content of the web page. • The AP element are used to hold and place the content of the web page. • The AP element act as a container for text, images & tables occupies a certain area on the web page. • Create a web page layout using CSS, notice the use of <div> tags. • Draw AP Div tool, inserts a <div> tag in the HTML code of the web page. • The AP element the <div> tag is known as an AP Div element.
  • 5.
    • CSS definingrules reside either in an external CSS file or HTML code of web page, normally in the head section of HTML code. • CSS rules are the styles that are applied on the HTML elements, Such as font, images & tables of a Web page. • CSS rules consist of 2 parts, selector & declaration. • Selector part describes the formatted element, such as headings, paragraphs & id name. • The code specified between the curly braces ({}) is the declaration part. • Each declaration part is further divided into 2 parts, property and value.
  • 6.
    • External CSS •All CSS rules are collectively stored in a separate, external CSS files with the .CSS extension. • Internal CSS CSS rules are stored in a style tag in a head portion of the associated HTML document. • Inline Style • CSS code that resides within specific instances of tags throughout an HTML document.
  • 7.
    • A CSSrule-set consists of a selector and a declaration block: • The selector points to the HTML element you want to style. • The declaration block contains one or more declarations separated by semicolons. • Each declaration includes a CSS property name and a value, separated by a colon. • Multiple CSS declarations are separated with semicolons, and declaration blocks are surrounded by curly brace
  • 8.
    • Shorthand propertiesare CSS properties that let you set the values of multiple other CSS properties simultaneously. Using a shorthand property, you can write more concise (and often more readable) style sheets, saving time and energy. • the CSS specification defines shorthand properties to group the definition of common properties acting on the same theme. For instance, the CSS background property is a shorthand property that's able to define the values of background-color, background-image, background- repeat, and background-position. Similarly, the most common font-related properties can be defined using the shorthand font, and the different margins around a box can be defined using the margin shorthand.
  • 9.
    • Launch theCSS panel by choosing Window > CSS Styles. • A. Show Category View. • B. Show List View. C. Show Only Set Properties. • D. Internal Style Sheet. • E. CSS panel menu. • F. Switch to Current Selection Mode. G. Rules pane. • H. Properties pane. • I. Attach Style Sheet. • J. New CSS Rule. • K. Edit Style Sheet. L. Disable/Enable CSS Property. M. Delete
  • 10.
    • CSS stylepreferences control how Dreamweaver writes the code that defines CSS styles. CSS styles can be written in a shorthand form that some people find easier to work with. Select Edit > Preferences • When creating CSS rules : controls the shorthand rules at the time of creating CSS rules. • When editing CSS rules : controls the shorthand rules in the existing style sheet. • When double clicking in CSS panel: selects a tool for editing CSS rules.
  • 18.
    • Can easilyedit CSS rules from an internal and external CSS file. • Edit a CSS file that controls the text in web page. • Edit an external style sheets, it affects all the documents linked to the external style sheet.
  • 28.
    • Easily movethe CSS rules to different locations. • Eg from one web page to another web page o from one web page to an external style sheet.
  • 31.
    • An externalstyle sheet enables to create styles can apply to all the web pages through out a website. • An external style sheet store the style sheet information in a separate CSS file. • Define styles for common formatting used in the entire sheet, such as headings, captions and even images. • Applying multiple formatting options to elements fast and easy.
  • 37.
    • Attach anyexternal style sheet to the web page with the attach style sheet command in the CSS STYLES panel. • The steps are • Open the web page where we want to link an external style sheet • Click attach style sheet button in CSS STYLES Panel.
  • 41.
    • It providesto develop own style sheets.