如何让网页的背景图居于右下角。。。

victoryall 2003-10-27 10:42:36
如何让网页的背景图居于右下角。。。
请大家指教,谢谢。。。
...全文
311 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
黑马 2003-10-28
  • 打赏
  • 举报
回复
顺便学习
linhaibo 2003-10-28
  • 打赏
  • 举报
回复
你的情况:
BODY { background: url(banner.jpeg) right bottom }
linhaibo 2003-10-28
  • 打赏
  • 举报
回复
BODY { background: url(banner.jpeg) right top }
BODY { background: url(banner.jpeg) top center }
BODY { background: url(banner.jpeg) center }
BODY { background: url(banner.jpeg) bottom }
linhaibo 2003-10-28
  • 打赏
  • 举报
回复
background-repeat
Value: repeat | repeat-x | repeat-y | no-repeat

background-position
Value: [<percentage> | <length>]{1,2} | [top | center | bottom] || [left | center | right]
suhuoqiang 2003-10-28
  • 打赏
  • 举报
回复
顺便学习
fyzeng 2003-10-27
  • 打赏
  • 举报
回复
没看清题,如果是网页背景的话,样式应用到body里就是了.
<body style="background-image: url('http://expert.csdn.net/images/csdn.gif'); background-repeat: no-repeat; background-position-x:right; background-position-y:bottom;">

</body>
fyzeng 2003-10-27
  • 打赏
  • 举报
回复
<table border="1">
<tr>
<td width="200" height="200" style="background-image: url('http://expert.csdn.net/images/csdn.gif'); background-repeat: no-repeat; background-position-x:right; background-position-y:bottom;">
aaaaaa
</td>
</tr>
</table>
zcwmxn 2003-10-27
  • 打赏
  • 举报
回复
用网格规划,右下角的网格背景用图片

87,988

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