Div ved siden af hinanden
hey!Jeg prøver at lave lidt webdesign med Div-tags...
Men jeg kan ikke finde ud af at få 3 ind ved siden af hinanden, uden at det skal gå ned i næste linje :S
Min kode ser således ud:
<body><div style="margin-left:auto; margin-right:auto; width:800px;">
<div style="background-image:url(images/index_01.gif); width:800px; height:122px; background-repeat:no-repeat;"></div>
<div style="background-image:url(images/index_02.gif); width:800px; height:134px; background-repeat:no-repeat;"></div>
<div style="background-image:url(images/index_03.gif); width:800px; height:160px; background-repeat:no-repeat;"></div>
<div style="background-image:url(images/index_04.gif); width:305px; height:109px; background-repeat:no-repeat;"></div>
<div style="background-image:url(images/index_06.gif); width:307px; height:109px; background-repeat:no-repeat; float:right;"></div>
<div style="background-image:url(images/index_05.gif); width:188px; height:109px; background-repeat:no-repeat; float:right;"><img src="images/index_05.gif" width="188" height="109" /></div>
</div>
</body>
Det ser sådan ud:
http://www.traviannews.dk/noeci/
