Having problems executing a complex layout with minimal usage of relative and absolute positioning.
Here's my layout:
All my elements are floating left sitting side by side with only a single problem: the border img needs to bleed down into the next row. How can I do that while preventing the elements in the 2nd row (the CTA
elements) from scooting down below the lower margin of border img?
This is what happens if I set the height of border img
For clarification:
The dom is such that border img
is between main_sidebar
and CTA_top_container.
- main_side_image
- main_heading_container
- main_sidebar
- border_img
- CTA_top_container
- CTA_Button_relative
Closing thoughts:
I have some ideas, like floating right the border img as a div (or susy's last
) and setting background-image
as 60% width and positioned on the left of the div or nesting an absolute positioned img inside of a relative container to nudge it over to the left, but i am afraid of destroying the fluidity of the layout (it's inside of a susy fluid grid).
Any thoughts?