Hi Guys,
Haven't got a clue why vertical-align:middle; doesn't work at all.
CSS:
and the HTML bit:Code:div#press_releases_wrapper {clear: both; float: left; margin-bottom: 50px;} div#press_releases_heading {padding-bottom: 30px;} div#press_releases_image {float: left; width: 75px; height: 96px; background-image: url('../images/clientarea/icon-press-releases.jpg'); background-repeat: no-repeat; margin-bottom: 15px;} div#press_releases_righttext {float: left; width: 170px; height: 96px; padding-left: 10px; vertical-align: middle;} div#press_releases_text {clear: both; border-top: 1px dotted #285995; padding-top: 10px;} div.press_releases_arrow {background-image: url('../images/services/icon-arrow.gif'); background-repeat: no-repeat; background-position: left; padding-left: 20px;}
Can anybody help me? Thanks,Code:<div id="press_releases_wrapper"> <div id="press_releases_heading"> <h1>Press releases</h1> </div><!--PRESS_RELEASES_HEADING--> <div id="press_releases_image"> </div><!--PRESS_RELEASES_IMAGE--> <div id="press_releases_righttext"> <p>Inform people about your ISO status with our press release template.</p> </div><!--PRESS_RELEASES_RIGHTEXT--> <div id="press_releases_text"> <div class="manage_details_arrow"> <p><a href="client-area-templates.asp">View Template</a></p> </div><!--PRESS_RELEASES_ARROW--> </div><!--PRESS_RELEASES_TEXT--> </div><!--PRESS_RELEASES_WRAPPER-->
Mark



Reply With Quote


Bookmarks