<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>评论: 回答读者提问(11)——CSS滑动门技术的简单应用</title>
	<link>http://learning.artech.cn/20071105.css-slide-door-application.html</link>
	<description>学习在前沿！这里是“前沿视频教室”，在这里您可以找到关于各种网页设计/网站开发/Flash动画相关的内容，而且我们都通过视频演示的方式，直观地向您讲解！包括CSS/Javascript/Flash/Dreamweaver/Fireworks/Photoshop等软件的使用和技巧!</description>
	<pubDate>Sat, 19 May 2012 19:52:16 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2</generator>

	<item>
		<title>作者: 莫晓碎</title>
		<link>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-16157</link>
		<author>莫晓碎</author>
		<pubDate>Tue, 06 Mar 2012 08:27:30 +0000</pubDate>
		<guid>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-16157</guid>
		<description>老师，你好，看到这个滑动门的方法让我联想到我现在遇到的问题，我的背景图片是上下渐变的，顶端和末端都有图片，与这个案例类似，只是你的是横向不上下渐变的，我的是纵向上下渐变的，我页面内部的内容相当于你的内部文字，我是想怎样才能够让背景图片随着内部内容的高度而自动伸缩却不影响整体布局啊？代码我绝大部分都用的绝对定位，现在改起来很麻烦，我也不会改，所以看到了这篇文章看到了希望，所以向老师讨教讨教，先谢谢了O(∩_∩)O~</description>
		<content:encoded><![CDATA[<p>老师，你好，看到这个滑动门的方法让我联想到我现在遇到的问题，我的背景图片是上下渐变的，顶端和末端都有图片，与这个案例类似，只是你的是横向不上下渐变的，我的是纵向上下渐变的，我页面内部的内容相当于你的内部文字，我是想怎样才能够让背景图片随着内部内容的高度而自动伸缩却不影响整体布局啊？代码我绝大部分都用的绝对定位，现在改起来很麻烦，我也不会改，所以看到了这篇文章看到了希望，所以向老师讨教讨教，先谢谢了O(∩_∩)O~</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者: 千百度</title>
		<link>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-15797</link>
		<author>千百度</author>
		<pubDate>Wed, 28 Dec 2011 03:36:35 +0000</pubDate>
		<guid>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-15797</guid>
		<description>老师，你太幽默了</description>
		<content:encoded><![CDATA[<p>老师，你太幽默了</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者: fc_lamp</title>
		<link>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-15769</link>
		<author>fc_lamp</author>
		<pubDate>Tue, 20 Dec 2011 07:17:09 +0000</pubDate>
		<guid>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-15769</guid>
		<description>哇哦，老师发表留言的效果做的不错哦~~顶~~</description>
		<content:encoded><![CDATA[<p>哇哦，老师发表留言的效果做的不错哦~~顶~~</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者: fc_lamp</title>
		<link>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-15768</link>
		<author>fc_lamp</author>
		<pubDate>Tue, 20 Dec 2011 07:16:19 +0000</pubDate>
		<guid>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-15768</guid>
		<description>老师，可否说说 span标签里为何要添加一个 display 属性呐？</description>
		<content:encoded><![CDATA[<p>老师，可否说说 span标签里为何要添加一个 display 属性呐？</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者: long</title>
		<link>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-15439</link>
		<author>long</author>
		<pubDate>Sun, 25 Sep 2011 06:01:31 +0000</pubDate>
		<guid>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-15439</guid>
		<description>哈哈，，，不错的CSS技巧</description>
		<content:encoded><![CDATA[<p>哈哈，，，不错的CSS技巧</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者: 云浮网</title>
		<link>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-15322</link>
		<author>云浮网</author>
		<pubDate>Fri, 09 Sep 2011 01:47:47 +0000</pubDate>
		<guid>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-15322</guid>
		<description>呵呵  支持啦 www.dhszz.com</description>
		<content:encoded><![CDATA[<p>呵呵  支持啦 <a href="http://www.dhszz.com" rel="nofollow">www.dhszz.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>作者: lee</title>
		<link>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-14531</link>
		<author>lee</author>
		<pubDate>Wed, 06 Apr 2011 07:15:59 +0000</pubDate>
		<guid>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-14531</guid>
		<description>看到老师给的回复,好激动啊.老师能一个个亲自回答我们的问题,这种精神让我折服.给了我更强大的学习动力.向老师敬礼.谢谢老师.</description>
		<content:encoded><![CDATA[<p>看到老师给的回复,好激动啊.老师能一个个亲自回答我们的问题,这种精神让我折服.给了我更强大的学习动力.向老师敬礼.谢谢老师.</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者: 温谦</title>
		<link>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-14525</link>
		<author>温谦</author>
		<pubDate>Mon, 04 Apr 2011 06:32:23 +0000</pubDate>
		<guid>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-14525</guid>
		<description>张衡，

你好，地动仪都能造出来， Web不难学！加油！</description>
		<content:encoded><![CDATA[<p>张衡，</p>
<p>你好，地动仪都能造出来， Web不难学！加油！</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者: 张衡</title>
		<link>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-14512</link>
		<author>张衡</author>
		<pubDate>Sun, 03 Apr 2011 10:21:58 +0000</pubDate>
		<guid>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-14512</guid>
		<description>WEB好难学啊</description>
		<content:encoded><![CDATA[<p>WEB好难学啊</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者: 温谦</title>
		<link>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-14305</link>
		<author>温谦</author>
		<pubDate>Wed, 23 Mar 2011 00:32:48 +0000</pubDate>
		<guid>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-14305</guid>
		<description>lee ，

你说的对，h3里面的padding-left是为了露出左侧的花纹，span里的padding-right是为了对称，使得里面的文字居中，如果没有它，蚊子就会偏有一点点了。

上次的回答我看错读者的问题了。

谢谢！欢迎常来这里交流！</description>
		<content:encoded><![CDATA[<p>lee ，</p>
<p>你说的对，h3里面的padding-left是为了露出左侧的花纹，span里的padding-right是为了对称，使得里面的文字居中，如果没有它，蚊子就会偏有一点点了。</p>
<p>上次的回答我看错读者的问题了。</p>
<p>谢谢！欢迎常来这里交流！</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者: lee</title>
		<link>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-14302</link>
		<author>lee</author>
		<pubDate>Tue, 22 Mar 2011 13:41:20 +0000</pubDate>
		<guid>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-14302</guid>
		<description>即使在span中不写这个padding-right:40px，也能有图案露出来。我感觉是为了不让文字离右边太近，以防遮住图案。不知道我想的对不对。讨教一下。。谢谢</description>
		<content:encoded><![CDATA[<p>即使在span中不写这个padding-right:40px，也能有图案露出来。我感觉是为了不让文字离右边太近，以防遮住图案。不知道我想的对不对。讨教一下。。谢谢</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者: 温谦</title>
		<link>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-13985</link>
		<author>温谦</author>
		<pubDate>Wed, 23 Feb 2011 12:47:52 +0000</pubDate>
		<guid>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-13985</guid>
		<description>白龙马 ,

这个就是滑动门的关键，为了空出一段距离，好露出图案。</description>
		<content:encoded><![CDATA[<p>白龙马 ,</p>
<p>这个就是滑动门的关键，为了空出一段距离，好露出图案。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者: 白龙马</title>
		<link>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-13979</link>
		<author>白龙马</author>
		<pubDate>Tue, 22 Feb 2011 10:59:17 +0000</pubDate>
		<guid>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-13979</guid>
		<description>为什么span有个padding-right:40px</description>
		<content:encoded><![CDATA[<p>为什么span有个padding-right:40px</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者: haha21</title>
		<link>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-13611</link>
		<author>haha21</author>
		<pubDate>Thu, 25 Nov 2010 15:09:57 +0000</pubDate>
		<guid>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-13611</guid>
		<description>可以嵌套吗</description>
		<content:encoded><![CDATA[<p>可以嵌套吗</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者: http://ec.hynu.cn</title>
		<link>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-12799</link>
		<author>http://ec.hynu.cn</author>
		<pubDate>Sun, 27 Jun 2010 00:48:04 +0000</pubDate>
		<guid>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-12799</guid>
		<description>模板现在基本上没有什么用了，它只是为了使代码重用，将网页不需要改动的部分作为一个模板，如果你懂代码，也可以把那些不需要改动的代码拷贝过去一样的</description>
		<content:encoded><![CDATA[<p>模板现在基本上没有什么用了，它只是为了使代码重用，将网页不需要改动的部分作为一个模板，如果你懂代码，也可以把那些不需要改动的代码拷贝过去一样的</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者: 钟渚华</title>
		<link>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-12798</link>
		<author>钟渚华</author>
		<pubDate>Fri, 25 Jun 2010 08:28:48 +0000</pubDate>
		<guid>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-12798</guid>
		<description>您好！我想知道，dreamweaver中的模板到底要怎么用，上网找了好多，都没有详细的代码解释！</description>
		<content:encoded><![CDATA[<p>您好！我想知道，dreamweaver中的模板到底要怎么用，上网找了好多，都没有详细的代码解释！</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者: klcd</title>
		<link>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-12711</link>
		<author>klcd</author>
		<pubDate>Wed, 09 Jun 2010 05:03:58 +0000</pubDate>
		<guid>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-12711</guid>
		<description>呵呵，终于找到书了，看到里面的网址，故上来看下http://www.chinanet5.com</description>
		<content:encoded><![CDATA[<p>呵呵，终于找到书了，看到里面的网址，故上来看下http://www.chinanet5.com</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者: 水清沙白</title>
		<link>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-11723</link>
		<author>水清沙白</author>
		<pubDate>Fri, 08 Jan 2010 02:05:49 +0000</pubDate>
		<guid>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-11723</guid>
		<description>你好，看了你们网站的css技术方面的视频教程，受益匪浅，自己试着在下拉菜单效果的基础上修改成自己想要的效果， 想把菜单项dd中的内容加宽显示，但是定义dd的宽度，或者在dd中加入div定义宽度，出现的问题是，鼠标经过dt,dt&#62;宽度也会变的和定义的dd一样宽，效果走样。不知道这样的问题该如何解决呢？多谢！</description>
		<content:encoded><![CDATA[<p>你好，看了你们网站的css技术方面的视频教程，受益匪浅，自己试着在下拉菜单效果的基础上修改成自己想要的效果， 想把菜单项dd中的内容加宽显示，但是定义dd的宽度，或者在dd中加入div定义宽度，出现的问题是，鼠标经过dt,dt&gt;宽度也会变的和定义的dd一样宽，效果走样。不知道这样的问题该如何解决呢？多谢！</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者: 温谦</title>
		<link>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-7984</link>
		<author>温谦</author>
		<pubDate>Thu, 12 Mar 2009 07:30:09 +0000</pubDate>
		<guid>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-7984</guid>
		<description>你好，

好久不见了，生意好啊？</description>
		<content:encoded><![CDATA[<p>你好，</p>
<p>好久不见了，生意好啊？</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者: baby880</title>
		<link>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-7831</link>
		<author>baby880</author>
		<pubDate>Thu, 05 Mar 2009 09:26:01 +0000</pubDate>
		<guid>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-7831</guid>
		<description>我的问题真好。哈哈！以后提多一点。</description>
		<content:encoded><![CDATA[<p>我的问题真好。哈哈！以后提多一点。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者: 温谦</title>
		<link>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-4722</link>
		<author>温谦</author>
		<pubDate>Fri, 12 Sep 2008 01:08:09 +0000</pubDate>
		<guid>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-4722</guid>
		<description>csser，

希望我们的书对您有所帮助，有问题可以到这里或者我们的论坛发帖讨论！</description>
		<content:encoded><![CDATA[<p>csser，</p>
<p>希望我们的书对您有所帮助，有问题可以到这里或者我们的论坛发帖讨论！</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者: csser</title>
		<link>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-4700</link>
		<author>csser</author>
		<pubDate>Thu, 11 Sep 2008 03:50:13 +0000</pubDate>
		<guid>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-4700</guid>
		<description>书终于到了，好好看看，希望有所提高！！</description>
		<content:encoded><![CDATA[<p>书终于到了，好好看看，希望有所提高！！</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者: 温谦</title>
		<link>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-623</link>
		<author>温谦</author>
		<pubDate>Tue, 06 Nov 2007 23:59:24 +0000</pubDate>
		<guid>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-623</guid>
		<description>袁马飞读者，您好！

您太谦虚了，我们这里介绍的方法实际上也是前人研究出来的方法。我们为了准备写《CSS设计彻底研究》这本书，看了很多很多国外设计师的文章和资料，基本上2003-2004年是CSS的各种技术发展和成熟最快的一段时间，现在基本上已经定型了。我们在新书里对于这些方法都给出了出处和发明他们的设计师是谁，读者有兴趣，还可以做更深入的研究。

这里介绍的这种方法是一个非常通用的方法，所以它才会有一个固定的名字叫“滑动门”，这种方法在很多地方都非常有用，只要是希望能够适应宽度，都应该试试这种方法。

你用的4个div也可以，不过提醒您注意的是，从您的解决方案可以看出，你使用表格布局已经很熟练，头脑中表格布局的思想已经很深，实际上，使用CSS布局，一定要改变思想方法，用CSS的思想去解决问题，往往能够找到很有趣的解决方案。</description>
		<content:encoded><![CDATA[<p>袁马飞读者，您好！</p>
<p>您太谦虚了，我们这里介绍的方法实际上也是前人研究出来的方法。我们为了准备写《CSS设计彻底研究》这本书，看了很多很多国外设计师的文章和资料，基本上2003-2004年是CSS的各种技术发展和成熟最快的一段时间，现在基本上已经定型了。我们在新书里对于这些方法都给出了出处和发明他们的设计师是谁，读者有兴趣，还可以做更深入的研究。</p>
<p>这里介绍的这种方法是一个非常通用的方法，所以它才会有一个固定的名字叫“滑动门”，这种方法在很多地方都非常有用，只要是希望能够适应宽度，都应该试试这种方法。</p>
<p>你用的4个div也可以，不过提醒您注意的是，从您的解决方案可以看出，你使用表格布局已经很熟练，头脑中表格布局的思想已经很深，实际上，使用CSS布局，一定要改变思想方法，用CSS的思想去解决问题，往往能够找到很有趣的解决方案。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者: 袁马飞</title>
		<link>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-622</link>
		<author>袁马飞</author>
		<pubDate>Tue, 06 Nov 2007 19:53:06 +0000</pubDate>
		<guid>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-622</guid>
		<description>我真的非常感谢你们!你们能够抽一点时间回答我的问题我感到很高兴。你把这个问题用到这么简单的方法去解决，我受益不少的啊！呵呵！
在我写信给你们之后，我自己也研究出一种方法。可是我用到的方法实在太复杂了！我定义四个DIV。把中间色值的图片作为第一个DIV的背色，第二个DIV用左边的花纹，第三个DIV作为文字标题，第四个DIV作为右边花纹。重要在于第四个DIV，（float:right;clear:both）。

我在于这里再次感谢你们，我期待你们的新书。新书一出，记得第一时间通知我。</description>
		<content:encoded><![CDATA[<p>我真的非常感谢你们!你们能够抽一点时间回答我的问题我感到很高兴。你把这个问题用到这么简单的方法去解决，我受益不少的啊！呵呵！<br />
在我写信给你们之后，我自己也研究出一种方法。可是我用到的方法实在太复杂了！我定义四个DIV。把中间色值的图片作为第一个DIV的背色，第二个DIV用左边的花纹，第三个DIV作为文字标题，第四个DIV作为右边花纹。重要在于第四个DIV，（float:right;clear:both）。</p>
<p>我在于这里再次感谢你们，我期待你们的新书。新书一出，记得第一时间通知我。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者: 温谦</title>
		<link>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-620</link>
		<author>温谦</author>
		<pubDate>Tue, 06 Nov 2007 09:33:37 +0000</pubDate>
		<guid>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-620</guid>
		<description>东方星，你好！

目前我们手没有非常好的.net实例，不过如果你希望学习.net的话，参考书和资料应该还是不少的。到网上搜一搜，应该可以找到不少，如果希望系统学习，找一本带有比较适当的案例的书，按部就班地研究一遍，效果应该不错！</description>
		<content:encoded><![CDATA[<p>东方星，你好！</p>
<p>目前我们手没有非常好的.net实例，不过如果你希望学习.net的话，参考书和资料应该还是不少的。到网上搜一搜，应该可以找到不少，如果希望系统学习，找一本带有比较适当的案例的书，按部就班地研究一遍，效果应该不错！</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者: 东方星</title>
		<link>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-615</link>
		<author>东方星</author>
		<pubDate>Tue, 06 Nov 2007 01:01:26 +0000</pubDate>
		<guid>http://learning.artech.cn/20071105.css-slide-door-application.html#comment-615</guid>
		<description>制作网业能给我几个。NET的事例吗 谢谢</description>
		<content:encoded><![CDATA[<p>制作网业能给我几个。NET的事例吗 谢谢</p>
]]></content:encoded>
	</item>
</channel>
</rss>

