AmigaActive (1374/2347)

From:Matt Sealey
Date:18 Mar 2001 at 13:45:23
Subject:Re: Gaps in buttons

Hello Nick

On 18-Mar-01, you wrote:

> Hi all,
>
>
> I'm trying to have buttons on my web page but when I view the web site
> using internet explorer or voyager there are gaps in between the
> buttons ???
>
> <body>
> <p align"center">

Gah, where's the f**king = sign in there?

> <a href="page1.html">
> <img src="button1.gif" border="0">
> </a>
> <a href="page2.html">
> <img src="button2.gif" border="0">
> </a>

And please, please, please don't break up your html like that. You're
already writing HTML like a complete retard and you've only just
started!

<DIV ALIGN="CENTER">
<A HREF="page1.html"><IMG SRC="button1.gif" BORDER="0"></A>
<A HREF="page2.html"><IMG SRC="button2.gif" BORDER="0"></A>
</DIV>

Try and keep the link and the thing inside the link on the same line, it'll
make it easier for you to see what's wrong with the code later. Note
also I'm not using the P tag (because it's a piece of shit) but the DIV tag
which has much the same effect and is more flexible and compliant
should you wish to expand the page with pretty things later.

> Can you see why there would be a gap in between the two pictures ?

There shouldn't be by rights, but HTML is a funny thing. It's not a
page layout language, it's a content description language.

Thanks



Matt Sealey <matt@kittycat.co.uk>
Website http://www.kittycat.co.uk

------------------------ Yahoo! Groups Sponsor ---------------------~-~>
Make good on the promise you made at graduation to keep
in touch. Classmates.com has over 14 million registered
high school alumni--chances are you'll find your friends!
http://us.click.yahoo.com/l3joGB/DMUCAA/4ihDAA/d8AVlB/TM
---------------------------------------------------------------------_->

Quote carefully and read all ADMIN:README mails

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/