CSS or HTML Data tables?
Posted: Mon Dec 06, 2010 11:06 am
Hi there,
I have read a long guide online about working with PHP but now I need to know whether to use a CSS table or a HTML table for information stored in a MySQL table.
Information includes Email addresses, names, telephone numbers etc and I want a visual table on the page. If I design in HTML does it mean that I lose the ability to make the table look nice by varying widths of borders around cells, colours and fonts etc. If CSS is the way forward, I really struggle with it so I would be greatful if you could provide links to really easy and straight forward tutorials (where things are spelt out rather than people being assumed to have a level of knowledge) in order to design the tables. Also how do you do the code for the cells and where do you put it (for example to list all the records within a database in a list in a visual (gridded) table and how can I specify only to display records with columns containing certain values - for example only postcodes with "cv32" in them?
Thanks for your help,
Ben.
I have read a long guide online about working with PHP but now I need to know whether to use a CSS table or a HTML table for information stored in a MySQL table.
Information includes Email addresses, names, telephone numbers etc and I want a visual table on the page. If I design in HTML does it mean that I lose the ability to make the table look nice by varying widths of borders around cells, colours and fonts etc. If CSS is the way forward, I really struggle with it so I would be greatful if you could provide links to really easy and straight forward tutorials (where things are spelt out rather than people being assumed to have a level of knowledge) in order to design the tables. Also how do you do the code for the cells and where do you put it (for example to list all the records within a database in a list in a visual (gridded) table and how can I specify only to display records with columns containing certain values - for example only postcodes with "cv32" in them?
Thanks for your help,
Ben.