Re: Re: Replace a button by an image
| From: | Curt Zirzow | Date: | Sat, 31 Jul 2004 05:22:07 +0000 |
| Subject: | Re: Re: Replace a button by an image | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-192380@lists.php.net to get a copy of this message | ||
* Thus wrote Justin Patrin:
> On Fri, 30 Jul 2004 23:14:53 +0100, Harlequin
> <michael.mason@arraspeople.co.uk> wrote:
> > Henri.
> >
> > I prefer to use CSS for things like this but I'm sure PHP has it's own
> > idiosyncrasies.
> >
> > I checked out the site posted in response to your post and personally
> > thought the graphics were a bit ropey.
> >
> > typically CSS is used for replacing images or backgrounds on hover but is
> > very flexible and quick to load an alternate image but it could just as
> > easily be applied to static images such as buttons etc.
> >
>
> CSS is for the *styling* of a page. This includes, but is not limited
> to: colors, borders, images, width, height, text attributes,
> placement, background, and hover attributes.
>
> You can literally use all DIVs and SPANs in your page, only set
> classes, ids, and styles, and lay it all out and style it all with a
> seperate CSS file. Of course, this is a hard thing to do, but it's
> possible. ;-)
And here is a perfect example of that:
http://www.csszengarden.com/
Curt
--
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about. No, sir. Our model is the trapezoid!