Border "kind of" rendering

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Border "kind of" rendering

Post by pickle »

Hi all,

This is bizarre. I can't get a border to render on the left side of a cell in Firefox. When I use the Web Developer extension to outline all table cells, then the border is rendered. The same goes if I use the extension to edit the CSS - as soon as the sidebar is loaded, the border shows.

The problem is getting the border to render on cell 'A':

Code: Select all

+-------+
| A |   |
+---+ B |
| C |   |
+-------+
even though the style declaration sets the border on the left side of 'B'. This works fine if 'B' isn't full of content - which leads me to believe somehow the 'B' is extending beyond the width it *should* be getting.

It works perfectly fine in IE, and both CSS & XHTML validate.

See it in action here: http://nderson.ca/cms/

Thanks for any advice!
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
User avatar
wtf
Forum Contributor
Posts: 331
Joined: Thu Nov 03, 2005 5:27 pm

Post by wtf »

Hi there,

Your border is actually rendering. It's pushed by the content way below.


That's some furry ass on that pic. :roll:


~wtf
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Post by Christopher »

Are you allowed to have an id named "body"?
(#10850)
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Post by pickle »

Actually, the border is rendering on another cell (cell C in my diagram).

I've changed the id to 'content' but to no avail - same thing.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Post Reply