Update: Added new stuff, need help again. Please check out the last post for details.
I could really use the input of any CSS guru's here. I'm making an online periodic table for one of my computer courses and I am stuck at a stupid design problem. I have my page temorarily hosted here: http://gotmex.net/p-table/.
I am trying to use CSS, rather than tables, because I think I can do some cool stuff later on by just modifying the stylesheet. As you can see, the main table's cells align perfectly and there's no problem there. However, once you move down to the Lanthanide and Actinide families (the bottom rows), you can see that there are some issues with spacing, sizing, and aligning. The idea is that those cells should align with the top ones evenly.
I am at a loss of how to fix this. If you check out my code and my css, you can see that I've used the same sizing information for both parts, yet somehow the bottom rows get screwed up. I am using %'s because I want the table to scale to any resolution, rather than have it a fixed size, so changing this is not an option.
If anyone can check it out and give me some tips I'd be very grateful and I'll send some Karma your way. Thanks.
I could really use the input of any CSS guru's here. I'm making an online periodic table for one of my computer courses and I am stuck at a stupid design problem. I have my page temorarily hosted here: http://gotmex.net/p-table/.
I am trying to use CSS, rather than tables, because I think I can do some cool stuff later on by just modifying the stylesheet. As you can see, the main table's cells align perfectly and there's no problem there. However, once you move down to the Lanthanide and Actinide families (the bottom rows), you can see that there are some issues with spacing, sizing, and aligning. The idea is that those cells should align with the top ones evenly.
I am at a loss of how to fix this. If you check out my code and my css, you can see that I've used the same sizing information for both parts, yet somehow the bottom rows get screwed up. I am using %'s because I want the table to scale to any resolution, rather than have it a fixed size, so changing this is not an option.
If anyone can check it out and give me some tips I'd be very grateful and I'll send some Karma your way. Thanks.
Last edited by GotMex? (2006-11-03 00:02:12)