Results 1 to 4 of 4
  1. #1
    Join Date
    May 2008
    Posts
    452
    Plugin Contributions
    0

    Default what might make a border not display?

    Hi -

    This is much more a CSS question than a ZC question (I think), but hopefully someone will have an idea.

    In my shopping cart area, I decided to experiment with putting a border around every other row (those typed by rowOdd). My browser is simply ignoring the border directive.

    It passes CSS validation. The border directive shows up in Firebug. I copied the *exact* same code to another construct, and the border works there. I also verified the same behavior in Chrome.

    The only thing somewhat odd about this is that it's a table row, and has multiple table data within it. But, I'm not aware of that being a problem.

    You're more than welcome to look at my site, but you won't see the problem unless you populate a shopping cart with at least two items.

    Thanks.

    www.cinderellaantiques.com

  2. #2
    Join Date
    May 2008
    Posts
    452
    Plugin Contributions
    0

    Default Re: what might make a border not display?

    After a bit of digging, I found the answer: it was indeed that you can't border a table row. (News to me, though I guess I'd never tried.)

    My hack was to selectively border all the elements within the row, to give the appearance of a row border. I suppose another approach might have been to try a wrapper division, but frankly I was too lazy to try.

  3. #3
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: what might make a border not display?

    TRs should be borderable according to the specs, but it's not well supported by browsers. There's a workaround posted here. I haven't tried it, so I can't vouch for it.

    Rob

  4. #4
    Join Date
    May 2008
    Posts
    452
    Plugin Contributions
    0

    Default Re: what might make a border not display?

    Thanks, Rob. That workaround is essentially what I did, and it seems to work fine (at least in FF and Chrome).

 

 

Similar Threads

  1. Replies: 0
    Last Post: 8 Nov 2008, 08:06 PM
  2. Not sure what to make of this..
    By cfe in forum General Questions
    Replies: 2
    Last Post: 20 Dec 2007, 05:20 PM
  3. How to make some products display stock and others not
    By dgeere in forum General Questions
    Replies: 2
    Last Post: 10 Dec 2007, 10:08 AM
  4. Make 1 sidebox NOT display on SSL pages
    By tolefairy in forum Basic Configuration
    Replies: 1
    Last Post: 9 Jul 2007, 09:31 PM

Posting Permissions

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