: How do I generate this layout? I want to create a template like the below image. The yellow block displays a transparent background colour over the top of the header block. How can I do this
I want to create a template like the below image.
The yellow block displays a transparent background colour over the top of the header block.
How can I do this using HTML & CSS?
Thanks.
More posts by @Phylliss660
1 Comments
Sorted by latest first Latest Oldest Best
Absolute positioning inside relative objects in CSS will give you the ability to position an object outside of the normal flow and to overlap items.
The outer element (which holds the object) should be set to position: relative and the object inside it that you want to control freely should be set to position:absolute.
The position of the absolute object can then be controlled by the left, right, top and bottom properties.
Also, you may find z-index helpful as this specifies the order that objects are layered on top of each other.
Read more here: css-tricks.com/absolute-positioning-inside-relative-positioning/
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.