You are here: max height for different divs « HTML « IT news, forums, messages
max height for different divs

Posted by ll on 08/01/07 15:24

Hi,
I am working on an image gallery which will have a 'large images'
page, and those images need to all be the same side. On that large
images page, there will also be a logo graphic, which needs to have a
different max-height. currently, I have that included below. Is
there a better (conditional) method for applying the max-
height(height) in different div's, to allow for the IE5 problems?
Thanks, Louis

--------------------------------
<style type="text/css">
img {
max-height:100px;
}

*html, *large_image, img{
max-height:100px;
height:auto !important;
height:100px;
max-width:100px;
width:auto !important;
}

*html, *campus_header, img{
max-height:100px;
height:auto !important;
height:100px;
max-width:100px;
width:auto !important;
}

</style>

<div id="large_image"><img src="#dir##lg_image#"></div>
<br><br>
#img_text#
<div id="campus_header"><img
src="3_campus_header_jan2003_c_long.jpg"></div>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация