I am not a CSS guy as you can see and I need little help on how to make this div with two images, like the drawing below
相关问题
- Views base64 encoded blob in HTML with PHP
- How to get the background from multiple images by
- Adding a timeout to a render function in ReactJS
-
Why does the box-shadow property not apply to a
- Add animation to jQuery function Interval
Thomas is right but there's a even better solution:
class are more usefull than ID in this case.
Since you're not a css guy, just created this example to help you understand what's going on with the
div's
http://jsfiddle.net/hT9xV/9/You need to
float
the images right and left.Here is the CSS:
floats
need explicit widths setHere is a jsfiddle with it all:
EDIT: updated the jsfiddle to include a surrounding
div
http://jsfiddle.net/RQp5Z/1/