Why use a div to insert image?


hi. can explain why david powers inserts div element ("hero div") sole purpose of inserting image? why not insert image without div? also, how style hero div , hero div img? thanks.

the hero div not used sole purpose of inserting image. becomes container article element, , used create containing block article, absolutely positioned.

 

you can find out how hero div , hero image styled studying style sheet, main.css, in completed folder of download files.



More discussions in CLOSED Build and style a web page in Dreamweaver (Read-Only)


adobe

Comments

Popular posts from this blog

Thread: HOW TO: Package and theme GTK+ / Gtkmm apps in Linux for Windows

using value from one form field in another form field

Thread: Request for help with configring Heads up display