<< < 1 2 3 4 >   Sort: Date

What Is Browser Resolution
What Is Browser Resolution? - CSS Tutorials - Page Layout and Background Image Design Browser resolution is measure by how many graphical points (pixels) per inch on a Web browser window. Logically, browser resolution should be identical to the screen resolution, for example, FireFox. But there is a...
2007-05-11, 4767👍, 0💬

What Is a ID Selector
What Is a ID Selector? - CSS Tutorials - Introduction To CSS Basics A ID selector selects all HTML tags that matches the id name defined in the tag attribute of id="id_name". ID selectors are specified with a leading hash like (#id_name). For example, the following CSS definition uses an ID selector...
2007-05-11, 4763👍, 0💬

How To Center Your Page in Browser Windows
How To Center Your Page in Browser Windows? - CSS Tutorials - Page Layout and Background Image Design In the previous exercise, the page width is fixed, but the page is not centered. If you want to center your page in the browser window, you can add the CENTER tag before the DIV tag. The following t...
2007-05-11, 4760👍, 0💬

How To Specify a Background Image
How To Specify a Background Image? - CSS Tutorials - Page Layout and Background Image Design The quickest way to specify a background image is to use the background-image style property. Let's try with an image from the Windows system called, follow.jpg: &nbsp; &nbsp; &nbsp; &nbsp; &...
2007-05-11, 4753👍, 0💬

What Is a Group Selector
What Is a Group Selector? - CSS Tutorials - Introduction To CSS Basics A group selector selects multiple HTML tags. Group selectors are specified with multiple tags separated with a comma like (tag, tag, tag). For example, the following CSS definition uses a group selector: /* set background color t...
2007-05-11, 4750👍, 0💬

What Is the Basic Unit of CSS
What Is the Basic Unit of CSS? - CSS Tutorials - Introduction To CSS Basics The basic unit of CSS is a definition of a style property for a selected HTML tag written in the following syntax: html_tag_name {style_property_name: style_property_value} For example: /* set background color to black for t...
2007-05-11, 4742👍, 0💬

How To Set Page Width to a Fixed Value
How To Set Page Width to a Fixed Value? - CSS Tutorials - Page Layout and Background Image Design If you don't want your page to be resized when browser window is resized, you need to set your page width to an absolute value. Many Webmasters use TABLE tags to set page width to a fixed value. But it ...
2007-05-11, 4732👍, 0💬

What Happen to Font Sizes with Relative Page Width Units
What Happen to Font Sizes with Relative Page Width Units? - CSS Tutorials - Page Layout and Background Image Design If you set your page width to relative length units like pixels, what will happen to font sizes? Usually, font sizes have absolute length units like point (pt). If you specify font siz...
2007-05-11, 4715👍, 0💬

How Many Ways to Select HTML Tag Instances
How Many Ways to Select HTML Tag Instances? - CSS Tutorials - Introduction To CSS Basics If you define a style property for a HTML tag, this definition will apply to all instances of that tag in the entire document. If you want to apply different style property values to different instances of the s...
2007-05-11, 4707👍, 0💬

How To Group CSS Definitions Together
How To Group CSS Definitions Together? - CSS Tutorials - Introduction To CSS Basics If you have multiple CSS definitions to be applied to the same HTML tag, you can write them together delimited with semicolon (;). The following CSS provides you a good example of CSS definition groups: pre.code {bac...
2007-05-11, 4706👍, 0💬

How To Specify Margin Spaces of a Block Element
How To Specify Margin Spaces of a Block Element? - CSS Tutorials - HTML Formatting Model: Block, Inline and Floating Elements CSS offers 4 style properties to control margin spaces of a block element. You can specify them in different ways as shown in the following CSS examples: {margin-top: 30px} -...
2007-05-11, 4695👍, 0💬

How Many Ways Can Elements Relate to Each Other
How Many Ways Can Elements Relate to Each Other? - CSS Tutorials - Understanding Multiple Element Formatting Rules From a formatting point of view, HTML elements can relate to each other in the following ways: Line up side by side - In-line elements coded next to each other are formatted side by sid...
2007-05-11, 4692👍, 0💬

Hot To Specify the Content Box Size of a Block Element
Hot To Specify the Content Box Size of a Block Element? - CSS Tutorials - HTML Formatting Model: Block, Inline and Floating Elements If you want to control the size of the content box of a block element, you can use the "width" and "height" properties as shown below: {width: 300px} - Specifies the c...
2007-05-11, 4692👍, 0💬

How Is the Full Width of a Block Element Extended
How Is the Full Width of a Block Element Extended? - CSS Tutorials - Understanding Multiple Element Formatting Rules If the full width of a block element needs to be extended to meet the width of the parent element, brower will following there rules: The full width of a block element is the sum of l...
2007-05-11, 4688👍, 0💬

What Is CSS Cascading
What Is CSS Cascading? - CSS Tutorials - Introduction To CSS Basics CSS cascading is another rule that allows multiple definitions on the same style property of the same HTML tag instance. The Web browser will use cascading order rules to determine the winning definition. Multiple definitions of the...
2007-05-11, 4686👍, 0💬

How To Specify Is the Color of the Padding Area
How To Specify Is the Color of the Padding Area? - CSS Tutorials - HTML Formatting Model: Block, Inline and Floating Elements CSS doesn't allow you to specify the color of the padding area of a block element. The padding area is part of the background of the block element. In another word, the paddi...
2007-05-11, 4684👍, 0💬

How To Use Class Selectors to Differentiate Tag Instances
How To Use Class Selectors to Differentiate Tag Instances? - CSS Tutorials - Introduction To CSS Basics A more reliable way to identify tag instances is to use the class attributes and class selectors. In the CSS example below, class="url" is added to &lt;P> tags for Web addresses, with a new CS...
2007-05-11, 4682👍, 0💬

How To Use IDs to Override Classes
How To Use IDs to Override Classes? - CSS Tutorials - Introduction To CSS Basics Class is a nice way to separate a group of tag instances. To identify one or two special instances, you can use the ID attributes and ID selectors. In the CSS example below, the ID selector "P#hot" wins over all other s...
2007-05-11, 4680👍, 0💬

What Is Style Property Inheritance
What Is Style Property Inheritance? - CSS Tutorials - Introduction To CSS Basics Style property Inheritance is a rule that allows a style property of a child HTML tag to inherit the same property of the parent HTML tag, if that property is not defined on the child tag. This inheritance rule is very ...
2007-05-11, 4665👍, 0💬

How To Set Page Widths to Relative Length Units
How To Set Page Widths to Relative Length Units? - CSS Tutorials - Page Layout and Background Image Design Knowing that setting page widths to absolute length units will cause problems on images with different browser resolutions, you can set your page width to a relative length unit, like px (pixel...
2007-05-11, 4660👍, 0💬

What Is a Mixed Selector
What Is a Mixed Selector? - CSS Tutorials - Introduction To CSS Basics A mixed selector is a selector that uses a combination of all other selectors. The following CSS shows some good examples: /* selects &lt;p class="quote"> tags */ P.quote {font-style: italic} /* selects &lt;p class="quote...
2007-05-11, 4658👍, 0💬

What Is Inline Element
What Is Inline Element? - CSS Tutorials - HTML Formatting Model: Block, Inline and Floating Elements An inline element is formatted as a rectangular block joining other inline elements horizontally to form a line of inline elements. If the width of the parent content box is reached, it will be wrapp...
2007-05-11, 4647👍, 0💬

What Is a Block Element
What Is a Block Element? - CSS Tutorials - HTML Formatting Model: Block, Inline and Floating Elements A block element is formatted as a rectangular block occupying the entire width of the parent content box. Examples of block elements are: &lt;P> - A paragraph of text and/or inline elements. &am...
2007-05-11, 4647👍, 0💬

What Are the Page Widths on Popular Websites
What Are the Page Widths on Popular Websites? - CSS Tutorials - Page Layout and Background Image Design If you want to find out what are the page widths on some popular Websites, first enter the following HTML code into a file, pageSizes.html: &lt;html>&lt;body> &lt;p>Page Size Test by F...
2007-05-11, 4637👍, 0💬

<< < 1 2 3 4 >   Sort: Date