Web Design Forum: Table not center in FF but is in IE - Web Design Forum

Jump to content

WDF
WDF Premium Memberships Reseller Hosting
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Table not center in FF but is in IE ran out of ideas

#1 User is offline   Dazza 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 17
  • Joined: 09-March 10
  • Reputation: 0
  • Gender:Male
  • Location:Warrington
  • Experience:Web Guru
  • Area of Expertise:Web Designer

Posted 14 March 2010 - 10:57 PM

title really says it all, iv googled it an tried some solutions but none have worked yet so i put it to you guys to help. have tried the margin0 auto an it didnt work and also text-align:"-moz-center" an that didnt work to :'(

code is:


.style1 {
text-align: center;
}

<table class="style1" align="center">
<tbody class="style1">
<tr>
<td width="308" rowspan="14" valign="top" class="style1">
<p class="style1"><o:p>&nbsp;sad</o:p></p>
</td>
<td width="154" valign="top" class="style1">
<p class="style1">Real Name:<o:p></o:p></p>
</td>
<td width="154" valign="top" class="style1">
<p class="style1">Darren Stenson<o:p></o:p></p>
</td>
</tr>
<tr>
<td width="154" valign="top" class="style1">
<p class="style1">Date of Birth:<o:p></o:p></p>
</td>
<td width="154" valign="top" class="style1">
<p class="style1">17/11/1988<o:p></o:p></p>
</td>
</tr>
<tr>
<td width="154" valign="top" class="style1">
<p class="style1">Location:<o:p></o:p></p>
</td>
<td width="154" valign="top" class="style1">
<p class="style1">Runcorn, England<o:p></o:p></p>
</td>
</tr>
<tr>
<td width="154" valign="top" class="style1">
<p class="style1">In-Game Name:<o:p></o:p></p>
</td>
<td width="154" valign="top" class="style1">
<p class="style1">eXce<o:p></o:p></p>
</td>
</tr>
<tr>
<td width="154" valign="top" class="style1">
<p class="style1">Favourite Map:<o:p></o:p></p>
</td>
<td width="154" valign="top" class="style1">
<p class="style1">Dust2<o:p></o:p></p>
</td>
</tr>
<tr>
<td width="154" valign="top" class="style1">
<p class="style1">Favourite Gun:<o:p></o:p></p>
</td>
<td width="154" valign="top" class="style1">
<p class="style1">M4A1<o:p></o:p></p>
</td>
</tr>
<tr>
<td width="154" valign="top" class="style1">
<p class="style1">Steam ID:<o:p></o:p></p>
</td>
<td width="154" valign="top" class="style1">
<p class="style1">0:0:5378117<o:p></o:p></p>
</td>
</tr>
<tr>
<td width="154" valign="top" class="style1">
<p class="style1">Steam Friends:<o:p></o:p></p>
</td>
<td width="154" valign="top" class="style1">
<p class="style1">Powelly04<o:p></o:p></p>
</td>
</tr>
<tr>
<td width="154" valign="top" class="style1">
<p class="style1">Enemy Down:<o:p></o:p></p>
</td>
<td width="154" valign="top" class="style1">
<p class="style1">115363<o:p></o:p></p>
</td>
</tr>
<tr>
<td width="154" valign="top" class="style1">
<p class="style1">ESL:<o:p></o:p></p>
</td>
<td width="154" valign="top" class="style1">
<p class="style1">4456596<o:p></o:p></p>
</td>
</tr>
<tr>
<td width="154" valign="top" class="style1">
<p class="style1">XAC:<o:p></o:p></p>
</td>
<td width="154" valign="top" class="style1">
<p class="style1">123142<o:p></o:p></p>
</td>
</tr>
<tr>
<td width="154" valign="top" class="style1">
<p class="style1">Email:<o:p></o:p></p>
</td>
<td width="154" valign="top" class="style1">
<p class="style1">eXce@slag-gaming.net<o:p></o:p></p>
</td>
</tr>
<tr>
<td width="154" valign="top" class="style1">
<p class="style1">Facebook:<o:p></o:p></p>
</td>
<td width="154" valign="top" class="style1">
<p class="style1">536436293<o:p></o:p></p>
</td>
</tr>
<tr>
<td width="154" valign="top" class="style1">
<p class="style1">Quote:<o:p></o:p></p>
</td>
<td width="154" valign="top" class="style1">
<p class="style1">“Rock Out, With Ya Cock Out!”<o:p></o:p></p>
</td>
</tr>
</table>

