Archive for the ‘HTML Tips’ Category
February 2, 2010
If you are not inclined to use HTML comments in your web page markup you certainly never spent hours trying to fix a messed up CSS layout. That’s a loss of productivity and money that could have been avoided with just a simple preventive measure: using HTML comments. It takes less than 20 seconds to write one that could save you an hour of layout troubleshooting.
Read more…
Tags: comments, container, css, div, html, layout, nest, nested, nesting, wrapper
Posted in CSS Tips and Tricks, Dreamweaver Tips, HTML Tips | No Comments »
January 24, 2010
The 6 key factors to consider when optimizing images for the web are:
- Always start with picture dimensions (w, h) greater than your target size
- Set the image resolution between 72 and 96 pixels/inch
- Crop the image to only keep the area needed to convey your message
- Resize the cropped image to reduce the dimensions to the minimum while maintaining the proportion between width and height
- Choose the appropriate export file format: PNG, JPEG or GIF
- Select the right compression ratio/color range
Read more…
Tags: crop, cropping, gif, image, jpeg, jpg, optimization, picture, png, resize, resizing, resolution, web
Posted in Fireworks Tips, HTML Tips, Photoshop Tricks | 1 Comment »
January 15, 2010
You certainly know the HTML ”<body>” tag is the topmost container box that wraps your web page design elements and content. Of course we can all agree that the “<html>” tag is the topmost parent element of the HTML DOM. So let me reformulate my previous statement to satisfy the geek within you: the body is the closest parent to HTML elements in your web page content. You can use the body tag to change your web page background color from the default “white”.
Read more…
Tags: background, body, color, css, image
Posted in CSS Tips and Tricks, HTML Tips | No Comments »
January 7, 2010
- Applying a background color to an HTML element in a web page fills that container with the specified color.
- It enhances your web page visual appeal and makes the container stand out.
- It can also add contrast between the content of that block with its surrounding.
- A background image allows you to get more graphic design and creative effect to the HTML block it’s applied to.
- A background image comes particularly handy for creating round corners rectangles without adding too much HTML markup.
- Using a background image is almost unavoidable for achieving gradient effects applied to web page blocks such as the navigation bar.
Read more…
Posted in CSS Tips and Tricks, Dreamweaver Tips, HTML Tips | No Comments »
Use HTML Comments To Solve CSS Layout Issues
February 2, 2010If you are not inclined to use HTML comments in your web page markup you certainly never spent hours trying to fix a messed up CSS layout. That’s a loss of productivity and money that could have been avoided with just a simple preventive measure: using HTML comments. It takes less than 20 seconds to write one that could save you an hour of layout troubleshooting.
Read more…
Tags: comments, container, css, div, html, layout, nest, nested, nesting, wrapper
Posted in CSS Tips and Tricks, Dreamweaver Tips, HTML Tips | No Comments »