New here. Have 3 questions. Well I hope someone can help me 1) Is there a way to center something that you put in a div to be a vertical center - picture or text - I can't find way to do it and vertical-align: middle doesn't do any good. 2) how do I do make fixed frame like on this page http://www.csszengarden.com/?cssfile=069/069.css I think about black frame surrounding page 3) If I have a picture let's say 800x600 pixels, and I want to use it for a page background (just once shown on whole background - from edge to edge) but I want it to be full in background whatever resolution of computer is - can I do that? Thank you very very much.
The vertical-align property applies to the alignment of inline elements within the inline box (see Meyer on the inline formatting model), and to the alignment within the td/th of the table model. Modern browsers can center vertically easily. IE, including IE7, is a PoS when it comes to supporting CSS. My vertical centering demo includes the necessary hacks, using IE's buggy behavior, to make IE work. Take care to fully understand how it works before using. Look at the source. No. Background images may be positioned and tiled, but not stretched. cheers, gary