Page 1 of 1
<solved>not all table cells aligning properly</solved>
Posted: Mon Jan 30, 2012 9:39 pm
by RyanC
I have a series of tables, and you'll see that to the right of the section headed "Retail Price", not all the columns align. Where it starts "2-5" the alignment is off, set off to the right... is there a way for me to align these properly? I've tried everything I can think of.
edited: removed the code so it wouldn't show up in google.
Re: not all table cells aligning properly
Posted: Tue Jan 31, 2012 12:23 pm
by scelle
It's a CSS problem. It looks OK in Firefox, but Internet Explorer is not rendering it right.
Use Firebug (on Firefox) or Developer Tools (on IE) to track down problematic CSS code.
Re: not all table cells aligning properly
Posted: Tue Jan 31, 2012 6:27 pm
by Dr.CSS
Re: not all table cells aligning properly
Posted: Tue Jan 31, 2012 7:25 pm
by RyanC
thanks for the responses. I know that the tables don't necessarily validate but I had to lay them out that way in order to get the result I needed.
I was able to somewhat solve it by adding a nbsp to the right of the columns that weren't aligned and it kind of aligned them, not perfect but serviceable.
Re: <solved>not all table cells aligning properly</solved>
Posted: Tue Jan 31, 2012 7:27 pm
by Dr.CSS
Tables can validate, they just have to have all the right coding, apparently you had too many cells or something didn't add up...
Re: <solved>not all table cells aligning properly</solved>
Posted: Tue Jan 31, 2012 7:55 pm
by RyanC
I don't remember what I did, but I know I had to cheat to recreate a table design format I was copying.