Layout Options

  • Fixed Header
    Makes the header top fixed, always visible!
  • Fixed Sidebar
    Makes the sidebar left fixed, always visible!
Introduction
Webconcept

Description

The .innerWidth() method returns the width of the element, including left and right padding, in pixels.

Note: This method does not apply to window and document objects.


v1.2.6

This method has the form:

.innerWidth()

Return Value

This form returns an Integer object.

Examples

Get the inner width of all p elements:

$("p").innerWidth();

Description

The .outterWidth() method returns the current computed height for the first element in the set of matched elements, including padding, border, and optionally margin.

Note: This method does not apply to window and document objects.


v1.2.6

This method has the form:

.outterWidth(includeMargin)
Parameter Description
includeMargin (optional) A Boolean indicating whether to include the element's margin in the calculation

Return Value

This form returns a Integer object.

Examples

Get the outter width of all p elements:

$("p").outterWidth();