html, css, jQuery, PHP, mySQL

Posts Tagged ‘ul’

CSS Gallery with z-index zoom on :hover.

Monday, August 29th, 2011

In this simple version of a CSS Gallery, an unordered list is used to contain anchor tags with thumbnails as background images. On hover, the images change to larger versions of the same files, overlying the rest of the list. First, mark up a simple unordered list. <ul> <li></li><li></li><li></li> </ul> Now add anchor tags inside […]

Tags: , , , , , , , , , , , , , ,
Posted in CSS3, Tutorials | 1 Comment »

CSS From Scratch. 6:2 Family Relationships

Sunday, August 7th, 2011

When positioning elements with CSS it is useful to understand that nested elements have relationships with each other. The terms used to describe the various nesting relationships are borrowed from family descriptions. Thus, there are parents, children, siblings, grandparents and grandchildren. These are not words that you need to use in the CSS itself, but […]

Tags: , , , , , , , , , , , , , , , , ,
Posted in Tutorials | No Comments »

CSS From Scratch. 6:1 Positioning: the display property.

Sunday, August 7th, 2011

CSS allows us to move elements around the page, and even stack elements on top of each other. We can control the dimensions and positions of elements at the pixel level. This is one of the most significant advantages of using CSS for presentation rather than HTML attributes. Elements in CSS largely fall into two […]

Tags: , , , , , , , , , , ,
Posted in Tutorials | No Comments »