So I'm doing a database project for one of my classes, but ironically, I'm having some trouble getting my chart to work. It's been a while since I've touched CSS, so I'm forgetting the fundamentals and it would be much appreciated if I could get someone's help!
This is the website, and there is an awkward gap and, not to mention, the columns are all kind of strange:A La Mode
This the code for most of the CSS parts of the page:
I'd use <span> tags inside the table cells if you really needed them, otherwise set the styles via the <td> tags (which for what you are doing, would work fine). Get rid of the <div tags and put those class attributes on the corresponding <td> tags instead. Your site has a bunch of <br> tags under your list of column headers. Remove those to get rid of the space between your data and headers.
So I'm doing a database project for one of my classes, but ironically, I'm having some trouble getting my chart to work. It's been a while since I've touched CSS, so I'm forgetting the fundamentals and it would be much appreciated if I could get someone's help!
This is the website, and there is an awkward gap and, not to mention, the columns are all kind of strange:A La Mode
This the code for most of the CSS parts of the page:
Thanks so much!!!
I know little of PHP but it's injecting divs into tables cells...that doesn't feel right.
What should I use in place of divs then? Thank you for the input.
I'd use <span> tags inside the table cells if you really needed them, otherwise set the styles via the <td> tags (which for what you are doing, would work fine). Get rid of the <div tags and put those class attributes on the corresponding <td> tags instead. Your site has a bunch of <br> tags under your list of column headers. Remove those to get rid of the space between your data and headers.
I'll try that. Cool! Thanks for the help!