i know i have asked this before but i need an answer why do my tables look different in IE & FF?

  • 1
  • Question
  • Updated 10 years ago
  • Answered
on http://hexham.info the tables above the images stay the same size in IE & FF but on my site in FF they seem to grow bigger, tghey get realy fat & i dont want them to. can you help me

Thanks

Alex
Photo of Alex

Alex

  • 3448 Posts
  • 39 Reply Likes

Posted 10 years ago

  • 1
Photo of UK Duke

UK Duke, Champion

  • 3321 Posts
  • 213 Reply Likes
Hi Alex - which tables are you refering to? the ones on your home page?
and what code are you using?
Photo of Alex

Alex

  • 3448 Posts
  • 39 Reply Likes
you gave me the codes but its the
<!--
<table width="100%" align="center" bgcolor="#FF0033" border="0" cellpadding="0" cellspacing="1"><tbody><td>
CONTENT HERE</tbody></table>
-->
Photo of UK Duke

UK Duke, Champion

  • 3321 Posts
  • 213 Reply Likes
try using something like this instead - <!--

<table style="width: 189px; height: 26px;" align="center" bgcolor="#3b5998" border="0" cellpadding="0" cellspacing="2">
<tbody><tr><td style="text-align: center;">

</td></tr></tbody></table>

-->

Change the color, width and height accordingly
Photo of Alex

Alex

  • 3448 Posts
  • 39 Reply Likes
okay,
Photo of Alex

Alex

  • 3448 Posts
  • 39 Reply Likes
also olee, while your here

is there a way of me getting a background image onto one of these tables?
Photo of UK Duke

UK Duke, Champion

  • 3321 Posts
  • 213 Reply Likes
<!--
Alex i have never tested this so you will be the first - its just a guess, might work. Make sure the image is in the filemanger - change the folder path if needed.

<table style="width: 189px; height: 26px;" align="center" background="resources/IMAGE.jpg" border="0" cellpadding="0" cellspacing="2">
<tbody><tr><td style="text-align: center;">

</td></tr></tbody></table>

-->
Photo of Alex

Alex

  • 3448 Posts
  • 39 Reply Likes
thanks lee, i will try this now.
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Here you go Alex:

<table style="background-image: url(http://rumballchick.synthasite.com/re...; border: 1px solid gray;"> <tr> <td><h1>Here are some teepees in a table!</h1></td> </tr> </table>

replace the url address with your own.
Photo of Alex

Alex

  • 3448 Posts
  • 39 Reply Likes
thanks littleus. i will try it.
Photo of Alex

Alex

  • 3448 Posts
  • 39 Reply Likes
little us it dont work.
Photo of UK Duke

UK Duke, Champion

  • 3321 Posts
  • 213 Reply Likes
maybe it needs a tbody tag - mine works i tested it before.
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
the image is not showing up or it doesn't do what you wanted?
Photo of Alex

Alex

  • 3448 Posts
  • 39 Reply Likes
i got it working now.

silly old me forgot to put the /resources/ bit in the image scr :S
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
=P glad it works! =)
Photo of Alex

Alex

  • 3448 Posts
  • 39 Reply Likes
thanks