Highlighted

Having trouble with creating css

New Here ,
Jul 16, 2020

Copy link to clipboard

Copied

Hello,

I have tried and tried to create a css with dreamweaver, and it always opens up 2 styles and then I cannot save it to preview.

I know I must be doing something wrong, I have even tried to link a style sheet and that does the same thing.

Is there something I am doing wrong?

Thanks,

Debbie

Views

37

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Having trouble with creating css

New Here ,
Jul 16, 2020

Copy link to clipboard

Copied

Hello,

I have tried and tried to create a css with dreamweaver, and it always opens up 2 styles and then I cannot save it to preview.

I know I must be doing something wrong, I have even tried to link a style sheet and that does the same thing.

Is there something I am doing wrong?

Thanks,

Debbie

Views

38

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jul 16, 2020 0
Adobe Community Professional ,
Jul 16, 2020

Copy link to clipboard

Copied

This video has helped others with using CSS inside DW...

https://www.youtube.com/watch?v=RM55J_Yme4M

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 16, 2020 1
Adobe Community Professional ,
Jul 16, 2020

Copy link to clipboard

Copied

#1 If not already defined, create your local site folder from Site > New Site...

 

#2 Inside the <head> tag of your HTML document, add a link to your stylesheet.

Go to Tools > CSS > Attach Stylesheet. 

 

#3 Hit the Browse button and navigate to your local site's CSS file. Use LINK not Import.

Ctrl/Cmd + S to save document.

 

==================

To create an external stylesheet, go to File > New > CSS.

Paste the following code and hit Ctrl/Cmd + S to save document.

@charset "utf-8";
/* CSS Document */
html { font-size: 16px }

body {
font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, "sans-serif";
font-size: 1.5rem;
margin: 0 auto;
max-width: 56em;
padding: 1em 0;
}

 

Post back if you have questions.

 

Nancy O'Shea, ACP
Alt-Web Design & Publishing

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 16, 2020 0