Jump to content

help me make a table plz!


shane85

Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.