i am havning usiues with the border displaying on the table something funky is going on here is my code
html
<?php defined( "_VALID_MOS" ) or die( "Direct Access to this location is not allowed." );?>
<!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>
<?php if ( $my->id ) { initEditor(); } ?>
<meta http-equiv="Content-Type" content="text/html;><?php echo _ISO; ?>" />
<?php mosShowHead(); ?>
<?php echo "<link rel=\"stylesheet\" href=\"$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/css/template_css.css\" type=\"text/css\"/>" ; ?><?php echo "<link rel=\"shortcut icon\" href=\"$GLOBALS[mosConfig_live_site]/images/favicon.ico\" />" ; ?>
</head>
<body style="background-image: url(<? echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/bg.jpg"; ?>);background-repeat: repeat-x; background-color: #999966;">
<div width="791" height="35" class="main_menu" align="center">
<?php mosLoadModules ( 'header' ); ?>
</div>
<table cellspacing="0" cellpadding="0" border="0" align="center" style="width:791px; border:10px;">
<tr>
<td colspan="2" width="601" height="214">
<div class="top"><?php mosLoadModules ( 'top' ); ?><div>
</td>
<td width="190">
<div class="user1"><?php mosLoadModules ( 'user1' ); ?></div>
</td>
</tr>
<tr>
<td colspan="3" width="100%" height="26" style="background-image: url(<? echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/breadcrumbs_bg.jpg"; ?>);">
<?php mospathway(); ?>
</td>
</tr>
<tr>
<td width="564">
<div class="body_cell"><?php mosMainBody(); ?></div>
</td>
<td width="37" style="background-image: url(<? echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/body_right_sh.png" ?>); background-repeat: repeat-y;">
<?//<img width="37" height="100%" src="" vspace="0" hspace="0">?>
</td>
<td width="190">
<div class="user2"><?php mosLoadModules ( 'user2' ); ?></div>
<div class="user3"><?php mosLoadModules ( 'user3' ); ?></div>
</td>
</tr>
</table>
</body>
</html>
also i apply css to .main_menu a or .main_menu .mainlevel (mainlevel is a class defined for each <a> in the main menu
and this code makes it break each link into seperate lines does anybody know why?
css
background-image: url('templates/wlcc_creation/images/button_bg.png');
background-repeat: no-repeat;
display: block;
width: 81px;
height: 35px;
text-decoration: none;
any help would be greatly appreciated, thank you guys.