<solved>not all table cells aligning properly</solved>

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
RyanC
Forum Members
Forum Members
Posts: 97
Joined: Fri Aug 05, 2011 9:02 pm

<solved>not all table cells aligning properly</solved>

Post 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.
Last edited by RyanC on Tue Jan 31, 2012 7:25 pm, edited 2 times in total.
scelle
Forum Members
Forum Members
Posts: 81
Joined: Sun Apr 24, 2011 8:14 pm
Location: Montenegro

Re: not all table cells aligning properly

Post 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.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: not all table cells aligning properly

Post by Dr.CSS »

RyanC
Forum Members
Forum Members
Posts: 97
Joined: Fri Aug 05, 2011 9:02 pm

Re: not all table cells aligning properly

Post 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.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: <solved>not all table cells aligning properly</solved>

Post 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...
RyanC
Forum Members
Forum Members
Posts: 97
Joined: Fri Aug 05, 2011 9:02 pm

Re: <solved>not all table cells aligning properly</solved>

Post 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.
Post Reply

Return to “Layout and Design (CSS & HTML)”