Help - Search - Members - Calendar
Full Version: Centering Issue + Highlighting Issue
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
Lance
The page centers the news content pefectly fine in I/E, but in Firefox it is off to the left. I need the table in the bottom larger portion of the box if you see what I am getting at so it shows up the news in it.

Also, in Firefox, when I click to the left of the navigation, it highlights all the text and images. Doesn't do it in I/E.

Website: http://www.empiresofeden.com

Index Code:

CODE
<!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>
<title>Empires of Eden - The MMORPG By Empire Game Studios</title>
<link rel="shortcut icon" href="graphics/favicon.ico">
<link href="/css/master.css" rel="stylesheet" type="text/css" />
<[if firefox]> <link href="/css/firefox.css" rel="stylesheet" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><style type="text/css">
</style></head>
<body>
<div align="center">
<div id="divwrapper">
<div id="headerwrapper">
<div id="mainbanner">
<div align="center">
<table width="300" height="150" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="300" height="150" align="center" valign="middle"><img src="graphics/empiresofedenlogo.gif" width="300" height="150" /></td>
</tr>
</table>
</div>
</div>

</div>
<div id="mainwrapper">
<div id="leftnav">
<?php include("includes/leftnav.html");?></div>
<div id="content">
<table width="532" height="349" border="0" cellpadding="0" cellspacing="0" background="graphics/newsboxmaster4.gif">
<tr>
<td><table width="450" height="250" border="0"></div></td>
<td align="center" valign="top"><br><p>The website is still being worked on.
</p>
<p>-Management </p></td>

</table></td>
</tr>
</table>
</div>
<div id="rightnav"></div>
</div>
<div id="footerwrapper">
<div id="leftfooter"></div>
<div id="footer"><?php include("includes/copyright.html");?></div>
<div id="rightfooter"></div>
</div>
</div>
</body>
</html>


Thanks.

-Lance
Darin McGrew
QUOTE(Lance @ Feb 17 2007, 06:04 PM) *
The page centers the news content pefectly fine in I/E, but in Firefox it is off to the left. I need the table in the bottom larger portion of the box if you see what I am getting at so it shows up the news in it.

Also, in Firefox, when I click to the left of the navigation, it highlights all the text and images. Doesn't do it in I/E.

Website: http://www.empiresofeden.com
The links in the News box are centered for me in Opera, Firefox, and MSIE.

But I recommend that you fix the HTML errors reported by the online validator. Once you get the XHTML to validate, it will be easier to use the CSS validation service too.
Lance
Its not the navigation box, its the content box. "Announcement Box".

I will see what I can do about the errors.

Any idea on why it highlights everything when you click to the left of the navigation?

Thanks.

-Lance
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.