Streaming live at 10am (PST)

Overlapping div's


#1

I have div's that are overlapping, is this ok? Also when I get a negative when am doing padding/margins, is that ok?


Here is my public share link: LINK
(how to access public share link)


#2

DIV are "divisions of page". By default, they float one next to each other, or one under the other: they push the others away.

They can overlapp, and that's very OK if that's what you want to do.

They can overlapp if you use negative margins.
They can overlapp if you use position:relative with some positioning values.
They can overlapp if you use postion:absolute or fixed.
They can overlapp is you use Transforms.

You can set their order on the z axis (the layering order) by using the z-index value (only available from position:relative, absolute and fixed). The highest value = the highest layer.


#3

Thanks for the quick reply... do you know how I can create symbols and shapes in div's... like here https://css-tricks.com/examples/ShapesOfCSS/ ?


#4

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.