Dev.Opera - Follow the standards, break the rulesDev.Opera - Follow the standards, break the rules

Login

Lost password?

Forums » Article Discussions

Discuss the articles posted on Dev.Opera.

Note: You need to login to post in the forums. if you don't have an account you first need to sign up.

By mnfrancis anchor Friday, 26. September 2008, 05:41:15

22: Generic containers—the div and span elements

Sometimes you'll come across a grouping of content that doesn't have an existing HTML 4 element (or elements) that will suit it exactly. Typical archetypes include page headers, footers, and navigation menus. In these cases, you can wrap the content in a <div> or <span> element, and give it a class or id attribute. This will group it together and provide a hook to manipulate the content as a single entity using JavaScript or CSS at a later date. These generic elements are the subject of this article.

( Read the article )

By AndBre anchor Monday, 19. January 2009, 10:22:44

avatarTypo (double other): "to wrap around other other block level elements"

By chrismills O anchor Monday, 19. January 2009, 11:10:29

avatar

Originally posted by AndBre:

Typo (double other): "to wrap around other other block level elements"



Fixed - cheers!

Moderators: pepelsbey | dstorey | mcx | operadev | chrismills | shwetankdixit | brucelawson | iheni | andreasbovens | zibin | mollydotcom