Adam is a SitePoint editor and social media manager

Adam's articles

  1. Relative Positioning

    An element whose position property has the value relative is first laid out just like a static element. The rendered box is then shifted vertically (according to the top or bottom property) and/or horizontally (according to the left or right property). The properties top, right, bottom, and left can be used to specify by how […]

  2. What Is CSS?

    Have you ever thought about what a web page is? I mean, what it really is? Some people think of a web page as a visual medium—an aesthetically pleasing experience which may or may not contain information that’s of interest to the viewer. Other people think of a web page as a document that may […]

  3. Vendor-specific Properties

    Vendors—browser makers—are free to implement extensions to the CSS specifications that, in most cases, are proprietary to their browser. They may do this for a number of reasons, such as adding new features for users, or for experiments and debugging. Most often, though, the extensions are used to release and test browser features that have […]

  4. list-style-image (CSS property)

    Description This property specifies the image to use as a list marker for an item in a list (an element whose display property has the value list-item). If the specified image is available, it will replace any marker specified by the list-style-type property. The exact position of the list marker image can’t be specified beyond […]

  5. text-transform (CSS property)

    Syntax text-transform: { capitalize | lowercase | none | uppercase | inherit } ; Description This property controls if and how an element’s text content is capitalized. Example These style rules make h1 headings use only uppercase letters, while the first letter of each word in h2 headings will be uppercased: h1 { text-transform: uppercase; […]

  6. fieldset (HTML element)

    Description The fieldset is a useful tool for organizing and grouping related items within a form, and has been used for a long time in desktop applications. When it’s combined with the legend (which is contained inside the fieldset, and is a required element if you use the fieldset), it has the effect of creating […]

  7. colspan (HTML attribute)

    Description Just as the th element uses colspans, so can the td element to allow data to be shared across numerous columns in a table. The concept is best explained by comparing the example HTML above with the below table (where we indicate a person’s availability for Tuesday—when that person is free for the whole […]

  8. tabindex (HTML attribute)

    Description The tabindex is used to define a sequence that users follow when they use the Tab key to navigate through a page. By default, the natural tabbing order will match the source order in the markup. In certain circumstances it may be necessary to override the default tabbing order, but it’s strongly recommended that […]

  9. src (HTML attribute)

    Description The src attribute instructs the browser where on the server it should look for the image that’s to be presented to the user. This may be an image in the same directory, an image somewhere else on the same server, or an image stored on another server. The example refers to an image that’s […]

  10. action (HTML attribute)

    Description A form is useless unless some kind of processing takes place after the form is submitted. The action attribute is used to inform the browser what page (or script) to call once the “submit” button is pressed. Example Here, the action attribute tells the browser to send the form data to a form-handling PHP […]