Re: Re: Eliminating space between HR and Image

From: Date: Thu, 20 Mar 2003 00:43:40 +0000
Subject: Re: Re: Eliminating space between HR and Image
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-140372@lists.php.net to get a copy of this message
Thanks Michiel, After sending the message, I realized that it was an html question -- I've been so absorbed with coding, it all looks the same after a while. My apologies to the list. Thanks for the suggestion. I think it'll work. Otherwise, I'll leave it as is. Thanks for taking the trouble to answer. Reagrds and blessings, Andre On Wednesday 19 March 2003 07:31 pm, you wrote: > 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" <aajdubuc@webhart.net> wrote in message > news:200303200001.h2K01M6t008516@filtermail.webhart.net... > > > 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

« previous php.general (#140372) next »