CSS Box Model - Part 2
Calculating actual width and actual height of an HTML element:
HTML element's actual width:
is the amount of space occupied by an HTML element horizontally
actual width of an HTML element =
content width + left padding + right padding + left border + right border + left margin + right margin
HTML element's actual height:
is the amount of space occupied by an HTML element vertically
actual height of an HTML element =
content height + top padding + bottom padding + top border + bottom border + top margin + bottom margin
Follow the link for next video: https://youtu.be/x3YGSYVUSzI
Follow the link for previous video: https://youtu.be/k7D-IVVFZJU
========= For more benefits & Be up to date ===================
Subscribe to "chidres tech tutorials" channel: it's free
Visit to Chidre's Tech Tutorials website:
Like the Facebook fan page:
========== CSS Questions & Answers ========================
Chidre's Tech Tutorials - Best Educational YouTube channel
VISION: Helping students around the world to learn at free of cost
I am dedicating my life for teaching students at free of cost. Will definitely do all possible things. Thank you so much for your positive comment and time. Keep learning, keep coding & keep sharing !!!
Thank you so much.
Follow the below link for all my web technology video tutorials and share to help others:
Dear Mr Majunath,
My respect and admiration goes up with each of your wonderful tutorials. I have seen many videos of HTML and CSS by foreign and Indian teachers. But let me tell you and all those who watch your tutorials that none explained the concept of Content Area, Padding, Border and Margin the way you explained by taking two Divs. My only suggestion is learners relate better to terms like Div # cyan in stead of Div#div1 and Div#magenta in stead of Div#div2. There is a possibility for beginners to get confused with terms like Div1 and Div2. Just a suggestion. I am sure you are receiving many suggestions from many of us. It may not be possible for you to incorporate all these suggestions. Thank you so much to make us beginners to learn HTML and CSS. God Bless You with Long Life and Good Health. warm regards, Brig CS Vidyasagar (Retd), 040-48540895
A trigger is a named PL/SQL unit that is stored in the database and executed ( fired ) in response to a specified event that occurs in the database.
Overview of Triggers.
A trigger is a named program unit that is stored in the database and fired (executed) in response to a specified event. The specified event is associated with either a table, a view, a schema, or the database, and it is one of the following:
A database manipulation (DML) statement ( DELETE , INSERT , or UPDATE )
A database definition (DDL) statement ( CREATE , ALTER , or DROP )
A database operation ( SERVERERROR , LOGON , LOGOFF , STARTUP , or SHUTDOWN )
The trigger is said to be defined on the table, view, schema, or database.
A DML trigger is fired by a DML statement, a DDL trigger is fired by a DDL statement, a DELETE trigger is fired by a DELETE statement, and so on.
An INSTEAD OF trigger is a DML trigger that is defined on a view (not a table). The database fires the INSTEAD OF trigger instead of executing the triggering DML statement. For more information, see Modifying Complex Views (INSTEAD OF Triggers).
A system trigger is defined on a schema or the database. A trigger defined on a schema fires for each event associated with the owner of the schema (the current user). A trigger defined on a database fires for each event associated with all users.
A simple trigger can fire at exactly one of the following timing points :
Before the triggering statement executes.
After the triggering statement executes.
Before each row that the triggering statement affects.
After each row that the triggering statement affects.
A compound trigger can fire at more than one timing point. Compound triggers make it easier to program an approach where you want the actions you implement for the various timing points to share common data. For more information, see Compound Triggers.