Announcement

Collapse
No announcement yet.

Also Bought Border when making a Box

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Also Bought Border when making a Box

    Hi

    I managed to get my section Links in a Box ok, using a table with the bit of code with the image as the only thing in the table, but I am trying to do the same with the Also Bought Lists and it just wont work the same. I want to use the actinic style thinborder1, and if I put it as a class in any of my current table tags, it - as it would - puts a border round the whole box, not just around the middle bit.

    If I try to enclose the image in its own table I get loads of repeating top and bottom background images instead of just the one I have at the moment.

    I really think its probably just me not "getting" how it all fits together with the list layouts, but I just cant seem to work this one out.

    Here is what I have so far:



    Here is the code for the new layout:



    Any help would be much appreciated.
    Okay, I pulled the pin. Now what?... Wait!...Where are you going?

    #2
    There are 3 rows (<td>'s), you need to style the middle one and get rid of that inline style on the <img> tag (border="0" is as you want it). You will need to create a class to add a left and right border and then apply that class to just the central <td>.

    Comment


      #3
      Thanks, I'll do that.

      I was just so fixed on trying to get it to work in a table I didn't even think of doing it like that -its so simple, yet I just couldn't see it. Doh.

      Thanks once again.
      Okay, I pulled the pin. Now what?... Wait!...Where are you going?

      Comment

      Working...
      X