Results 1 to 5 of 5

Thread: *resolved* HELP with cell background picture

  1. #1

    Thread Starter
    Hyperactive Member wordracr's Avatar
    Join Date
    Aug 2001
    Posts
    281

    *resolved* HELP with cell background picture

    I've tried using FrontPage and DreamWeaver and I get the same undesired affect. When I set the background picture for a cell, a grey border appears around the image, at least when the cell is bigger than the picture. When the cell is smaller than the picture, there is a grey vertical line towards the left of picture.

    Is there a way to turn off tiling of images for the cell's background picture?


    Also, where is this grey border coming from? I don't see it in my picture file, and I've checked border options in FP. I don't see anything with the color grey.

    Any help?
    Thanks a lot.
    Last edited by wordracr; Jun 9th, 2002 at 12:51 PM.

  2. #2
    anoop007
    Guest
    First of all I advice you not to use WYSIWYG editors.. Honestly Notepad does a much powerful job, because you have the entire source code at your hands..

    I think using <table cellpadding=0 cellspacing=0 border=0> should help you. If it doesn't post your html file here. That would be more helpful to try to find the problem.

  3. #3
    scoutt
    Guest
    netscape will automatically tile the image if the tble cell is bigger than the image. I thnk IE will do this also but only in the table itself. now you say a grey border is present, I never seen that so it must be your code or image. can you show us the code

  4. #4
    Frenzied Member Rick Bull's Avatar
    Join Date
    Apr 2002
    Location
    England
    Posts
    1,444
    Code:
    style="background:transparent url('IMAGENAME.png') no-repeat;"
    If you want the picture centred add 'centre' to the end of the style

  5. #5

    Thread Starter
    Hyperactive Member wordracr's Avatar
    Join Date
    Aug 2001
    Posts
    281
    thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width