Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Use of Div tags
Message
From
10/06/2013 19:10:31
 
General information
Forum:
HTML5
Category:
Other
Title:
Miscellaneous
Thread ID:
01575705
Message ID:
01575967
Views:
54
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform