I want to use CSS to make the background image fill up the whole window, like the stretch effect you for wallpapers in windows. How do i do this?
Solution
You cannot stretch background images in CSS. However, you can use a variety of techniques to fill the entire window, such as centering the image and using the background-color to fill in the edges. You can also create an image with a repeating pattern that tiles seamlessly regardless of the size of the window.
I use Dreamweaver and I want to know more about web standards and why I should use them.
Solution
Every industry has standards; they are put in place to ensure easier understanding and consistency of workmanship. For example, building standards help ensure easier and cost effective home improvement. If you need to replace a door in your home, you can easily visit your local DIY store; pick up a standard door and 99% of the time it will fit straight in without any major modifications!
Let's say you're building a site for a real estate agency. To make it easy for visitors to find the type of property they're looking for, your search form needs to offer a range of options, but not all visitors will want to select every option. To search the database successfully, you need to build a SQL query that includes only those options that have been selected.
Solution
Use a PHP loop to build the SQL query based on the fields that contain user input.
I use Dreamweaver and I want to know more about web standards and why I should use them.
Solution
Every industry has standards; they are put in place to ensure easier understanding and consistency of workmanship. For example, building standards help ensure easier and cost effective home improvement. If you need to replace a door in your home, you can easily visit your local DIY store; pick up a standard door and 99% of the time it will fit straight in without any major modifications!
Let's say you're building a site for a real estate agency. To make it easy for visitors to find the type of property they're looking for, your search form needs to offer a range of options, but not all visitors will want to select every option. To search the database successfully, you need to build a SQL query that includes only those options that have been selected.
Solution
Use a PHP loop to build the SQL query based on the fields that contain user input.
I want to use CSS to make the background image fill up the whole window, like the stretch effect you for wallpapers in windows. How do i do this?
Solution
You cannot stretch background images in CSS. However, you can use a variety of techniques to fill the entire window, such as centering the image and using the background-color to fill in the edges. You can also create an image with a repeating pattern that tiles seamlessly regardless of the size of the window.
This site is produced in partnership with
O'Reilly.