Xhtml

Great Book – Web Standards Creativity

July 12th, 2007

Web Standards Creativity: Innovations in Web Design with XHTML, CSS, and DOM Scripting

From the book’s description:

… we got together ten of the world’s most talented web designers to share their secrets with you. Web Standards Creativity is jam-packed with fresh, innovative design ideas. The topics range from essential CSS typography and grid design, effective styling for CMS-driven sites, and astonishing PNG transparency techniques, to DOM scripting magic for creating layouts that change depending on browser resolution and user preference, and better print layouts for web pages…

What’s with all the dead trees? Sometimes you can’t beat the feel of a book in your hand, or gracing your coffee table – as this gorgeous full color softcover is well equipped to do. Real world examples provide insight, instruction and most of all inspiration. The articles are well written and illustrated. If you need something to inspire you to start innovating with XHTML, CSS and DOM Scripting – this is the book! Highly recommended.

Web Standards Creativity: Innovations in Web Design with XHTML, CSS, and DOM Scripting

Center Content Vertically Using CSS

July 7th, 2007

Use absolute positioning and negative margins to get that box centered vertically! You must declare the height of the DIV you are centering, as your negative top margin will be half of this value.

Example here : http://greystonbakery.com/

div#landing-wrapper {
margin-left:-324px;
margin-top: -222px;
position:absolute;
top: 50%;
left: 50%;
width:648px;
height:444px;
}