Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Help with Positioning Reply To: Help with Positioning

#238262
majesticchirag
Participant

Thanks! I understood that % thing :) Also i understand margins:auto… Thanks these are very useful…

The other things that I wanted to say were that if I make a container named div (and set its opacity to 50%) and put some stuff inside say an image, that image will also have opacity 50% and I won’t be able to make it opaque…

So for getting an image inside that div container ( whose opacity I made 50%[comatiner’s]), I thought to put that image tag outside that transparent container div and then through CSS I put it on the container…

I have included the pen to tell you what I want…(plz view in fullscreen for better view)

http://codepen.io/majesticchirag/pen/NxZyrr