Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Tables out of line


godleuf

Recommended Posts

Posted

My page is here.

 

I am viewing in Firefox on Windows XP, and the table stretches past the content area to the right. Also, their are strange white lines in the top row of the table. Does the same in IE7.

 

Any info on table styling would be great.

 

Thanks!

Posted

I took a quick look at your coding and it's a mess.

 

I would suggest you Google for basic table HTML coding.

 

If you are going to callout cell widths, then all cells in the row need to have widths set.

It's better to call out heights in the row and not just one cell.

 

Example:

<table width="766">

<tr height="26">

<td width="14"> </td>

<td width="100"> </td>

<td width="*"> </td>

</tr>

</table>

- :: Jim :: -

- My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 -

Posted
If you are going to callout cell widths, then all cells in the row need to have widths set.

It's better to call out heights in the row and not just one cell.

For transitional html/xhtml compliance widths and heights should be defined in the <td> not the <tr> tags.

For strict html/xhtml compliance widths and heights should be set using css.

  • 4 weeks later...
Posted
For transitional html/xhtml compliance widths and heights should be defined in the <td> not the <tr> tags.

For strict html/xhtml compliance widths and heights should be set using css.

In what file should I make my changes?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...