l Squid l
11-27-2008, 04:41 PM
http://kumarafoundation.com/index2.html
in FF there's a gap so just disregard that.(Unless you know how to fix that!)
My problem is centering this. I ahve tried text align:center, margin 0 auto + width: (blah blah), and margin left:0 + margin right:0
nothign works...
Any help is appreciated.:thumbsup:
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Kumara Foundation</title>
<link href="styles.css" rel="stylesheet" type="text/css" />
<body>
<div id="wrapper">
<table width="582" border="0" align="center" cellpadding="0" cellspacing="0" class="fixed">
<tr>
<td colspan="7"><img src="images2/KF_02.png" width="582" height="135" /></td>
</tr>
<tr>
<td width="59"><img src="images2/KF_05.png" /></td>
<td width="82"><img src="images2/KF_06.png" /></td>
<td width="102"><img src="images2/KF_07.png" /></td>
<td width="107"><img src="images2/KF_08.png" /></td>
<td width="72"><img src="images2/KF_09.png" /></td>
<td width="76"><img src="images2/KF_10.png" /></td>
<td width="84"><img src="images2/KF_11.png" /></td>
</tr>
<tr>
<td colspan="7"><img src="images2/KF_12.png" /></td>
</tr>
</table>
<img src="images2/KF_13.png" width="198" height="42" class="arrowBox" />
<img src="images2/KF_14.png" width="384" height="56" class="contentHeader" />
<img src="images2/KF_15.png" width="18" height="152" class="lnLeft" />
<img src="images2/KF_16.png" width="163" height="152" class="lncontent" />
<img src="images2/KF_17.png" class="lnRight" />
<img src="images2/KF_18.png" class="contentDel"/>
<img src="images2/KF_19.png" class="contentRight" />
<img src="images2/KF_21.png" width="364" height="24" class="contentBottom"/>
<img src="images2/KF_20.png" width="198" height="138" class="adspace" />
<img src="images2/KF_22.png" class="footer" />
</div>
</body>
</html>
CSS
@charset "utf-8";
/* CSS Document */
body
{
background-color:#000;
}
#wrapper
{
width: 582px; /* or whatever it is exactly */
margin: 0 auto;
}
.fixed
{
position:absolute;
}
.arrowBox
{
position:absolute;
left:10px;
top:197px;
}
.contentHeader
{
position:absolute;
left:208px;
top:197px;
}
.lnLeft
{
position:absolute;
left:10px;
top:239px;
}
.lncontent
{
position:absolute;
left:28px;
top:239px;
}
.lnRight
{
position:absolute;
left:191px;
top:239px;
}
.contentDel
{
position:absolute;
left:208px;
top:253px;
}
.contentRight
{
position:absolute;
left:572px;
top:253px;
}
.contentBottom
{
position:absolute;
left:208px;
top:505px;
}
.adspace
{
position:absolute;
left:10px;
top:391px;
}
.footer
{
position:absolute;
left:10px;
top:529px;
}
in FF there's a gap so just disregard that.(Unless you know how to fix that!)
My problem is centering this. I ahve tried text align:center, margin 0 auto + width: (blah blah), and margin left:0 + margin right:0
nothign works...
Any help is appreciated.:thumbsup:
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Kumara Foundation</title>
<link href="styles.css" rel="stylesheet" type="text/css" />
<body>
<div id="wrapper">
<table width="582" border="0" align="center" cellpadding="0" cellspacing="0" class="fixed">
<tr>
<td colspan="7"><img src="images2/KF_02.png" width="582" height="135" /></td>
</tr>
<tr>
<td width="59"><img src="images2/KF_05.png" /></td>
<td width="82"><img src="images2/KF_06.png" /></td>
<td width="102"><img src="images2/KF_07.png" /></td>
<td width="107"><img src="images2/KF_08.png" /></td>
<td width="72"><img src="images2/KF_09.png" /></td>
<td width="76"><img src="images2/KF_10.png" /></td>
<td width="84"><img src="images2/KF_11.png" /></td>
</tr>
<tr>
<td colspan="7"><img src="images2/KF_12.png" /></td>
</tr>
</table>
<img src="images2/KF_13.png" width="198" height="42" class="arrowBox" />
<img src="images2/KF_14.png" width="384" height="56" class="contentHeader" />
<img src="images2/KF_15.png" width="18" height="152" class="lnLeft" />
<img src="images2/KF_16.png" width="163" height="152" class="lncontent" />
<img src="images2/KF_17.png" class="lnRight" />
<img src="images2/KF_18.png" class="contentDel"/>
<img src="images2/KF_19.png" class="contentRight" />
<img src="images2/KF_21.png" width="364" height="24" class="contentBottom"/>
<img src="images2/KF_20.png" width="198" height="138" class="adspace" />
<img src="images2/KF_22.png" class="footer" />
</div>
</body>
</html>
CSS
@charset "utf-8";
/* CSS Document */
body
{
background-color:#000;
}
#wrapper
{
width: 582px; /* or whatever it is exactly */
margin: 0 auto;
}
.fixed
{
position:absolute;
}
.arrowBox
{
position:absolute;
left:10px;
top:197px;
}
.contentHeader
{
position:absolute;
left:208px;
top:197px;
}
.lnLeft
{
position:absolute;
left:10px;
top:239px;
}
.lncontent
{
position:absolute;
left:28px;
top:239px;
}
.lnRight
{
position:absolute;
left:191px;
top:239px;
}
.contentDel
{
position:absolute;
left:208px;
top:253px;
}
.contentRight
{
position:absolute;
left:572px;
top:253px;
}
.contentBottom
{
position:absolute;
left:208px;
top:505px;
}
.adspace
{
position:absolute;
left:10px;
top:391px;
}
.footer
{
position:absolute;
left:10px;
top:529px;
}