Responsive image
Responsive image

Macromedia Dreamweaver and CSS

Macromedia DW is a power full site designing tool that offers an intuitive environment for building cross-platform sites. Dreamweaver is a favorite of multimedia designers, since it easily integrates with other Macromedia applications, like flash and shock wave.

How to create a new website using Macromedia Dreamweaver?

  • First, You should go to site menu. And choose “Sites”.
  • In the  dialog box choose “New site” from the site option.
  • In the dialog box type your site name and click “next” button.
  • Click “no, I do….. “  radio button and click “next” button.
  • Click “Edit local ……..” radio button and open your site folder path, and click “Next” Button.
  • Select your connect to remote server “None” and open your folder do you want to store your file in?
  • Click “No, do not ..” enable check in and check out. And click “Next” button.
  • Click on done button.
  • lick again “done” button on the dialog box.

Responsive image

CSS
What is CSS?
CSS stands for Cascading Style Sheets
Styles define how to display HTML elements.
Styles were added to HTML to solve a problem.

CSS is Two types:

  • External style sheet
  • Internal style sheet

External style sheet:
An external style sheet is ideal when the style is applied to many pages. With an external style sheet, each page must like to the style sheet using the <link> tag. The <link tag goes inside the head section.
Like this:
<html>
<head>
<link rel=”stylesheet” type=”text/css” href=”File name.css”>
</head>
Internal Style Sheet:
An internal style sheet should be used when a single document has a unique style. You define internal styles in the head section of an HTML page, by using <Style> Tag.
Like This:
<html>
<head>
<style type=”text/css”>
………………
…………
</style>
</head>

CSS syntax:
The CSS syntax is made up of three parts: a selector, a property and a value.

  • Selector{property: value}

Example:
Body{background-color:black}

Grouping : You can group selectors. Separate each selector with a comma.

Example:
H1,h2,h3,h4,h5
{
Color:green;
Font-size:7

}

Note: If the value is multiple letters, put quotes around the value

  • P{font-family:”arial”}

Note: if you want to specify more than one property, you must separate each property with a semicolon. The example below shows how to define a center aligned paragraph, with a red text color:

  • P{ text-align:center; color:red; }

To make the style definition more readable, you can describe one property on each line, like this:
P
{
Text-align:center;
Color:black;
Font-family:arial
}




Post Your Comment Here