0

#2 User is online   mteam 

  • Web Guru
  • PipPipPipPipPip
  • Group: Members
  • Posts: 1,814
  • Joined: 07-November 09
  • Reputation: 244
  • Gender:Male
  • Location:Manchester
  • Experience:Nothing
  • Area of Expertise:Nothing

Posted 14 March 2010 - 11:15 PM

I've just tried your code shows the same in ff and ie8 here
0

#3 User is offline   keith115 

  • Dedicated Member
  • PipPip
  • Group: Members
  • Posts: 244
  • Joined: 06-March 10
  • Reputation: 5
  • Gender:Male
  • Location:UK
  • Experience:Intermediate
  • Area of Expertise:Entrepreneur

Posted 14 March 2010 - 11:22 PM

<table align="center"
0

#4 User is offline   Dazza 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 17
  • Joined: 09-March 10
  • Reputation: 0
  • Gender:Male
  • Location:Warrington
  • Experience:Web Guru
  • Area of Expertise:Web Designer

Posted 15 March 2010 - 07:37 PM

must be something else in my code then, here is my full code wrecking my head now. been 2 days an it just dont work no matter what i do, any help would be great.

Quote

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<title>[SLAG] Gaming, Counter Strike Source Gaming Clan, Home</title>
<meta name="description" content="[SLAG] Gaming, Hello & Welcome to SLAG Gaming!" />
<meta name="keywords" content="SLAG Gaming, [SLAG] Gaming, Counter Stike Source, Counter Stike Clan, Uk Gaming Clan, UK Clan, Enemy Down, ESL, Active Clan, Slag" />
<meta name="author" content="Darren Stenson" />
<meta name="subject" content="Counter Strike source Gaming Clan for the UK" />
<meta name="rating" content="general" />
<meta name="copyright" content="copyright © 2010 - www.slag-gaming.net" />
<meta name="revisit-after" content="3 days" />
<meta name="language" content="english" />
<meta name="distribution" content="global" />
<meta name="robots" content="all" />
<meta name="robots" content="index, follow" />
<meta name="geo.region" content="GB-GLG" />
<link type="text/css" href="menu.css" rel="stylesheet" />
<script type="text/javascript" src="menu.js"></script>
<style type="text/css">
* {
margin: 0;
padding: 0;
}
body {
background-position: 0% 0%;
background-image: none;
background-repeat: repeat;
background-attachment: scroll;
}
#header {
width: 80%;
background: #fff;
margin: 0px auto;
}
.style1 {
text-align: center;
}
.style2 {
font-family: "Trebuchet MS", Arial, san-serif;
text-align: left;
}
a {
color: #000000;
}
a:visited {
color: #000000;
}
a:active {
color: #000000;
}
a:hover {
color: #000000;
}
table.MsoTableGrid
{border:solid black 1.0pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
}
.style5 {
text-align: center;
text-align: center;
!text-align: center;
}
</style>
</head>

<div class="style1">

