css - child divs extending out of parent div -


i want place 2 images in top banner. second image showing outside "banner" parent div. i've tried tables too, not getting results. 2 images should not fold when resize browser. what's right way this? 1 way join images in photoshop don't want do.

<div id="banner">     <div><img src=".." alt="utilities logo"      height="105" width="406" /></div>     <div>     <img src=".." alt="!"      height="105" width="467">     </div>     </div> 

this seems easiest way. images inline-block, align nice (#banner should not smaller 406+467 though).

<div id="banner">     <img src=".." alt="utilities logo" height="105" width="406" /><img src=".." alt="!"  height="105" width="467"> </div> 

an way might play float css property, michele suggested.

if don't want them fold on browser resize, should consider merging them in ps because don't see reason them separate. or can give #banner css min-width big enough hold 2 images.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -