Skip navigation
Currently Being Moderated

Still can't get styles to render in Design View

May 3, 2012 6:15 AM

Tags: #cs5 #dreamweaver #css

Using DW CS5.5. Looking at David's online tutorial. I can NOT get the styles to render in the design or any other window. Everything remains exactly as it was before I created the CSS, like it never happened. Please help.


"Screen Media Type" and "Display Styles" are checked in View/Style Rendering. The Display CSS toggle is on in the Style Rendering Toolbar.


Here's the code for the style sheet:


@charset "utf-8";

/* CSS Document */


#container {

    width: 968px;

    background: #FFF;

    margin: 0 auto;

    padding-left: 10px;

    padding-right; 10px;

    overflow: hidden;



Here's the code for the page:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">

<html xmlns="">


<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>Check Magazine</title>

<link href="styles/check_cs5.css" rel="stylesheet" type="text/css" />




<div id="Container">

  <div id="Banner"><img src="images/banner.gif" width="968" height="100" alt="Check Magazine" /></div>

  <div id="main_image">Content for  id "main_image" Goes Here</div>

  <div id="left_column">Content for  id "left_column" Goes Here</div>

  <div id="center_column">Content for  id "center_column" Goes Here</div>

  <div id="right_column">Content for  id "right_column" Goes Here</div>





The CSS seems to be saved and attached correctly:


  • Currently Being Moderated
    May 3, 2012 6:21 AM   in reply to Osmigo1

    css is 'case' sensitive so <div id="Container"> is not going to recognise #container (change one or the other)

    Mark as:
  • Jim Carpenter
    546 posts
    Apr 6, 2006
    Currently Being Moderated
    May 3, 2012 6:41 AM   in reply to Osmigo1

    I think we have all done that a time or two. Good catch Os!

    Mark as:
  • Currently Being Moderated
    May 3, 2012 6:42 AM   in reply to Osmigo1

    Osmigo1 wrote:


    Oh, for crying out loud.....  (hangs head in embarrassment)


    Don't worry, we've all been there.

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points