You are here: Re: CSS - IE/Firefox problem - element height « HTML « IT news, forums, messages
Re: CSS - IE/Firefox problem - element height

Posted by kaibo on 11/22/62 11:37

change the css for your pictures as follows

#Profile img {
display:inline;
}

You won't need the positioning any more.

Same for #Basics & #Ratings...if you still need them.

<matt@mailinator.com> wrote in message
news:1137454247.404281.281500@g47g2000cwa.googlegroups.com...
> hello,
>
> i am experiencing a little problem w/ regards to IE & Firefox
> compatibility (works as expected in firefox, doesnt in IE).
>
> i have a container-div element, which contains 1 image, and 2 nested
> div elements. the problem is, in IE the height of the container-div is
> extended -- it makes itself as high as *all* elements w/i in, rather
> than the fixed-height i have assigned in px.
>
> easier to show. here is a dummied-down demo of the problem:
>
> http://www.semi-suave.com/temp/temp.html
> http://www.semi-suave.com/temp/css/profile.css
>
>
> and here is an image of what IE is doing to my height:
>
> http://www.semi-suave.com/temp/the_problem.jpg
>
>
> ....can anyone help me figure this out? i want the container-div (the
> baby-blue box) to be only "130px", as its defined in mh "profile.css"
> file. how do i stop it from auto-sizing itself to the height of all its
> nested content!??
>
>
> thanks!
> matt
>

 

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

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