使用Macromedia Dreamweaver 8的能否看到DIV+CSS样式的效果

来源:百度知道 编辑:UC知道 时间:2024/06/05 07:43:47
定义了DIV+CSS样式,使用Macromedia Dreamweaver 8怎么才能看到其效果。
是外部样式。
外部引用
像这样
<link href="样式的路径***.css" rel="stylesheet" type="text/css">
在Macromedia Dreamweaver 8的设计视图能看到效果吗?

外部引用

像这样
<link href="样式的路径***.css" rel="stylesheet" type="text/css">

用Adobe DW CS4吧!

在网页<head>与</head>之间引用这个文件

<head><link href="路径" type="text/css" rel="stylesheet" /></head>

之后在页面需要的地方class或id调用啊,比如

<div class="page_Body"></div>

能看到,但不一定是正确的显示。
正确的显示还需要到IE或是FF或是其它浏览器中去看。

当然可以~不过路径一定要对!
rel="stylesheet" 必写!!
type="text/css"可以不要~这个只是为了其他编程人员能看的懂

调试用IE+火狐一起调试~考虑兼容性!最好不要在DW里调试~会出现一些不正确的显示!