AmigaActive (1385/2347)

From:Neil Bothwick
Date:18 Mar 2001 at 16:23:30
Subject:Re: Gaps in buttons

Nick Knight said,

> 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">
> <a href="page1.html">
> <img src="button1.gif" border="0">
> </a>
> <a href="page2.html">
> <img src="button2.gif" border="0">
> </a>
> </body>

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

Because you have included white space between the images. CR and LF are
counted as white space.

<tag1>
<tag2>

is the same as

<tag1> <tag2>

or

<tag1> <tag2>

but different from

<tag1><tag2>

As Matt has "hinted", your layout also makes your HTML hard to follow.
Indent tags by all means, but keep smaller container tags all on one
line (obviously this doesn't apply to tags like TABLE and BODY).

Neil



Neil Bothwick - New Media Editor, Amiga Active Magazine
Connected via Wirenet - http://www.wire.net.uk
The UK's first Amiga-only internet access provider
---
A woman walked into a bar and asked the barman for a large double entendre,
so he gave her one.

------------------------ 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/