Forum Moderators: open
* {
margin:0;
padding:0;
border:0;
}
What value does your javascript enter for the display property when it makes it visible again ?
What's the width of you table itself - does it have enough space or is it being squeezed by constraints ?
Try adding
* {
margin:0;
padding:0;
border:0;
}
to your CSS, does that change this behavior ?
img.centre
{
display: block;
margin-left: auto;
margin-right: auto;
}
img.centre
{
display: block;
margin-left: auto;
margin-right: auto;
max-width: 475px;
}
If you change
img.centre
{
display: block;
margin-left: auto;
margin-right: auto;
}
to
img.centre
{
display: block;
margin-left: auto;
margin-right: auto;
max-width: 475px;
}
From the closing slash on your images it looks like you are not using a doctype that would be paying any attention to width="475".
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Try making the containing div wider (1100px or so)