Thanks Richard, The obvious escaped me.
Regards, Andre On Wednesday 19 March 2003 07:39 pm, you wrote: > Here is your code: > > First, make a one pixel png the color you want your HR > > <img src="images/color.png" width=100% height=1><br> > <img src="images/yourbanner.gif" width=468 height=60> > > Et, Voila! > > > Quoting Michiel van Heusden <[EMAIL PROTECTED]>: > > ### this is an HTML-problem, not php..but anyway > ### > ### i have no clue why the extra space would appear, > ### but I'd try to add absolute positiong to the HR and IMAGE as well, that > ### should solve the problem > ### > ### like: > ### <style type="text/css"> > ### <!-- > ### hr { > ### position: absolute; > ### top: 0px; > ### } > ### img { > ### position: absolute; > ### top: 8px; > ### } > ### --> > ### </style> > ### > ### grace > ### michiel > ### > ### > ### "Andre Dubuc" <[EMAIL PROTECTED]> wrote in message > ### news:[EMAIL PROTECTED] > ### > Hi, > ### > > ### > I've added an animated gif in the banner area of my site, and just > ### above > ### it, > ### > a horizontal rule to give added emphasis. The problem is, no matter > what ### I > ### > do, I cannot get rid of an extra space that appears between the two. > Is ### this > ### > a natural function? Is there some way of eliminating the space? > ### > > ### > The code: > ### > > ### > <?php > ### > . . . . > ### > <div class="banner"> > ### > <hr align="left" size="8" width="1000" style="background: #9a3e2b;"> > ### > <img src="icr.gif" height="100" width="1000"> > ### > </div> > ### > . . . > ### > ?> > ### > > ### > CSS code: > ### > > ### > div.banner { > ### > position: absolute; > ### > top: 0px; > ### > left: 1%; > ### > } > ### > > ### > I will be grateful for any ideas or advice on how to fix this. > ### > Tia, > ### > Andre > ### > ### > ### > ### -- > ### PHP General Mailing List (http://www.php.net/) > ### To unsubscribe, visit: http://www.php.net/unsub.php > ### > ### -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php