Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Use of Div tags
Message
 
 
To
10/06/2013 19:10:31
General information
Forum:
HTML5
Category:
Other
Title:
Miscellaneous
Thread ID:
01575705
Message ID:
01576009
Views:
41
>>I am learning HTML5 and looking at a sample site. I see that the entire Body section (not tag) is enclosed in a couple of Div tags. Then within the Div tags there are Sections (HTML5 tag Section). Perhaps mistakenly I thought that when designing in HTML5 the Div tag is only used for small sections within Section tags. So does this make sense that this designer use Div tags and then Section tags within the Div?
>
>
>One of the main reasons to use a div as a container for the whole page is to set its postion:relative; which allows for children div to be position:absolute; relative to its parent div rather than the browser window itself.

Thank you!
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform