Msg#: 4355952 posted 4:04 pm on Aug 29, 2011 (gmt 0)
align is a deprecated attribute for all elements and (X)html versions.
If you want the footer background 100%, the below should work. I don't see any image, so no need for all the alignment properties ,and I don't know why you have text-align left (?)
Also it kind of depends on the textual alignment nature of the footer. That is, center the links and left/right the paragraphs. That's the solution I have below.
For block elements, use margin auto. For inline elements (such as text) use text-align. So we have a block level div inside the full width footer, then inside that we center the list. This becomes important when you use image-based CSS sprites - those anchors will need to be set to display: block, and you get some weird results when you put a block element inside an inline element (list item.) However, in those cases, you usually know the width of the anchors and can do the math to properly set margins so the effect is "centered."
How to set HTML,CSS that these promos images inside elements will work as resolutions are different? If I place images inside #promoscontaint1 it will not work resize. For block elements I have used margin auto but see images like sample: div class="promosimages1"> <img width="317" height="150" alt="" src=""> </div>
If I place min-width: 998px;it will be enlarged block element but images are inside this with fixed width.
Is there solution like: <img width="100%" height="150" border="0" alt="" src="cdfdewf.gif">