前段时间安装windows live系列,一直没有尝试windows live writer发表drupal站点,不知设置是否正确。
已经成发布了,还不错。
现在测试是否可以修改本文。
修改本文成功。
不过由于windows live writer发布过去的内容的段落会是一样,虽然有<p>元素,但输入格式默认是Filtered HTML,解决的办法增加<p>元素
前段时间安装windows live系列,一直没有尝试windows live writer发表drupal站点,不知设置是否正确。
已经成发布了,还不错。
现在测试是否可以修改本文。
修改本文成功。
不过由于windows live writer发布过去的内容的段落会是一样,虽然有<p>元素,但输入格式默认是Filtered HTML,解决的办法增加<p>元素
<div id="node-<?php print $node->nid; ?>" class="node<?php if ($sticky) { print ' sticky'; } ?><?php if (!$status) { print ' node-unpublished'; } ?>">
<?php global $node_count; print ($node_count++ % 2) ? 'odd' : 'even'; ?>
<div id="node-<?php print $node->nid; ?>"
class="node<?php global $node_count; print ($node_count++ % 2) ? 'odd' : 'even'; ?><?php if ($sticky) { print ' sticky'; } ?><?php if
(!$status) { print ' node-unpublished'; } ?>">

<!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" xml:lang="zh-hans" lang="zh-hans">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>IE 7 lang filter hack</title>
<style type="text/css">
.item {color: #000000;}
html>body .item {color: #CC33CC;}
*:lang(zh) .item{color: #666666;}
.item:empty {color: #666666 !important}
</style>
</head>
<body lang="zh">
<p class="item">在这里IE7是紫色#CC33CC,IE6是黑色#000000,Firefox是灰色#666666</p>
</body>
</html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>CSS Hacks - !important</title>
<style type="text/css">
p{
background: green !important;
background: red;
}
</style>
</head>
<body>
<p>Test</p>
</body>
</html>