Precisely control page and element backgrounds with CSS
来源:互联网 发布:中级程序员2018 编辑:程序博客网 时间:2024/06/11 20:30
原文:http://articles.techrepublic.com.com/5100-3513_11-6177545.html
This article is also available as a TechRepublic download.
Before CSS arrived, Web developers had limited control over page and element backgrounds. Sure, they could use the background attribute to tile an image over an entire page, and they could control the background color of an image with the bgcolor attribute. But their control ended there -- they couldn't, for example, adjust the position of the page background image, control the tiling, or create a page watermark.
CSS changed all that, by making it possible to precisely control page and element backgrounds via its family of background-* directives. In addition to offering greatly improved functionality, using CSS directives for background control has a number of other advantages: it doesn't require any special software, it works on most major browsers, and it allows centralized control over a site's background images and colors.
Sounds interesting? Then keep reading, because this article examines the CSS background property, which provides an alternative to the older background attribute and is a great tool for manipulating the location, color, position, and tiling of your page and element backgrounds...
- Precisely control page and element backgrounds with CSS
- Multiple Backgrounds with CSS
- ui page control and scrollview with indicator at bottom
- Test Precisely and Concretely
- Test Precisely and Concretely
- Style page elements with CSS
- Page and Form for dynamic Loading Control
- Event in Master Page, Content Page and User Control
- how to add Javascript and CSS in page layout with sharepoint 2013
- Page Control
- Working with StyleSheets and Master page
- Edit Control with Icon and Background Text
- Version Control with Repo and Git
- getting control with subversion and xcode
- Edit Control with Icon and Background Text
- Edit Control with Icon and Background Text
- CSS Secret——Backgrounds & Borders
- web前端-CSS Backgrounds-004
- C++ Builder中创建与调用动态库文件小结
- struts开发—分页的实现
- 在ASP中,FSO的超强能力!
- Struts+Spring+Hibernate 分析
- ASP.NET 2.0 的内部变化
- Precisely control page and element backgrounds with CSS
- 正则表达式 解析
- Qt/Embedded 2.3.10 到PXA270上的移植
- Java线程
- 获取硬盘详细信息的源代码
- I2C总线终于明白了
- Matrix Inversion Alogrithm (I)
- Java定时重复执行程序
- 如何才能学好C#