jquery - Creating a hole in a <div> element -


definition of hole in div - element or method can show background, particular area, behind content of <div> element.

the larger issue not background of element want see through (which background-color:transparent) instead ancestor element(s). instance, div background-color: transparent still going if has white background if containing element has white background. best approach define background colors @ lower levels in page. instance, if want see through div#see-through , it's child of div#content in between div#header , div#footer, give #header , #footer background colors define #content transparent. assign background colors individual sibling elements of #see-through. 1 more thing: might helpful remember when defining transparent element transparent element can have "colored" borders, meaning might able reach in-between spots without adding elements.


Comments

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

php - Change action and image src url's with jQuery -