Jump to content

Total Width of DIV


Recommended Posts

<div style="width: 200px; height: 200px; padding: 15px; margin: 10px;">Q. What will be the total width of this DIV?</div>

The above code explains1. DIV Width = 200 pixels2. DIV Height = 200 pixels3. DIV Padding = 15 pixels4. DIV Margin = 10 pixelsThe question isWhat will be the total width of the DIV?

Link to comment
Share on other sites

  • 6 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...