<div id="header">
<div id="menu">
<ul class="menu">
<li><a href="Index.htm" class="parent"><span>Home</span></a>
<div>
<ul>
<li class="style2"><a href="Aboutus.htm"><span>About Us</span></a></li>
<li></a><a href="Contactus.htm"><span>Contact Us</span></a></li>
</ul>
</div>
</li>
<li><a href="Leagues.htm"><span>Leagues</span></a>
<div>
<ul>
<li><a href="Enemydown.htm" class="parent"><span>Enemy Down</span></a>
<div>
<ul>
<li><a href="EDopen.htm"><span>Entry</span></a></li>
<li><a href="ED2v2.htm"><span>2v2</span></a></li>
</ul>
</div>
</li>
<li><a href="ESL.htm"><span>ESL</span></a></li>
</ul>
</div>
</li>
<li><a href="Roster.htm"><span>Roster</span></a>
<div>
<ul>
<li><a href="Core5.htm" class="parent"><span>Core 5</span></a>
<div>
<ul>
<li><a href="eXce.htm"><span>eXce</span></a></li>
<li><a href="MadManBizz.htm"><span>MadMann Bizz</span></a></li>
<li><a href="LunGz.htm"><span>LunGz!</span></a></li>
<li><a href="Venom.htm"><span>Venom</span></a></li>
<li><a href="5th.htm"><span>Could Be You?</span></a></li>
</ul>
</div>
</li>
</ul>
</div>
</li>
<li><a href="Servers.htm" class="parent"><span>Servers</span></a>
<div>
<ul>
<li><a href="Public.htm" class="parent"><span>Public</span></a>
<div>
<ul>
<li><a href="PIP.htm"><span>IP</span></a></li>
<li><a href="PTVIP.htm"><span>TV IP</span></a></li>
<li><a href="PStats.htm"><span>Stats</span></a></li>
<li><a href="PBans.htm"><span>Bans</span></a></li>
</ul>
</div>
</li>
<li><a href="Match.htm" class="parent"><span>Match</span></a>
<div>
<ul>
<li><a href="MIP.htm"><span>IP</span></a></li>
<li><a href="MTVIP.htm"><span>TV IP</span></a></li>
</ul>
</div>
</li>
<li><a href="Vent.htm" class="parent"><span>Ventrilo</span></a>
<div>
<ul>
<li><a href="VIP.htm"><span>IP</span></a></li>
<li><a href="VBans.htm"><span>Bans</span></a></li>
</ul>
</div>
</li>
<li><a href="Donate.htm"><span>Donate</span></a></li>
</ul>
</div>
</li>
<li><a href="Sponsors.htm" class="parent"><span>Sponsors</span></a>
<div>
<ul>
<li><a href="SCBY.htm"><span>Could Be You?</span></a></li>
</ul>
</div>
</li>
<li><a href="Affiliates.htm" class="parent"><span>Affiliates</span></a>
<div>
<ul>
<li><a href="ACBY.htm"><span>Could Be You?</span></a></li>
</ul>
</div>
</li>
<li class="last"><a href="Forum.htm"><span>Forum</span></a></li>
</ul>
</div>
</div>
<script src="../Loader_253471.js" type="text/javascript"></script>
<script type="text/javascript" charset="utf-8">
var is_ssl = ("https:" == document.location.protocol);
var asset_host = is_ssl ? "https://s3.amazonaws.com/getsatisfaction.com/" : "http://s3.amazonaws.com/getsatisfaction.com/";
document.write(unescape("%3Cscript src='" + asset_host + "javascripts/feedback-v2.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script src="http://cdn.wibiya.com/Loaders/Loader_253471.js" type="text/javascript"></script>
<script type="text/javascript" charset="utf-8">
var feedback_widget_options = {};
feedback_widget_options.display = "overlay";
feedback_widget_options.company = "slag_gaming";
feedback_widget_options.placement = "right";
feedback_widget_options.color = "#222";
feedback_widget_options.style = "idea";
var feedback_widget = new GSFN.feedback_widget(feedback_widget_options);
</script>
<p>&nbsp;</p>
<p class="style5">
<img alt="SLAG Gaming Logo" src="../Webpages/images/websitelogo.gif" width="504" height="432" /></p>
<div id="header">
<div id="menu">
<ul class="menu" style="width: 750px">
<li><a href="#"><span>Home</span></a>
</li>
</ul>
</div>
</div>
</div>
<p>&nbsp;</p>


<table class="style1" align="center">
<tbody class="style1">
<tr>
<td width="308" rowspan="14" valign="top" class="style1">
<p class="style1"><o:p>&nbsp;sad</o:p></p>
</td>
<td width="154" valign="top" class="style1">
<p class="style1">Real Name:<o:p></o:p></p>
</td>
<td width="154" valign="top" class="style1">
<p class="style1">Darren Stenson<o:p></o:p></p>
</td>
</tr>
<tr>
<td width="154" valign="top" class="style1">
<p class="style1">Date of Birth:<o:p></o:p></p>
</td>
<td width="154" valign="top" class="style1">
<p class="style1">17/11/1988<o:p></o:p></p>
</td>
</tr>
<tr>
<td width="154" valign="top" class="style1">
<p class="style1">Location:<o:p></o:p></p>
</td>
<td width="154" valign="top" class="style1">
<p class="style1">Runcorn, England<o:p></o:p></p>
</td>
</tr>
<tr>
<td width="154" valign="top" class="style1">
<p class="style1">In-Game Name:<o:p></o:p></p>
</td>
<td width="154" valign="top" class="style1">
<p class="style1">eXce<o:p></o:p></p>
</td>
</tr>
<tr>
<td width="154" valign="top" class="style1">
<p class="style1">Favourite Map:<o:p></o:p></p>
</td>
<td width="154" valign="top" class="style1">
<p class="style1">Dust2<o:p></o:p></p>
</td>
</tr>
<tr>
<td width="154" valign="top" class="style1">
<p class="style1">Favourite Gun:<o:p></o:p></p>
</td>
<td width="154" valign="top" class="style1">
<p class="style1">M4A1<o:p></o:p></p>
</td>
</tr>
<tr>
<td width="154" valign="top" class="style1">
<p class="style1">Steam ID:<o:p></o:p></p>
</td>
<td width="154" valign="top" class="style1">
<p class="style1">0:0:5378117<o:p></o:p></p>
</td>
</tr>
<tr>
<td width="154" valign="top" class="style1">
<p class="style1">Steam Friends:<o:p></o:p></p>
</td>
<td width="154" valign="top" class="style1">
<p class="style1">Powelly04<o:p></o:p></p>
</td>
</tr>
<tr>
<td width="154" valign="top" class="style1">
<p class="style1">Enemy Down:<o:p></o:p></p>
</td>
<td width="154" valign="top" class="style1">
<p class="style1">115363<o:p></o:p></p>
</td>
</tr>
<tr>
<td width="154" valign="top" class="style1">
<p class="style1">ESL:<o:p></o:p></p>
</td>
<td width="154" valign="top" class="style1">
<p class="style1">4456596<o:p></o:p></p>
</td>
</tr>
<tr>
<td width="154" valign="top" class="style1">
<p class="style1">XAC:<o:p></o:p></p>
</td>
<td width="154" valign="top" class="style1">
<p class="style1">123142<o:p></o:p></p>
</td>
</tr>
<tr>
<td width="154" valign="top" class="style1">
<p class="style1">Email:<o:p></o:p></p>
</td>
<td width="154" valign="top" class="style1">
<p class="style1">eXce@slag-gaming.net<o:p></o:p></p>
</td>
</tr>
<tr>
<td width="154" valign="top" class="style1">
<p class="style1">Facebook:<o:p></o:p></p>
</td>
<td width="154" valign="top" class="style1">
<p class="style1">536436293<o:p></o:p></p>
</td>
</tr>
<tr>
<td width="154" valign="top" class="style1">
<p class="style1">Quote:<o:p></o:p></p>
</td>
<td width="154" valign="top" class="style1">
<p class="style1">“Rock Out, With Ya Cock Out!”<o:p></o:p></p>
</td>
</tr>
</table>
<p class="style1"><br />
</p>
<p class="style1">&nbsp;</p>
</p>

0

#5 User is online   mteam 

  • Web Guru
  • PipPipPipPipPip
  • Group: Members
  • Posts: 1,814
  • Joined: 07-November 09
  • Reputation: 244
  • Gender:Male
  • Location:Manchester
  • Experience:Nothing
  • Area of Expertise:Nothing

Posted 15 March 2010 - 07:53 PM

Try this

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<title>[SLAG] Gaming, Counter Strike Source Gaming Clan, Home</title>
<meta name="description" content="[SLAG] Gaming, Hello & Welcome to SLAG Gaming!" />
<meta name="keywords" content="SLAG Gaming, [SLAG] Gaming, Counter Stike Source, Counter Stike Clan, Uk Gaming Clan, UK Clan, Enemy Down, ESL, Active Clan, Slag" />
<meta name="author" content="Darren Stenson" />
<meta name="subject" content="Counter Strike source Gaming Clan for the UK" />
<meta name="rating" content="general" />
<meta name="copyright" content="copyright © 2010 - www.slag-gaming.net" />
<meta name="revisit-after" content="3 days" />
<meta name="language" content="english" />
<meta name="distribution" content="global" />
<meta name="robots" content="all" />
<meta name="robots" content="index, follow" />
<meta name="geo.region" content="GB-GLG" />
<link type="text/css" href="menu.css" rel="stylesheet" />
<script type="text/javascript" src="menu.js"></script>
<style type="text/css">
* {
margin: 0;
padding: 0;
}
body {
background-position: 0% 0%;
background-image: none;
background-repeat: repeat;
background-attachment: scroll;
}
#header {
width: 80%;
background: #fff;
margin: 0px auto;
}
.style1 {
text-align: center; margin:0 auto;
}
.style2 {
font-family: "Trebuchet MS", Arial, san-serif;
text-align: left;
}
a {
color: #000000;
}
a:visited {
color: #000000;
}
a:active {
color: #000000;
}
a:hover {
color: #000000;
}
table.MsoTableGrid
{border:solid black 1.0pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
}
.style5 {
text-align: center;
text-align: center;
!text-align: center;
}
</style>
</head>
<body>

<div class="style1">

<div id="header">
<div id="menu">
<ul class="menu">
<li><a href="Index.htm" class="parent"><span>Home</span></a>
<div>
<ul>
<li class="style2"><a href="Aboutus.htm"><span>About Us</span></a></li>
<li></a><a href="Contactus.htm"><span>Contact Us</span></a></li>
</ul>
</div>
</li>
<li><a href="Leagues.htm"><span>Leagues</span></a>
<div>
<ul>
<li><a href="Enemydown.htm" class="parent"><span>Enemy Down</span></a>
<div>
<ul>
<li><a href="EDopen.htm"><span>Entry</span></a></li>
<li><a href="ED2v2.htm"><span>2v2</span></a></li>
</ul>
</div>
</li>
<li><a href="ESL.htm"><span>ESL</span></a></li>
</ul>
</div>
</li>
<li><a href="Roster.htm"><span>Roster</span></a>
<div>
<ul>
<li><a href="Core5.htm" class="parent"><span>Core 5</span></a>
<div>
<ul>
<li><a href="eXce.htm"><span>eXce</span></a></li>
<li><a href="MadManBizz.htm"><span>MadMann Bizz</span></a></li>
<li><a href="LunGz.htm"><span>LunGz!</span></a></li>
<li><a href="Venom.htm"><span>Venom</span></a></li>
<li><a href="5th.htm"><span>Could Be You?</span></a></li>
</ul>
</div>
</li>
</ul>
</div>
</li>
<li><a href="Servers.htm" class="parent"><span>Servers</span></a>
<div>
<ul>
<li><a href="Public.htm" class="parent"><span>Public</span></a>
<div>
<ul>
<li><a href="PIP.htm"><span>IP</span></a></li>
<li><a href="PTVIP.htm"><span>TV IP</span></a></li>
<li><a href="PStats.htm"><span>Stats</span></a></li>
<li><a href="PBans.htm"><span>Bans</span></a></li>
</ul>
</div>
</li>
<li><a href="Match.htm" class="parent"><span>Match</span></a>
<div>
<ul>
<li><a href="MIP.htm"><span>IP</span></a></li>
<li><a href="MTVIP.htm"><span>TV IP</span></a></li>
</ul>
</div>
</li>
<li><a href="Vent.htm" class="parent"><span>Ventrilo</span></a>
<div>
<ul>
<li><a href="VIP.htm"><span>IP</span></a></li>
<li><a href="VBans.htm"><span>Bans</span></a></li>
</ul>
</div>
</li>
<li><a href="Donate.htm"><span>Donate</span></a></li>
</ul>
</div>
</li>
<li><a href="Sponsors.htm" class="parent"><span>Sponsors</span></a>
<div>
<ul>
<li><a href="SCBY.htm"><span>Could Be You?</span></a></li>
</ul>
</div>
</li>
<li><a href="Affiliates.htm" class="parent"><span>Affiliates</span></a></li>
<div>
<ul>
<li><a href="ACBY.htm"><span>Could Be You?</span></a></li>
</ul>
</div>
</li>
<li class="last"><a href="Forum.htm"><span>Forum</span></a></li>
</ul>
</div>
</div>
<script src="../Loader_253471.js" type="text/javascript"></script>
<script type="text/javascript" charset="utf-8">
var is_ssl = ("https:" == document.location.protocol);
var asset_host = is_ssl ? "https://s3.amazonaws.com/getsatisfaction.com/" : "http://s3.amazonaws.com/getsatisfaction.com/";
document.write(unescape("%3Cscript src='" + asset_host + "javascripts/feedback-v2.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script src="http://cdn.wibiya.com/Loaders/Loader_253471.js" type="text/javascript"></script>
<script type="text/javascript" charset="utf-8">
var feedback_widget_options = {};
feedback_widget_options.display = "overlay"; 
feedback_widget_options.company = "slag_gaming";
feedback_widget_options.placement = "right";
feedback_widget_options.color = "#222";
feedback_widget_options.style = "idea";
var feedback_widget = new GSFN.feedback_widget(feedback_widget_options);
</script>
<p>&nbsp;</p>
<p class="style5">
<img alt="SLAG Gaming Logo" src="../Webpages/images/websitelogo.gif" width="504" height="432" /></p>
<div id="header">
<div id="menu">
<ul class="menu" style="width: 750px">
<li><a href="#"><span>Home</span></a></li>
</ul>
</div>
</div>
</div>
<p>&nbsp;</p>


<table class="style1" align="center">
<tbody class="style1">
<tr>
<td width="308" rowspan="14" valign="top" class="style1">
<p class="style1"><o:p>&nbsp;sad</o:p></p>
</td>
<td width="154" valign="top" class="style1">
<p class="style1">Real Name:<o:p></o:p></p>
</td>
<td width="154" valign="top" class="style1">
<p class="style1">Darren Stenson<o:p></o:p></p>
</td>
</tr>
<tr>
<td width="154" valign="top" class="style1">
<p class="style1">Date of Birth:<o:p></o:p></p>
</td>
<td width="154" valign="top" class="style1">
<p class="style1">17/11/1988<o:p></o:p></p>
</td>
</tr>
<tr>
<td width="154" valign="top" class="style1">
<p class="style1">Location:<o:p></o:p></p>
</td>
<td width="154" valign="top" class="style1">
<p class="style1">Runcorn, England<o:p></o:p></p>
</td>
</tr>
<tr>
<td width="154" valign="top" class="style1">
<p class="style1">In-Game Name:<o:p></o:p></p>
</td>
<td width="154" valign="top" class="style1">
<p class="style1">eXce<o:p></o:p></p>
</td>
</tr>
<tr>
<td width="154" valign="top" class="style1">
<p class="style1">Favourite Map:<o:p></o:p></p>
</td>
<td width="154" valign="top" class="style1">
<p class="style1">Dust2<o:p></o:p></p>
</td>
</tr>
<tr>
<td width="154" valign="top" class="style1">
<p class="style1">Favourite Gun:<o:p></o:p></p>
</td>
<td width="154" valign="top" class="style1">
<p class="style1">M4A1<o:p></o:p></p>
</td>
</tr>
<tr>
<td width="154" valign="top" class="style1">
<p class="style1">Steam ID:<o:p></o:p></p>
</td>
<td width="154" valign="top" class="style1">
<p class="style1">0:0:5378117<o:p></o:p></p>
</td>
</tr>
<tr>
<td width="154" valign="top" class="style1">
<p class="style1">Steam Friends:<o:p></o:p></p>
</td>
<td width="154" valign="top" class="style1">
<p class="style1">Powelly04<o:p></o:p></p>
</td>
</tr>
<tr>
<td width="154" valign="top" class="style1">
<p class="style1">Enemy Down:<o:p></o:p></p>
</td>
<td width="154" valign="top" class="style1">
<p class="style1">115363<o:p></o:p></p>
</td>
</tr>
<tr>
<td width="154" valign="top" class="style1">
<p class="style1">ESL:<o:p></o:p></p>
</td>
<td width="154" valign="top" class="style1">
<p class="style1">4456596<o:p></o:p></p>
</td>
</tr>
<tr>
<td width="154" valign="top" class="style1">
<p class="style1">XAC:<o:p></o:p></p>
</td>
<td width="154" valign="top" class="style1">
<p class="style1">123142<o:p></o:p></p>
</td>
</tr>
<tr>
<td width="154" valign="top" class="style1">
<p class="style1">Email:<o:p></o:p></p>
</td>
<td width="154" valign="top" class="style1">
<p class="style1">eXce@slag-gaming.net<o:p></o:p></p>
</td>
</tr>
<tr>
<td width="154" valign="top" class="style1">
<p class="style1">Facebook:<o:p></o:p></p>
</td>
<td width="154" valign="top" class="style1">
<p class="style1">536436293<o:p></o:p></p>
</td>
</tr>
<tr>
<td width="154" valign="top" class="style1">
<p class="style1">Quote:<o:p></o:p></p>
</td>
<td width="154" valign="top" class="style1">
<p class="style1">“Rock Out, With Ya Cock Out!”<o:p></o:p></p>
</td>
</tr>
</tbody>
</table>
<p class="style1"><br />
</p>
<p class="style1">&nbsp;</p>
</p>
</body>
</html>


0

#6 User is offline   Wickham 

  • Web Guru
  • View gallery
  • Group: Moderators
  • Posts: 2,682
  • Joined: 11-June 09
  • Reputation: 233
  • Gender:Male
  • Location:Salisbury UK
  • Experience:Intermediate
  • Area of Expertise:Web Developer

Posted 15 March 2010 - 08:00 PM

If you want the table to center using margin: 0 auto; then you need a width.

.style1 {
text-align: center; margin:0 auto; width: ??px;
}

0

#7 User is online   mteam 

  • Web Guru
  • PipPipPipPipPip
  • Group: Members
  • Posts: 1,814
  • Joined: 07-November 09
  • Reputation: 244
  • Gender:Male
  • Location:Manchester
  • Experience:Nothing
  • Area of Expertise:Nothing

Posted 15 March 2010 - 08:09 PM

View PostWickham, on 15 March 2010 - 08:00 PM, said:

If you want the table to center using margin: 0 auto; then you need a width.

.style1 {
text-align: center; margin:0 auto; width: ??px;
}



I thought that was the case but I tested it in ff and it centered I also added </tbody>

I'm not sure on the doc type and 2 x <head>
0

#8 User is offline   keith115 

  • Dedicated Member
  • PipPip
  • Group: Members
  • Posts: 244
  • Joined: 06-March 10
  • Reputation: 5
  • Gender:Male
  • Location:UK
  • Experience:Intermediate
  • Area of Expertise:Entrepreneur

Posted 15 March 2010 - 08:18 PM

in the full lot you gave there are alot of 3rd party script, feedback and footer bars, it was pushing everything to the left. you also have 3 colums one basicly with nothing in pushing things slightly to the right along with some odd size's so im not sure on what your trying to do

just the table yes ?

<div class="style1" style="text-align: center;"></div>
<table align="center" border="0" class="style1" style="text-align: center;">
<tbody class="style1">
<tr>
<td class="style1" rowspan="14" valign="top" width="308">
<p class="style1">sad</p>
</td>
<td class="style1" valign="top" width="154">
<p class="style1">Real Name:</p>
</td>
<td class="style1" valign="top" width="154">
<p class="style1">Darren Stenson</p>
</td>
</tr>
<tr>
<td class="style1" valign="top" width="154">
<p class="style1">Date of Birth:</p>
</td>
<td class="style1" valign="top" width="154">
<p class="style1">17/11/1988</p>
</td>
</tr>
<tr>
<td class="style1" valign="top" width="154">
<p class="style1">Location:</p>
</td>
<td class="style1" valign="top" width="154">
<p class="style1">Runcorn, England</p>
</td>
</tr>
<tr>
<td class="style1" valign="top" width="154">
<p class="style1">In-Game Name:</p>
</td>
<td class="style1" valign="top" width="154">
<p class="style1">eXce</p>
</td>
</tr>
<tr>
<td class="style1" valign="top" width="154">
<p class="style1">Favourite Map:</p>
</td>
<td class="style1" valign="top" width="154">
<p class="style1">Dust2</p>
</td>
</tr>
<tr>
<td class="style1" valign="top" width="154">
<p class="style1">Favourite Gun:</p>
</td>
<td class="style1" valign="top" width="154">
<p class="style1">M4A1</p>
</td>
</tr>
<tr>
<td class="style1" valign="top" width="154">
<p class="style1">Steam ID:</p>
</td>
<td class="style1" valign="top" width="154">
<p class="style1">0:0:5378117</p>
</td>
</tr>
<tr>
<td class="style1" valign="top" width="154">
<p class="style1">Steam Friends:</p>
</td>
<td class="style1" valign="top" width="154">
<p class="style1">Powelly04</p>
</td>
</tr>
<tr>
<td class="style1" valign="top" width="154">
<p class="style1">Enemy Down:</p>
</td>
<td class="style1" valign="top" width="154">
<p class="style1">115363</p>
</td>
</tr>
<tr>
<td class="style1" valign="top" width="154">
<p class="style1">ESL:</p>
</td>
<td class="style1" valign="top" width="154">
<p class="style1">4456596</p>
</td>
</tr>
<tr>
<td class="style1" valign="top" width="154">
<p class="style1">XAC:</p>
</td>
<td class="style1" valign="top" width="154">
<p class="style1">123142</p>
</td>
</tr>
<tr>
<td class="style1" valign="top" width="154">
<p class="style1">Email:</p>
</td>
<td class="style1" valign="top" width="154">
<p class="style1">eXce@slag-gaming.net</p>
</td>
</tr>
<tr>
<td class="style1" valign="top" width="154">
<p class="style1">Facebook:</p>
</td>
<td class="style1" valign="top" width="154">
<p class="style1">536436293</p>
</td>
</tr>
<tr>
<td class="style1" valign="top" width="154">
<p class="style1">Quote:</p>
</td>
<td class="style1" valign="top" width="154">
<p class="style1">&ldquo;Rock Out, With Ya Cock Out!&rdquo;</p>
</td>
</tr>
</tbody>
</table>
0

#9 User is offline   Wickham 

  • Web Guru
  • View gallery
  • Group: Moderators
  • Posts: 2,682
  • Joined: 11-June 09
  • Reputation: 233
  • Gender:Male
  • Location:Salisbury UK
  • Experience:Intermediate
  • Area of Expertise:Web Developer

Posted 15 March 2010 - 08:27 PM

style1 has been used for p tags as well as the table so I agree that adding a width is not a good idea.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users