spider22 Posted November 21, 2007 Share Posted November 21, 2007 Hello, Can you please tell me how to apply css style sheet to php table? regards, Link to comment https://forums.phpfreaks.com/topic/78238-how-to-apply-css-to-php-table/ Share on other sites More sharing options...
LemonInflux Posted November 21, 2007 Share Posted November 21, 2007 eh? You mean apply css to a table created by php? <link rel="stylesheet" type="text/css" href="style.css"> is put in the header (change style.css to your stylesheet name) <?php // PHP table echo '<table class="myClassName"></table>'; ?> Link to comment https://forums.phpfreaks.com/topic/78238-how-to-apply-css-to-php-table/#findComment-395924 Share on other sites More sharing options...
spider22 Posted November 21, 2007 Author Share Posted November 21, 2007 How to put this in header? like this ... <head> <link rel="stylesheet" type="text/css" href="style.css"> </head> <?php //code ?> Link to comment https://forums.phpfreaks.com/topic/78238-how-to-apply-css-to-php-table/#findComment-395953 Share on other sites More sharing options...
revraz Posted November 21, 2007 Share Posted November 21, 2007 Just use HTML and do it, it's no different. Link to comment https://forums.phpfreaks.com/topic/78238-how-to-apply-css-to-php-table/#findComment-395985 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.