[BNM] Still Stuck With Getting Text To Wrap

Joe Aliferis joe at newforms.co.uk
Mon Oct 22 09:46:04 BST 2007


you mixed a class and an ID

     .ebaywrap
{
     float: left;
}


On the page I have:

<div id="ebaywrap">


.ebaywrap is a class - not an ID

use

#ebaywrap

or

<div class="ebaywrap">


joe


Gillian Pearce wrote:
> Hi
> 
> Thanks to the people who responded to my last email but I still haven't been
> able to get my text to wrap to the right of the listings that get pulled
> into the page from ebay.
> 
> This is my latest effort that doesn't work. At the bottom of  the
> syles.cssfile I have:
> 
>     .ebaywrap
> {
>     float: left;
> }
> 
> 
> On the page I have:
> 
> <div id="ebaywrap">
>               <?
>  require_once("ebay.php");
>  $keywords = "christmas decorations";
>  # ebay category is optional.  if not used, it will default to search all
> categories
>  $category = "";
>  # create an instance of the ebay class
>  $ebay = new ebay();
>  # set the number of listings to display per page
>  $ebay->eb_frpp = "4";
>  # create the listings content
>  $ebay->listings($keywords, $category);
>  # display the listings
>  echo $ebay->html;
>  ?>
>             </div>
> 
> 
> Thanks for your help
> Gillian


More information about the BNMlist mailing list. Powered by Wessex Networks