First of all, I want my body area (where the text goes) to have NO spacing in it on the sides…
I have determined that the table with the class “contentpaneopen” is causing the issues.
I decided to make my project temporarily public (even though it is work in progress) and provide the link to my site that has the problem:
http://www.bestofvideogames.com/need-for-speed-test
You’ll notice that the bottom “Need for Speed” image is having the spacing issues in IE7 and I have NO IDEA why. It is wrapped by the table “contentpaneopen” which I believe is causing the problems…but again, have no idea why this is.
I have inserted the following into the CSS, but it still seems there is spacing to the left of the Need for Speed Image. This only occurs in IE7 by the way.
HTML:
<table class=“contentpaneopen”>
<tbody><tr>
<td valign=“top”>
<img src=“/images/page_headers/needforspeedshift.jpg” height=“121” width=“973”>
CSS:
.contentpaneopen { padding: 0px;
margin: 0px;
}
table.contentpaneopen tr, table.contentpaneopen td {
padding: 0px;
margin: 0px;
}
table.contentpaneopen tr td img { padding: 0px; margin: 0px; }
table.contentpaneopen, table.contentpane {
margin: 0;
padding: 0;
width: 100%;
}
img { padding: 0px; margin: 0px; }
I also know that some times white spaces in between things cause this problem, but I have no idea how to delete the white spaces in between the table, td, tr, tags…since they are so far embedded into the Joomla core code.
Thanks for your help!
Ryan