Results 1 to 4 of 4

Thread: table borders

  1. #1
    Join Date
    Feb 2006
    Location
    colorado
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default table borders

    how do I get no borders in the middle of data cells. I have a some text inbetween two pictures and I want no white space between the pictures and the text. background for pic and text the same color so the white really shows up. thanks for the help.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    There are a number of ways to control table borders. Sounds like you want custom control over each cell. Something like:

    Code:
    <table style="border-collapse:collapse;"><tr><td style="border:2px solid red;border-right:none;">Image</td>
    <td style="border-top:2px solid red;border-bottom:2px solid red;">Text</td>
    <td style="border:2px solid red;border-left:none;">Image</td></tr></table>
    Styles are best set in a style sheet but, this gives the general idea.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Feb 2006
    Location
    colorado
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default whoops

    did I forget to mention that the text is a marquee? I edited it so it would fit my prefrences and now there is still white between marquee background and the two side pictures even after I defined no borders. Also, my marquee background and pictures are uneven-they are not straight with each other.

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    None of that should matter if you lay things out right. Your white space is probably coming from the elements/objects contained in the table, not the table itself (unless you goofed there). If the elements and/or their components are too large and/or if their style forces white space, they will display it. To redesign your page for you, I would need to see it. Some things of this nature require so much time that I cannot promise you that I will do everything it might take to see this through to a successful conclusion. I'll have a look though.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

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