Jump to content


Dhuan!

Member Since 01/03/2009
Offline Last Active 04/03/2009, 15:48
-----

Topics I've Started

Problema Com Imagem No Div

01/03/2009, 15:05

É o seguinte, eu quero saber como que faz para que no firefox a DIV acompanhe a imagem (automaticamente, em ter que definir HEIGHT) corretamente como no IE, veja na imagem:

Attached File  teste.jpg   72.22KB   6 downloads


Eis o código:
<html>

<style>
div.box{

background-color: skyblue;
width: 300px;
border-style: solid;
padding: 5px;

}
</style>

<body>



<div class=box>

<img src=monkey.jpg width=100 height=100 align= left>
Eaí galera! Isso é um teste!

</div>

IPB Skin By Virteq