Click to See Complete Forum and Search --> : Help! Annoying border in IE


kefeso
11-06-2005, 09:06 PM
the current site I am using is "xenolex.byethost24.com/index1," and I am doing this for a school project. However...the problem is, I used all the border eliminating tecniques I know to obsolete the border of the table, but it works in firefox and netscpae, but not IE...if anyone knows how to solve the problem, please tell me, help greatly appreciated.

tegraphix
11-06-2005, 09:52 PM
In your CSS add:
table {
border: 0;
}
This will make all table borders 0 width.

kefeso
11-06-2005, 10:25 PM
yes I have tried that as well, however, IE still won't respond to my code, as seen here - xenolex.byethost24.com. I don't know if it's the problem of the png images that I have used, but I've tried the jpgs as well.

tegraphix
11-07-2005, 12:17 PM
A lil rework of the code to get things working:
<!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=gb2312">
<!--<link href="http://xenolex.byethost24.com/bodycss.css" rel="stylesheet" type="text/css">-->

<style type="text/css">

/* CSS Document */

body{background: url(http://xenolex.byethost24.com/bar.png) #faffff repeat-x 0 0; margin: 0; padding: 0}

.sidebar {background: url(http://xenolex.byethost24.com/sidebar.png) repeat-y 0 0;}

.clsCell { background: #ffffff; }
.clsURL { color: #808080; }
.clsCell { border-color: #ffffff; }
.clsResultDescription { color: #000000; }
.clsResultTitle,.clsResultTitleNoBold { color: #ff3300; }

.clsResult
{
background: #dddec8;
margin: 0px 0px;
padding: 1px 1px;
}
.clsResultTitle
{
font-family: Verdana, Arial, sans-serif;
font-size: 11px;
font-weight: bold;
text-decoration: underline;
color: #bb0000;
}
.clsResultTitleNoBold
{
font-family: Verdana, Arial, sans-serif;
font-size: 11px;
text-decoration: underline;
color: #bb0000;
}
.clsResultDescription
{
font-family: Verdana, Arial, sans-serif;
font-size: 11px;
}
.clsURL
{
font-family: Verdana, Arial, sans-serif;
font-size: 9px;
COLOR: gray
}
.clsCell
{
background: #dddec8;
border: 2px solid;
border-color: #5c683c;
cursor:pointer; cursor:hand;
}

</style>

<title>Xatec - An affiliate of Xenolex</title>
</head>

<body>
<div style="text-align: center">
<p>
<script language='JavaScript' type='text/javascript'>
<!--
var awrz_rnd = Math.floor(Math.random()*99999999999);
var awrz_protocol = location.protocol.indexOf('https')>-1?'https:':'http:';
if (!document.phpAds_used) document.phpAds_used = ',';
document.write ("<" + "script language='JavaScript' type='text/javascript' src='");
document.write (awrz_protocol+"//byethost24.com/advert/adjs.php?n=a3a67674");
document.write ("&campaignid=1&block=1&blockcampaign=1");
document.write ("&exclude=" + document.phpAds_used);
document.write ("&loc=" + escape(window.location));
if (document.referrer)
document.write ("&referer=" + escape(document.referrer));
document.write ('&r=' + awrz_rnd);
document.write ("&ct0=" + escape(document.phpAds_ct0));
document.write ("'><" + "/script>");
//-->
</script>
<noscript><a href='http://byethost24.com/advert/adclick.php?n=a3a67674' target='_blank'><img src='http://byethost24.com/advert/adview.php?campaignid=1&n=a3a67674' border='0' alt=''></a></noscript>

</p>
</div>

<center>
<img class="pos" src="http://xenolex.byethost24.com/xatec.png" border="0" alt="" /><br />
<object class="pos1" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="1024" height="50">
<param name="movie" value="http://xenolex.byethost24.com/menubar.swf">
<param name="quality" value="high">
<param name="wmode" value="transparent">
<embed src="http://xenolex.byethost24.com/menubar.swf" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="1024" height="50"></embed>
</object>
<table class="pos2" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="3" width="250" align="left"><img src="http://xenolex.byethost24.com/topbar.png" width="210" height="20" border="0" alt="" /></td>
<td colspan="3" width="650" align="left"><img src="http://xenolex.byethost24.com/topbar.png" width="610" height="20" border="0" alt="" /></td>
</tr>
<tr>
<td width="5" height="420" class="sidebar" align="left" rowspan="2" background="">&nbsp;</td>
<td width="200" align="left" rowspan="2" style="background-color: #eeeeee">
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam in dui. Phasellus massa orci, vulputate ut, rhoncus a, vehicula placerat, augue. Fusce tincidunt nisi in tortor. Sed placerat. Vivamus id velit. Nullam ut orci. Sed lobortis lorem. Quisque nec sem nec mauris lobortis nonummy. Suspendisse ac odio a odio condimentum faucibus. Curabitur facilisis condimentum est.
</td>
<td width="45" height="420" class="sidebar" align="left" rowspan="2">&nbsp;</td>
<td width="5" height="420" class="sidebar" align="left" rowspan="2">&nbsp;</td>
<td width="600" align="left"><img src="http://xenolex.byethost24.com/monitor.png"></td>
<td width="45" height="420" class="sidebar" align="left" rowspan="2">&nbsp;</td>
</tr>
<tr>
<td width="600" style="background-color: #eeeeee">Xatec's revolutionary Desktop PC - <b>Xeon XL</b></td>
</tr>
<tr>
<td width="250" align="left" colspan="3"><img src="http://xenolex.byethost24.com/bottombar.png" width="210" height="15" border="0" alt="" /></td>
<td width="650" align="left" colspan="3"><img src="http://xenolex.byethost24.com/bottombar.png" width="610" height="15" border="0" alt="" /></td>
</tr>
</table>
<img class="pos3" src="http://xenolex.byethost24.com/bottombar.png" width="1024" height="5" border="0" alt="" />
<br />
<font size="-1">Xatec 2005</font>
</center>
</body>
</html>

kyroii
11-08-2005, 03:14 PM
Add this to your css:

html {

border: 0;

}

Cheers