shane85 Posted April 28, 2010 Share Posted April 28, 2010 hey guys. Im very new to CSS but am quite familar with html. Im running into problems with my table not displaying correctly in different browsers so I think doing a table in CSS might be a better way to fix this problem. currently my code is as follows <center> <table width="500" border="0" cellpadding="0" cellspacing="0"> <tr> <td colspan="3"><img src="../gfx/tv_ticker_top.jpg" width="500" height="47"></td> </tr> <tr> <td rowspan="2"><img src="../gfx/tv_ticker_left.jpg" width="48" height="231"></td> <td><img src="../gfx/tv_ticker_logo_worldsgym.jpg" width="406" height="216"></td> <td rowspan="2"><img src="../gfx/tv_ticker_right.jpg" width="46" height="231"></td> </tr> <tr> <td height="15"><FONT color="#ffffff" size="2"> <MARQUEE bgcolor="#505050" direction="left" loop="20" scrollamount="4" ><STRONG>This is scrolling text</STRONG></MARQUEE> </FONT></td> </tr> <tr> <td colspan="3"><img src="../gfx/tv_ticker_bottom.jpg" width="500" height="119"></td> </tr> </table> </center> u can view what im trying to accompish by viewing http://www.fireshock.ca/test/index.html the scrolling text in the page im using it for has PHP - I dont know if that makes a difference in displaying the table correctly. Viewing it in Internet Explorer and Firefox it did look a bit different (the spacing) If someone would be so kind as to help me do a CSS table showing this, I would greatly appreciate it. Quote Link to comment https://forums.phpfreaks.com/topic/199998-help-me-make-a-table-plz/ Share on other sites More sharing options...
trq Posted April 28, 2010 Share Posted April 28, 2010 CSS is used to style and position html elements. There is no such thing as a CSS table. You could make a table look nice using css. Or, make something that resembles a table using divs, spans and css, but there still is no such thing as a css table. Quote Link to comment https://forums.phpfreaks.com/topic/199998-help-me-make-a-table-plz/#findComment-1049738 Share on other sites More sharing options...
justinede Posted April 28, 2010 Share Posted April 28, 2010 do you mean a div? try using divs. Quote Link to comment https://forums.phpfreaks.com/topic/199998-help-me-make-a-table-plz/#findComment-1049741 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.