Hello. Im in the hard process of forgetting everything I know about tables and make everything with divs and stylesheets. But I still have some trouble getting what I want.
1)How can I center all the contents of the page? I want all the contents centered, but inside the contents in the div be left-aligned.
2)Can I use png files in my website? I mean, it seems that IE doesnt renders transparencies.
3) I have this div:
and the related css
but IE renders the layer 169px height, leaving a red line below the image. How Can I fix it? (it renders correctly in FF)
1)How can I center all the contents of the page? I want all the contents centered, but inside the contents in the div be left-aligned.
2)Can I use png files in my website? I mean, it seems that IE doesnt renders transparencies.
3) I have this div:
HTML:
<div class="TopBanner">
<img src="Banner.png" width="800px" height="164px"/>
</div>
and the related css
Code:
div.main_TopBanner
{
background: red;
width: 800px;
height: 164px;
margin: 0px;
padding: 0px;
max-height: 164px;
}
but IE renders the layer 169px height, leaving a red line below the image. How Can I fix it? (it renders correctly in FF)