DIV和BGCOLOR [英] DIV and BGCOLOR
问题描述
我感到困惑,我不应该这样说:
< div bgcolor =" #CCCCFF">
.. ...
< / div>
并且我的页面/表格的那一部分是浅蓝色背景?
在HTML和样式表中尝试过它,什么都没有。
未来感谢
< blockquote>Daniel Kaplan < No **** @ NoSpam.com在留言中写道
新闻:12 *************** @ nntp.acecape.com ...
< div bgcolor =" #CCCCFF">
....
< / div> ;
我的意思是说,如果DIV在一张桌子里面就不行了......如果它是
在桌子外面,然后它确实...当然必须有一种方法来使用div来
只改变一块或一部分桌子?
>
在文章< 12 *************** @ nntp.acecape.com>,
" Daniel Kaplan" < No **** @ NoSpam.comwrote:
我很困惑我不应该这样说:
< div bgcolor =" #CCCCFF">
....
< / div>
我的页面/表格的那一部分是浅蓝色的背景吗?
在HTML和样式表中尝试过它,什么也没有。
< http://dorayme.890m.com/alt/kaplan.html>
-
dorayme
Daniel Kaplan写道:
我很困惑我不应该可以说出这样的话:
< div bgcolor =" #CCCCFF">
....
< / div>
我的页面/表格的那一部分是浅蓝色的背景吗?
在里面尝试过HTML以及样式表,什么也没有。
使用CSS代替页面样式。
Am I confused ot shouldn''t I be able to say something like this:
<div bgcolor="#CCCCFF">
.....
</div>
And have that section of my page/table be a light blue background?
Tried it inside the HTML as well as in a style sheet, and nothing.
Thanks ahead
"Daniel Kaplan" <No****@NoSpam.comwrote in message
news:12***************@nntp.acecape.com...
<div bgcolor="#CCCCFF">
....
</div>I meant to say that if the DIV is inside a table it won''t work....if it''s
outside the table, then it does...Surely there must be a way to use div to
change just a piece or portion of a table?
In article <12***************@nntp.acecape.com>,
"Daniel Kaplan" <No****@NoSpam.comwrote:
Am I confused ot shouldn''t I be able to say something like this:
<div bgcolor="#CCCCFF">
....
</div>
And have that section of my page/table be a light blue background?
Tried it inside the HTML as well as in a style sheet, and nothing.
<http://dorayme.890m.com/alt/kaplan.html>
--
dorayme
Daniel Kaplan wrote:Am I confused ot shouldn''t I be able to say something like this:
<div bgcolor="#CCCCFF">
....
</div>
And have that section of my page/table be a light blue background?
Tried it inside the HTML as well as in a style sheet, and nothing.Use CSS instead to style your page.
这篇关于DIV和BGCOLOR的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!