Home > Web Front-end > HTML Tutorial > DreamWeaverCS5 must refresh the style sheet to display the defined selector_html/css_WEB-ITnose

DreamWeaverCS5 must refresh the style sheet to display the defined selector_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:04:50
Original
2000 people have browsed it

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>无标题文档</title><style type="text/css">	body{		margin:0px;		font-family:arial;		font-size:12px;	}	#father{		background-color:#a0c8ff;		border:1px solid #000000;		width:300px;		height:100px;		position:absolute; /*绝对定位*/		left:50px;		top:30px;	}</style></head><body>	<div id="father" id=""></div></body></html>
Copy after login

According to common sense, it is defined in . The following page should be able to be called directly? Why not?


Reply to discussion (solution)

What does refreshing the style sheet mean? You can use an external style sheet so that it automatically renders every time you refresh the page.

You can write it this way, but after you change the style, refreshing will have an effect, because css is "static" (js needs to be refreshed after writing to have an effect)

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template