Overlap image onto another section while pushing content out of the way

Chris

Current: http://jsfiddle.net/nmd1abot/

Desired: http://i.imgur.com/64wPw7W.jpg

Basic structure

Section
    Header
    Body
    Graphic
Section
    Header
    Body

I need help getting the graphic to overlap into the grey section while pushing the header of the second section down more.

Is there a solution that doesn't involve manually setting the padding of the second section?

It is likely that many other pages that I build will use this design, but the image size is not standardized.

Roko C. Buljan

http://jsfiddle.net/nmd1abot/2/

Simply add

margin-top: -50px; 
padding-top: 50px;

to your .two

So basically a negative margin-top will push .two up, but also it's inner content.
Than to pull back the content down the same amount of top-padding will do the job.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Content section overlap footer

From Dev

Section mysteriously pushing content down the page

From Dev

KineticJs - Merging an image onto another

From Dev

How do I place more than one iteration of an image onto another single image in a recursive way in Racket?

From Dev

Is there a pythonic way of shifting pandas dataframe cells to the left, while pushing out or overwriting any nan?

From Dev

Drag and Drop from image onto another image

From Dev

Gray out a section of an image with CSS

From Dev

Drawing a Bitmap onto another produces a distorted image

From Dev

Copying one image onto another with PIL

From Dev

merge a png with transparency onto another image

From Dev

How can I write a image onto another?

From Dev

Drawing a Bitmap onto another produces a distorted image

From Dev

Let UIImageView in header section of UITableView overlap the content cells

From Dev

Is there any way I could overlap another css?

From Dev

Image carousel breaks pushing image out of slider when adding href

From Dev

Image carousel breaks pushing image out of slider when adding href

From Dev

Firefox pushing content out of div when floating right

From Dev

Is there a way of changing a section of content in a file using powershell?

From Dev

Pure css way to prevent scrollbar pushing content to the left?

From Dev

How to add one image with only text onto another using PIL

From Dev

Maintain image responsiveness while using section

From Dev

Maintain image responsiveness while using section

From Dev

How to fix server error while pushing an image to the Docker hub?

From Dev

Best way to fix divs on top of image section

From Dev

Make list items overlap one another in a specific way (sequence)

From Dev

Matlab - Identifying objects in one image that overlap objects in another

From Dev

Can I overlap exactly half of an image with another using CSS?

From Dev

Resize image while keeping the image content in thumbnail

From Dev

Restrict dragging onto specific section

Related Related

  1. 1

    Content section overlap footer

  2. 2

    Section mysteriously pushing content down the page

  3. 3

    KineticJs - Merging an image onto another

  4. 4

    How do I place more than one iteration of an image onto another single image in a recursive way in Racket?

  5. 5

    Is there a pythonic way of shifting pandas dataframe cells to the left, while pushing out or overwriting any nan?

  6. 6

    Drag and Drop from image onto another image

  7. 7

    Gray out a section of an image with CSS

  8. 8

    Drawing a Bitmap onto another produces a distorted image

  9. 9

    Copying one image onto another with PIL

  10. 10

    merge a png with transparency onto another image

  11. 11

    How can I write a image onto another?

  12. 12

    Drawing a Bitmap onto another produces a distorted image

  13. 13

    Let UIImageView in header section of UITableView overlap the content cells

  14. 14

    Is there any way I could overlap another css?

  15. 15

    Image carousel breaks pushing image out of slider when adding href

  16. 16

    Image carousel breaks pushing image out of slider when adding href

  17. 17

    Firefox pushing content out of div when floating right

  18. 18

    Is there a way of changing a section of content in a file using powershell?

  19. 19

    Pure css way to prevent scrollbar pushing content to the left?

  20. 20

    How to add one image with only text onto another using PIL

  21. 21

    Maintain image responsiveness while using section

  22. 22

    Maintain image responsiveness while using section

  23. 23

    How to fix server error while pushing an image to the Docker hub?

  24. 24

    Best way to fix divs on top of image section

  25. 25

    Make list items overlap one another in a specific way (sequence)

  26. 26

    Matlab - Identifying objects in one image that overlap objects in another

  27. 27

    Can I overlap exactly half of an image with another using CSS?

  28. 28

    Resize image while keeping the image content in thumbnail

  29. 29

    Restrict dragging onto specific section

HotTag

Archive