Help with cell background

Hello!

I wanted to know if that possible how to do that the background will cover only the word in middle of the cell and not be all over the cell just on the word.with border too.

thanks galia

Give some more info, like a demo of what you’ve tried and what’s wrong with that.

From that very little info there i was going to suggest a

<span></span>

tags

hello!
i send to you my idea how the page look like and the code

the idea

the page

the 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>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1255" />
<title>Untitled Document</title>
<style type="text/css">
object *{
padding:0;
margin:0;
}

#container {
	position: relative;
	width: 960px;
	z-index: 1;
	border: thick solid #000;
	margin-right: auto;
	margin-left: auto;
	height: 1200px; 
}
#header {
position: relative;
width: 958px;
height: 146px;
z-index: 2;
padding-top: 0px;
padding-right: 0px;
padding-left: 0px;
border-bottom-style: solid;
border-bottom-width: medium;
border-bottom-color: #ac1c33;
margin-right: auto;
margin-left: auto;
left: 0px;
top: 0px;
background-image: url(images/html-images/canstockphoto178167596_comp.jpg);
}
#tab {
position: relative;
width: 960px;
height: 54px;
z-index: 4;
background-color: #57010c;
border-bottom-width: thin;
border-bottom-style: solid;
}
#apDiv1 {
	position: relative;
	width: 960px;
	z-index: 5;
	background-image: url(images/html-images/canstockphoto17816756009_comp.jpg);
	background-repeat: repeat;
	margin: 0px;
	height: 897px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}
#apDiv2 {
	position: relative;
	width: 960px;
	height: 98px;
	z-index: 6;
	background-image: url(images/html-images/canstockphoto178167567_comp.jpg);
	background-repeat: repeat;
	float: right;
}
.sign {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: bolder;
	color: #690917;
	text-align: center;
	direction: rtl;
}
.outside {
	border: medium double #000;
}
#apDiv4 {
	position: relative;
	width: 162px;
	height: 180px;
	z-index: 1;
	float: right;
}
</style>
<script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
<script type="text/javascript">
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
 
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
 
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
</script>
</head>
<body onload="MM_preloadImages('images/html-images/home-4.jpg','images/html-images/about-4.jpg' ,'images/html-images/galleries-3.jpg','images/html-images/contect-4.jpg')">
<a name="top" class="sign" id="top"></a>
<div id="container">
 
<div id="header"></div>
<div id="tab">
<table width="940" border="0" cellpadding="0" cellspacing="1" style="border-bottom:2px solid black">
<tr>
<td height="52" scope="col"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('contect','','images/html-images/contect-4.jpg',1)"><img src="images/html-images/contect-3.jpg" width="235" height="52" id="contect" /></a></td>
<td><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('galleries','','images/html-images/galleries-3.jpg',1)"><img src="images/html-images/galleries-4.jpg" width="235" height="52" id="galleries" /></a></td>
<td><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('about','','images/html-images/about-4.jpg',1)"><img src="images/html-images/about-3.jpg" width="235" height="52" id="about" /></a></td>
<td><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('home','','images/html-images/home-4.jpg',1)"><img src="images/html-images/home-3.jpg" width="235" height="52" id="home" /></a></td>
</tr>
</table>
<table width="940" border="0" cellpadding="0" cellspacing="1">
</table>
</div>
<div id="apDiv1">

  <div id="apDiv4"><table width="162" height="180" border="1">
    <tr>
      <td width="162" height="20" class="sign">&#1489;&#1488;&#1504;&#1512; &#1491;&#1490;&#1497;&#1501;</td>
    </tr>
    <tr>
      <td height="20" class="sign">&#1502;&#1505;&#1499;&#1492; love</td>
    </tr>
    <tr>
      <td height="20" class="sign">&#1489;&#1488;&#1504;&#1512; &#1502;&#1493;&#1494;&#1497;&#1511;&#1492;</td>
    </tr>
    <tr>
      <td height="20" class="sign">&#1502;&#1514;&#1493;&#1508;&#1508;&#1497;&#1501;</td>
    </tr>
    <tr>
      <td height="20" class="sign">&#1488;&#1497;&#1497;&#1511;&#1493;&#1503;</td>
    </tr>
  </table></div>
  <table width="760" height="892" border="0">
    <tr valign="top">
      <th width="777" height="84" class="outside" scope="col"><object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="760" height="84">
        <param name="movie" value="flash work/2&#1489;&#1488;&#1504;&#1512;.swf" />
        <param name="quality" value="high" />
        <param name="wmode" value="opaque" />
        <param name="swfversion" value="11.0.0.0" />
        <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don&#8217;t want users to see the prompt. -->
        <param name="expressinstall" value="Scripts/expressInstall.swf" />
        <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
        <!--[if !IE]>-->
        <object type="application/x-shockwave-flash" data="flash work/2&#1489;&#1488;&#1504;&#1512;.swf" width="760" height="84">
          <!--<![endif]-->
          <param name="quality" value="high" />
          <param name="wmode" value="opaque" />
          <param name="swfversion" value="11.0.0.0" />
          <param name="expressinstall" value="Scripts/expressInstall.swf" />
          <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
          <div>
            <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
            <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
          </div>
          <!--[if !IE]>-->
        </object>
        <!--<![endif]-->
      </object></th>
    </tr>
    <tr>
      <td height="20" class="sign">&#1489;&#1488;&#1504;&#1512; &#1491;&#1490;&#1497;&#1501;
    </tr>
    <tr>
      <td height="765"><table width="760" height="772" border="0" cellpadding="3" cellspacing="4">
        <tr align="left">
          <td height="280" class="outside"><object id="FlashID2" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="551" height="280">
            <param name="movie" value="flash work/&#1489;&#1488;&#1504;&#1512;  &#1491;&#1490;&#1497;&#1501;.swf" />
            <param name="quality" value="high" />
            <param name="wmode" value="opaque" />
            <param name="swfversion" value="11.0.0.0" />
            <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don&#8217;t want users to see the prompt. -->
            <param name="expressinstall" value="Scripts/expressInstall.swf" />
            <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
            <!--[if !IE]>-->
            <object type="application/x-shockwave-flash" data="flash work/&#1489;&#1488;&#1504;&#1512;  &#1491;&#1490;&#1497;&#1501;.swf" width="551" height="280">
              <!--<![endif]-->
              <param name="quality" value="high" />
              <param name="wmode" value="opaque" />
              <param name="swfversion" value="11.0.0.0" />
              <param name="expressinstall" value="Scripts/expressInstall.swf" />
              <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
              <div>
                <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
              </div>
              <!--[if !IE]>-->
            </object>
            <!--<![endif]-->
          </object></td>
          <td height="280" class="outside"><object id="FlashID3" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="189" height="280">
            <param name="movie" value="flash work/&#1490;&#1500;&#1497;&#1492; &#1502;&#1505;&#1499;&#1492; love.swf" />
            <param name="quality" value="high" />
            <param name="wmode" value="opaque" />
            <param name="swfversion" value="11.0.0.0" />
            <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don&#8217;t want users to see the prompt. -->
            <param name="expressinstall" value="Scripts/expressInstall.swf" />
            <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
            <!--[if !IE]>-->
            <object type="application/x-shockwave-flash" data="flash work/&#1490;&#1500;&#1497;&#1492; &#1502;&#1505;&#1499;&#1492; love.swf" width="189" height="280">
              <!--<![endif]-->
              <param name="quality" value="high" />
              <param name="wmode" value="opaque" />
              <param name="swfversion" value="11.0.0.0" />
              <param name="expressinstall" value="Scripts/expressInstall.swf" />
              <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
              <div>
                <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
              </div>
              <!--[if !IE]>-->
            </object>
            <!--<![endif]-->
          </object></td>
        </tr>
        <tr>
          <td height="20" align="center" class="sign">&#1489;&#1488;&#1504;&#1512; &#1502;&#1493;&#1494;&#1497;&#1511;&#1492;</td>
          <td height="20" class="sign" >&#1502;&#1505;&#1499;&#1492; love</td>
        </tr>
        <tr>
          <td height="394" align="center" class="outside"><object id="FlashID4" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="549" height="394">
            <param name="movie" value="flash work/&#1502;&#1514;&#1493;&#1508;&#1508;&#1497;&#1501;.swf" />
            <param name="quality" value="high" />
            <param name="wmode" value="opaque" />
            <param name="swfversion" value="11.0.0.0" />
            <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don&#8217;t want users to see the prompt. -->
            <param name="expressinstall" value="Scripts/expressInstall.swf" />
            <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
            <!--[if !IE]>-->
            <object type="application/x-shockwave-flash" data="flash work/&#1502;&#1514;&#1493;&#1508;&#1508;&#1497;&#1501;.swf" width="549" height="394">
              <!--<![endif]-->
              <param name="quality" value="high" />
              <param name="wmode" value="opaque" />
              <param name="swfversion" value="11.0.0.0" />
              <param name="expressinstall" value="Scripts/expressInstall.swf" />
              <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
              <div>
                <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
              </div>
              <!--[if !IE]>-->
            </object>
            <!--<![endif]-->
          </object></td>
          <td height="394" class="outside"><object id="FlashID5" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="189" height="394">
            <param name="movie" value="flash work/&#1488;&#1497;&#1497;&#1511;&#1493;&#1503; &#1490;&#1500;&#1497;&#1492;.swf" />
            <param name="quality" value="high" />
            <param name="wmode" value="opaque" />
            <param name="swfversion" value="11.0.0.0" />
            <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don&#8217;t want users to see the prompt. -->
            <param name="expressinstall" value="Scripts/expressInstall.swf" />
            <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
            <!--[if !IE]>-->
            <object type="application/x-shockwave-flash" data="flash work/&#1488;&#1497;&#1497;&#1511;&#1493;&#1503; &#1490;&#1500;&#1497;&#1492;.swf" width="189" height="394">
              <!--<![endif]-->
              <param name="quality" value="high" />
              <param name="wmode" value="opaque" />
              <param name="swfversion" value="11.0.0.0" />
              <param name="expressinstall" value="Scripts/expressInstall.swf" />
              <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
              <div>
                <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
              </div>
              <!--[if !IE]>-->
            </object>
            <!--<![endif]-->
          </object></td>
        </tr>
        <tr>
          <td width="559" height="25" align="center" class="sign" >&#1502;&#1514;&#1493;&#1508;&#1508;&#1497;&#1501;</td>
          <td width="192" height="25" valign="top" class="sign" >&#1488;&#1497;&#1497;&#1511;&#1493;&#1503;</td>
        </tr>
      </table></td>
    </tr>
  </table>
  
</div>
<div id="apDiv3"></div>
<div id="apDiv2"></div>
</div>
<script type="text/javascript">
swfobject.registerObject("FlashID2");
swfobject.registerObject("FlashID3");
swfobject.registerObject("FlashID4");
swfobject.registerObject("FlashID5");
swfobject.registerObject("FlashID");
</script>
</body>
</html>

thanks galia

Hi,

Is this what you want?


<td height="20" class="sign" ><span class="highlight">&#1502;&#1505;&#1499;&#1492; love</span></td>


.highlight{background:red;padding:5px;}

hello!
I have not tried yet to do this but do I need to do first class
galia

Hi,

I’m not quite sure what you are asking?

Which first class?

.sign was already in your code.

I added:


<span class="highlight">&#1502;&#1505;&#1499;&#1492; love</span>

If you meant the highlight class then you could remove the class and target it via .sign (.sign span) but that would assume that wherever else you wanted it had a class of .sign to start with and had no other spans. The reliable solution is as I have done and added a class on the span.

If you meant can you do it without the span then the answer is no.

hello!
you meant to do first the highlight class and than write the first code with span

thanks galia

hello!

i tried that but the background cover all of the cell and i want just the word that on the cell and with border what to do?

thanks galia

Please show us the exact code (HTML and CSS) that you’re using. Paul’s code should work, so I think you may have made a mistake somewhere.

And please include a screen shot showing exactly how it does not work.

hello!

i am sending to you how it look like on the browser and on dreamweaver and the code
and it also pushing down the div what to do?

on dreamweaver

on chrome

the 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>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1255" />
<title>Untitled Document</title>
<style type="text/css">
object *{
padding:0;
margin:0;
}

#container {
	position: relative;
	width: 960px;
	z-index: 1;
	border: thick solid #000;
	margin-right: auto;
	margin-left: auto;
	height: 1200px; 
}
#header {
position: relative;
width: 958px;
height: 146px;
z-index: 2;
padding-top: 0px;
padding-right: 0px;
padding-left: 0px;
border-bottom-style: solid;
border-bottom-width: medium;
border-bottom-color: #ac1c33;
margin-right: auto;
margin-left: auto;
left: 0px;
top: 0px;
background-image: url(images/html-images/canstockphoto178167596_comp.jpg);
}
#tab {
position: relative;
width: 960px;
height: 54px;
z-index: 4;
background-color: #57010c;
border-bottom-width: thin;
border-bottom-style: solid;
}
#apDiv1 {
	position: relative;
	width: 960px;
	z-index: 5;
	background-image: url(images/html-images/canstockphoto17816756009_comp.jpg);
	background-repeat: repeat;
	margin: 0px;
	height: 897px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}
#apDiv2 {
	position: relative;
	width: 960px;
	height: 98px;
	z-index: 6;
	background-image: url(images/html-images/canstockphoto178167567_comp.jpg);
	background-repeat: repeat;
	float: right;
}
.sign {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: bolder;
	color: #690917;
	text-align: center;
	direction: rtl;
	background-color: #F00;
	padding: 5px;
}
.outside {
	border: medium double #000;
}
#apDiv4 {
	position: relative;
	width: 162px;
	height: 180px;
	z-index: 1;
	float: right;
}
</style>
<script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
<script type="text/javascript">
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
 
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
 
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
</script>
</head>
<body onload="MM_preloadImages('images/html-images/home-4.jpg','images/html-images/about-4.jpg' ,'images/html-images/galleries-3.jpg','images/html-images/contect-4.jpg')">
<a name="top" class="sign" id="top"></a>
<div id="container">
 
<div id="header"></div>
<div id="tab">
<table width="940" border="0" cellpadding="0" cellspacing="1" style="border-bottom:2px solid black">
<tr>
<td height="52" scope="col"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('contect','','images/html-images/contect-4.jpg',1)"><img src="images/html-images/contect-3.jpg" width="235" height="52" id="contect" /></a></td>
<td><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('galleries','','images/html-images/galleries-3.jpg',1)"><img src="images/html-images/galleries-4.jpg" width="235" height="52" id="galleries" /></a></td>
<td><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('about','','images/html-images/about-4.jpg',1)"><img src="images/html-images/about-3.jpg" width="235" height="52" id="about" /></a></td>
<td><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('home','','images/html-images/home-4.jpg',1)"><img src="images/html-images/home-3.jpg" width="235" height="52" id="home" /></a></td>
</tr>
</table>
<table width="940" border="0" cellpadding="0" cellspacing="1">
</table>
</div>
<div id="apDiv1">

  <div id="apDiv4"><table width="162" height="180" border="1">
    <tr>
      <td width="162" height="20" class="sign">&#1489;&#1488;&#1504;&#1512; &#1491;&#1490;&#1497;&#1501;</td>
    </tr>
    <tr>
      <td height="20" class="sign">&#1502;&#1505;&#1499;&#1492; love</td>
    </tr>
    <tr>
      <td height="20" class="sign">&#1489;&#1488;&#1504;&#1512; &#1502;&#1493;&#1494;&#1497;&#1511;&#1492;</td>
    </tr>
    <tr>
      <td height="20" class="sign">&#1502;&#1514;&#1493;&#1508;&#1508;&#1497;&#1501;</td>
    </tr>
    <tr>
      <td height="20" class="sign">&#1488;&#1497;&#1497;&#1511;&#1493;&#1503;</td>
    </tr>
  </table></div>
  <div id="apDiv6"></div>
  <div id="apDiv5"></div>
  <table width="760" height="892" border="0">
    <tr valign="top">
      <th width="777" height="84" class="outside" scope="col"><object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="760" height="84">
        <param name="movie" value="flash work/2&#1489;&#1488;&#1504;&#1512;.swf" />
        <param name="quality" value="high" />
        <param name="wmode" value="opaque" />
        <param name="swfversion" value="11.0.0.0" />
        <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don&#8217;t want users to see the prompt. -->
        <param name="expressinstall" value="Scripts/expressInstall.swf" />
        <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
        <!--[if !IE]>-->
        <object type="application/x-shockwave-flash" data="flash work/2&#1489;&#1488;&#1504;&#1512;.swf" width="760" height="84">
          <!--<![endif]-->
          <param name="quality" value="high" />
          <param name="wmode" value="opaque" />
          <param name="swfversion" value="11.0.0.0" />
          <param name="expressinstall" value="Scripts/expressInstall.swf" />
          <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
          <div>
            <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
            <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
          </div>
          <!--[if !IE]>-->
        </object>
        <!--<![endif]-->
      </object></th>
    </tr>
    <tr>
      <td height="20" class="sign">&#1489;&#1488;&#1504;&#1512; &#1491;&#1490;&#1497;&#1501;
    </tr>
    <tr>
      <td height="765"><table width="760" height="772" border="0" cellpadding="3" cellspacing="4">
        <tr align="left">
          <td height="280" class="outside"><object id="FlashID2" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="551" height="280">
            <param name="movie" value="flash work/&#1489;&#1488;&#1504;&#1512;  &#1491;&#1490;&#1497;&#1501;.swf" />
            <param name="quality" value="high" />
            <param name="wmode" value="opaque" />
            <param name="swfversion" value="11.0.0.0" />
            <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don&#8217;t want users to see the prompt. -->
            <param name="expressinstall" value="Scripts/expressInstall.swf" />
            <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
            <!--[if !IE]>-->
            <object type="application/x-shockwave-flash" data="flash work/&#1489;&#1488;&#1504;&#1512;  &#1491;&#1490;&#1497;&#1501;.swf" width="551" height="280">
              <!--<![endif]-->
              <param name="quality" value="high" />
              <param name="wmode" value="opaque" />
              <param name="swfversion" value="11.0.0.0" />
              <param name="expressinstall" value="Scripts/expressInstall.swf" />
              <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
              <div>
                <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
              </div>
              <!--[if !IE]>-->
            </object>
            <!--<![endif]-->
          </object></td>
          <td height="280" class="outside"><object id="FlashID3" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="189" height="280">
            <param name="movie" value="flash work/&#1490;&#1500;&#1497;&#1492; &#1502;&#1505;&#1499;&#1492; love.swf" />
            <param name="quality" value="high" />
            <param name="wmode" value="opaque" />
            <param name="swfversion" value="11.0.0.0" />
            <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don&#8217;t want users to see the prompt. -->
            <param name="expressinstall" value="Scripts/expressInstall.swf" />
            <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
            <!--[if !IE]>-->
            <object type="application/x-shockwave-flash" data="flash work/&#1490;&#1500;&#1497;&#1492; &#1502;&#1505;&#1499;&#1492; love.swf" width="189" height="280">
              <!--<![endif]-->
              <param name="quality" value="high" />
              <param name="wmode" value="opaque" />
              <param name="swfversion" value="11.0.0.0" />
              <param name="expressinstall" value="Scripts/expressInstall.swf" />
              <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
              <div>
                <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
              </div>
              <!--[if !IE]>-->
            </object>
            <!--<![endif]-->
          </object></td>
        </tr>
        <tr>
          <td height="20" align="center" class="sign">&#1489;&#1488;&#1504;&#1512; &#1502;&#1493;&#1494;&#1497;&#1511;&#1492;</td>
          <td height="20" class="sign" ><span class="sign">&#1502;&#1505;&#1499;&#1492; love</span></td>
        </tr>
        <tr>
          <td height="394" align="center" class="outside"><object id="FlashID4" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="549" height="394">
            <param name="movie" value="flash work/&#1502;&#1514;&#1493;&#1508;&#1508;&#1497;&#1501;.swf" />
            <param name="quality" value="high" />
            <param name="wmode" value="opaque" />
            <param name="swfversion" value="11.0.0.0" />
            <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don&#8217;t want users to see the prompt. -->
            <param name="expressinstall" value="Scripts/expressInstall.swf" />
            <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
            <!--[if !IE]>-->
            <object type="application/x-shockwave-flash" data="flash work/&#1502;&#1514;&#1493;&#1508;&#1508;&#1497;&#1501;.swf" width="549" height="394">
              <!--<![endif]-->
              <param name="quality" value="high" />
              <param name="wmode" value="opaque" />
              <param name="swfversion" value="11.0.0.0" />
              <param name="expressinstall" value="Scripts/expressInstall.swf" />
              <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
              <div>
                <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
              </div>
              <!--[if !IE]>-->
            </object>
            <!--<![endif]-->
          </object></td>
          <td height="394" class="outside"><object id="FlashID5" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="189" height="394">
            <param name="movie" value="flash work/&#1488;&#1497;&#1497;&#1511;&#1493;&#1503; &#1490;&#1500;&#1497;&#1492;.swf" />
            <param name="quality" value="high" />
            <param name="wmode" value="opaque" />
            <param name="swfversion" value="11.0.0.0" />
            <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don&#8217;t want users to see the prompt. -->
            <param name="expressinstall" value="Scripts/expressInstall.swf" />
            <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
            <!--[if !IE]>-->
            <object type="application/x-shockwave-flash" data="flash work/&#1488;&#1497;&#1497;&#1511;&#1493;&#1503; &#1490;&#1500;&#1497;&#1492;.swf" width="189" height="394">
              <!--<![endif]-->
              <param name="quality" value="high" />
              <param name="wmode" value="opaque" />
              <param name="swfversion" value="11.0.0.0" />
              <param name="expressinstall" value="Scripts/expressInstall.swf" />
              <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
              <div>
                <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
              </div>
              <!--[if !IE]>-->
            </object>
            <!--<![endif]-->
          </object></td>
        </tr>
        <tr>
          <td width="559" height="25" align="center" class="sign" >&#1502;&#1514;&#1493;&#1508;&#1508;&#1497;&#1501;</td>
          <td width="192" height="25" valign="top" class="sign" >&#1488;&#1497;&#1497;&#1511;&#1493;&#1503;</td>
        </tr>
      </table></td>
    </tr>
  </table>
</div>
<div id="apDiv3"></div>
<div id="apDiv2"></div>
</div>
<script type="text/javascript">
swfobject.registerObject("FlashID2");
swfobject.registerObject("FlashID3");
swfobject.registerObject("FlashID4");
swfobject.registerObject("FlashID5");
swfobject.registerObject("FlashID");
</script>
</body>
</html>

thanks galia

Look at this code that you have used:


<span class="sign">&#1502;&#1505;&#1499;&#1492; love</span>

Now look at the code I gave you:


<span class="highlight">&#1502;&#1505;&#1499;&#1492; love</span>

Can you spot the difference?

Also notice that you have one <td> tag with the class of “sign” that is not closed. The red </td> tag is missing.


    <tr>
      <td height="20" class="sign">&#1489;&#1488;&#1504;&#1512; &#1491;&#1490;&#1497;&#1501;[color=red][/td][/color]
    </tr>


hello!

the only difference that i see is a new class but you told me that i can use the sign class
Except It cold affect the all class that i gave to i also i fix and give a close code

sending again the 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>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1255" />
<title>Untitled Document</title>
<style type="text/css">
object *{
padding:0;
margin:0;
}

#container {
	position: relative;
	width: 960px;
	z-index: 1;
	border: thick solid #000;
	margin-right: auto;
	margin-left: auto;
	height: 1200px; 
}
#header {
position: relative;
width: 958px;
height: 146px;
z-index: 2;
padding-top: 0px;
padding-right: 0px;
padding-left: 0px;
border-bottom-style: solid;
border-bottom-width: medium;
border-bottom-color: #ac1c33;
margin-right: auto;
margin-left: auto;
left: 0px;
top: 0px;
background-image: url(images/html-images/canstockphoto178167596_comp.jpg);
}
#tab {
position: relative;
width: 960px;
height: 54px;
z-index: 4;
background-color: #57010c;
border-bottom-width: thin;
border-bottom-style: solid;
}
#apDiv1 {
	position: relative;
	width: 960px;
	z-index: 5;
	background-image: url(images/html-images/canstockphoto17816756009_comp.jpg);
	background-repeat: repeat;
	margin: 0px;
	height: 897px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}
#apDiv2 {
	position: relative;
	width: 960px;
	height: 98px;
	z-index: 6;
	background-image: url(images/html-images/canstockphoto178167567_comp.jpg);
	background-repeat: repeat;
	float: right;
}
.sign {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: bolder;
	color: #690917;
	text-align: center;
	direction: rtl;
	background-color: #F00;
	padding: 5px;
}
.outside {
	border: medium double #000;
}
#apDiv4 {
	position: relative;
	width: 162px;
	height: 180px;
	z-index: 1;
	float: right;
}
</style>
<script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
<script type="text/javascript">
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
 
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
 
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
</script>
</head>
<body onload="MM_preloadImages('images/html-images/home-4.jpg','images/html-images/about-4.jpg' ,'images/html-images/galleries-3.jpg','images/html-images/contect-4.jpg')">
<a name="top" class="sign" id="top"></a>
<div id="container">
 
<div id="header"></div>
<div id="tab">
<table width="940" border="0" cellpadding="0" cellspacing="1" style="border-bottom:2px solid black">
<tr>
<td height="52" scope="col"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('contect','','images/html-images/contect-4.jpg',1)"><img src="images/html-images/contect-3.jpg" width="235" height="52" id="contect" /></a></td>
<td><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('galleries','','images/html-images/galleries-3.jpg',1)"><img src="images/html-images/galleries-4.jpg" width="235" height="52" id="galleries" /></a></td>
<td><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('about','','images/html-images/about-4.jpg',1)"><img src="images/html-images/about-3.jpg" width="235" height="52" id="about" /></a></td>
<td><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('home','','images/html-images/home-4.jpg',1)"><img src="images/html-images/home-3.jpg" width="235" height="52" id="home" /></a></td>
</tr>
</table>
<table width="940" border="0" cellpadding="0" cellspacing="1">
</table>
</div>
<div id="apDiv1">

  <div id="apDiv4"><table width="162" height="180" border="1">
    <tr>
      <td width="162" height="20" class="sign">&#1489;&#1488;&#1504;&#1512; &#1491;&#1490;&#1497;&#1501;</td>
    </tr>
    <tr>
      <td height="20" class="sign">&#1502;&#1505;&#1499;&#1492; love</td>
    </tr>
    <tr>
      <td height="20" class="sign">&#1489;&#1488;&#1504;&#1512; &#1502;&#1493;&#1494;&#1497;&#1511;&#1492;</td>
    </tr>
    <tr>
      <td height="20" class="sign">&#1502;&#1514;&#1493;&#1508;&#1508;&#1497;&#1501;</td>
    </tr>
    <tr>
      <td height="20" class="sign">&#1488;&#1497;&#1497;&#1511;&#1493;&#1503;</td>
    </tr>
  </table></div>
  <div id="apDiv6"></div>
  <div id="apDiv5"></div>
  <table width="760" height="892" border="0">
    <tr valign="top">
      <th width="777" height="84" class="outside" scope="col"><object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="760" height="84">
        <param name="movie" value="flash work/2&#1489;&#1488;&#1504;&#1512;.swf" />
        <param name="quality" value="high" />
        <param name="wmode" value="opaque" />
        <param name="swfversion" value="11.0.0.0" />
        <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
        <param name="expressinstall" value="Scripts/expressInstall.swf" />
        <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
        <!--[if !IE]>-->
        <object type="application/x-shockwave-flash" data="flash work/2&#1489;&#1488;&#1504;&#1512;.swf" width="760" height="84">
          <!--<![endif]-->
          <param name="quality" value="high" />
          <param name="wmode" value="opaque" />
          <param name="swfversion" value="11.0.0.0" />
          <param name="expressinstall" value="Scripts/expressInstall.swf" />
          <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
          <div>
            <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
            <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
          </div>
          <!--[if !IE]>-->
        </object>
        <!--<![endif]-->
      </object></th>
    </tr>
    <tr>
      <td height="20" class="sign">&#1489;&#1488;&#1504;&#1512; &#1491;&#1490;&#1497;&#1501;
      </td>
    </tr>
    <tr>
      <td height="765"><table width="760" height="772" border="0" cellpadding="3" cellspacing="4">
        <tr align="left">
          <td height="280" class="outside"><object id="FlashID2" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="551" height="280">
            <param name="movie" value="flash work/&#1489;&#1488;&#1504;&#1512;  &#1491;&#1490;&#1497;&#1501;.swf" />
            <param name="quality" value="high" />
            <param name="wmode" value="opaque" />
            <param name="swfversion" value="11.0.0.0" />
            <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
            <param name="expressinstall" value="Scripts/expressInstall.swf" />
            <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
            <!--[if !IE]>-->
            <object type="application/x-shockwave-flash" data="flash work/&#1489;&#1488;&#1504;&#1512;  &#1491;&#1490;&#1497;&#1501;.swf" width="551" height="280">
              <!--<![endif]-->
              <param name="quality" value="high" />
              <param name="wmode" value="opaque" />
              <param name="swfversion" value="11.0.0.0" />
              <param name="expressinstall" value="Scripts/expressInstall.swf" />
              <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
              <div>
                <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
              </div>
              <!--[if !IE]>-->
            </object>
            <!--<![endif]-->
          </object></td>
          <td height="280" class="outside"><object id="FlashID3" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="189" height="280">
            <param name="movie" value="flash work/&#1490;&#1500;&#1497;&#1492; &#1502;&#1505;&#1499;&#1492; love.swf" />
            <param name="quality" value="high" />
            <param name="wmode" value="opaque" />
            <param name="swfversion" value="11.0.0.0" />
            <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
            <param name="expressinstall" value="Scripts/expressInstall.swf" />
            <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
            <!--[if !IE]>-->
            <object type="application/x-shockwave-flash" data="flash work/&#1490;&#1500;&#1497;&#1492; &#1502;&#1505;&#1499;&#1492; love.swf" width="189" height="280">
              <!--<![endif]-->
              <param name="quality" value="high" />
              <param name="wmode" value="opaque" />
              <param name="swfversion" value="11.0.0.0" />
              <param name="expressinstall" value="Scripts/expressInstall.swf" />
              <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
              <div>
                <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
              </div>
              <!--[if !IE]>-->
            </object>
            <!--<![endif]-->
          </object></td>
        </tr>
        <tr>
          <td height="20" align="center" class="sign">&#1489;&#1488;&#1504;&#1512; &#1502;&#1493;&#1494;&#1497;&#1511;&#1492;</td>
          <td height="20" class="sign" ><span class="sign">&#1502;&#1505;&#1499;&#1492; love</span></td>
        </tr>
        <tr>
          <td height="394" align="center" class="outside"><object id="FlashID4" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="549" height="394">
            <param name="movie" value="flash work/&#1502;&#1514;&#1493;&#1508;&#1508;&#1497;&#1501;.swf" />
            <param name="quality" value="high" />
            <param name="wmode" value="opaque" />
            <param name="swfversion" value="11.0.0.0" />
            <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
            <param name="expressinstall" value="Scripts/expressInstall.swf" />
            <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
            <!--[if !IE]>-->
            <object type="application/x-shockwave-flash" data="flash work/&#1502;&#1514;&#1493;&#1508;&#1508;&#1497;&#1501;.swf" width="549" height="394">
              <!--<![endif]-->
              <param name="quality" value="high" />
              <param name="wmode" value="opaque" />
              <param name="swfversion" value="11.0.0.0" />
              <param name="expressinstall" value="Scripts/expressInstall.swf" />
              <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
              <div>
                <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
              </div>
              <!--[if !IE]>-->
            </object>
            <!--<![endif]-->
          </object></td>
          <td height="394" class="outside"><object id="FlashID5" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="189" height="394">
            <param name="movie" value="flash work/&#1488;&#1497;&#1497;&#1511;&#1493;&#1503; &#1490;&#1500;&#1497;&#1492;.swf" />
            <param name="quality" value="high" />
            <param name="wmode" value="opaque" />
            <param name="swfversion" value="11.0.0.0" />
            <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
            <param name="expressinstall" value="Scripts/expressInstall.swf" />
            <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
            <!--[if !IE]>-->
            <object type="application/x-shockwave-flash" data="flash work/&#1488;&#1497;&#1497;&#1511;&#1493;&#1503; &#1490;&#1500;&#1497;&#1492;.swf" width="189" height="394">
              <!--<![endif]-->
              <param name="quality" value="high" />
              <param name="wmode" value="opaque" />
              <param name="swfversion" value="11.0.0.0" />
              <param name="expressinstall" value="Scripts/expressInstall.swf" />
              <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
              <div>
                <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
              </div>
              <!--[if !IE]>-->
            </object>
            <!--<![endif]-->
          </object></td>
        </tr>
        <tr>
          <td width="559" height="25" align="center" class="sign" >&#1502;&#1514;&#1493;&#1508;&#1508;&#1497;&#1501;</td>
          <td width="192" height="25" valign="top" class="sign" >&#1488;&#1497;&#1497;&#1511;&#1493;&#1503;</td>
        </tr>
      </table></td>
    </tr>
  </table>
</div>
<div id="apDiv3"></div>
<div id="apDiv2"></div>
</div>
<script type="text/javascript">
swfobject.registerObject("FlashID2");
swfobject.registerObject("FlashID3");
swfobject.registerObject("FlashID4");
swfobject.registerObject("FlashID5");
swfobject.registerObject("FlashID");
</script>
</body>
</html>

thanks galia

.sign affects the whole <td>

.highlight affects only the text that it surrounds.

See post #5.

And post #7. :slight_smile:

If you want to target just the text and not the whole cell, then you need to add the <span> tags.

hello!

now it look good but on dreamweaver i can’t see it in all side the border what size i have to choose on padding or border if my cellpad is 2 and why i have after i save on chrome or explorer more space down the first word
in the big table.

sending the look on explorer

the look on dreamwver

the 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>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1255" />
<title>Untitled Document</title>
<style type="text/css">
object *{
padding:0;
margin:0;
}

#container {
	position: relative;
	width: 960px;
	z-index: 1;
	border: thick solid #000;
	margin-right: auto;
	margin-left: auto;
	height: 1200px; 
}
#header {
position: relative;
width: 958px;
height: 146px;
z-index: 2;
padding-top: 0px;
padding-right: 0px;
padding-left: 0px;
border-bottom-style: solid;
border-bottom-width: medium;
border-bottom-color: #ac1c33;
margin-right: auto;
margin-left: auto;
left: 0px;
top: 0px;
background-image: url(images/html-images/canstockphoto178167596_comp.jpg);
}
#tab {
position: relative;
width: 960px;
height: 54px;
z-index: 4;
background-color: #57010c;
border-bottom-width: thin;
border-bottom-style: solid;
}
#apDiv1 {
	position: relative;
	width: 960px;
	z-index: 5;
	background-image: url(images/html-images/canstockphoto17816756009_comp.jpg);
	background-repeat: repeat;
	margin: 0px;
	height: 897px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}
#apDiv2 {
	position: relative;
	width: 960px;
	height: 98px;
	z-index: 6;
	background-image: url(images/html-images/canstockphoto178167567_comp.jpg);
	background-repeat: repeat;
	float: right;
}
.sign {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: bolder;
	color: #690917;
	text-align: center;
	direction: rtl;
}
.outside {
	border: medium double #000;
}
.highlight {
	background-color: #FFF;
	padding: 2.5px;
	border: thin ridge #000;
}
#apDiv4 {
	position: relative;
	width: 162px;
	height: 180px;
	z-index: 1;
	float: right;
}
</style>
<script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
<script type="text/javascript">
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
 
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
 
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
</script>
</head>
<body onload="MM_preloadImages('images/html-images/home-4.jpg','images/html-images/about-4.jpg' ,'images/html-images/galleries-3.jpg','images/html-images/contect-4.jpg')">
<a name="top" class="sign" id="top"></a>
<div id="container">
 
<div id="header"></div>
<div id="tab">
<table width="940" border="0" cellpadding="0" cellspacing="1" style="border-bottom:2px solid black">
<tr>
<td height="52" scope="col"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('contect','','images/html-images/contect-4.jpg',1)"><img src="images/html-images/contect-3.jpg" width="235" height="52" id="contect" /></a></td>
<td><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('galleries','','images/html-images/galleries-3.jpg',1)"><img src="images/html-images/galleries-4.jpg" width="235" height="52" id="galleries" /></a></td>
<td><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('about','','images/html-images/about-4.jpg',1)"><img src="images/html-images/about-3.jpg" width="235" height="52" id="about" /></a></td>
<td><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('home','','images/html-images/home-4.jpg',1)"><img src="images/html-images/home-3.jpg" width="235" height="52" id="home" /></a></td>
</tr>
</table>
<table width="940" border="0" cellpadding="0" cellspacing="1">
</table>
</div>
<div id="apDiv1">

  <div id="apDiv4"><table width="162" height="180" border="1">
    <tr>
      <td width="162" height="20" class="sign">&#1489;&#1488;&#1504;&#1512; &#1491;&#1490;&#1497;&#1501;</td>
    </tr>
    <tr>
      <td height="20" class="sign">&#1502;&#1505;&#1499;&#1492; love</td>
    </tr>
    <tr>
      <td height="20" class="sign">&#1489;&#1488;&#1504;&#1512; &#1502;&#1493;&#1494;&#1497;&#1511;&#1492;</td>
    </tr>
    <tr>
      <td height="20" class="sign">&#1502;&#1514;&#1493;&#1508;&#1508;&#1497;&#1501;</td>
    </tr>
    <tr>
      <td height="20" class="sign">&#1488;&#1497;&#1497;&#1511;&#1493;&#1503;</td>
    </tr>
  </table></div>
  <div id="apDiv6"></div>
  <div id="apDiv5"></div>
  <table width="760" height="892" border="0" cellpadding="2">
    <tr valign="top">
      <th width="777" height="84" class="outside" scope="col"><object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="760" height="84">
        <param name="movie" value="flash work/2&#1489;&#1488;&#1504;&#1512;.swf" />
        <param name="quality" value="high" />
        <param name="wmode" value="opaque" />
        <param name="swfversion" value="11.0.0.0" />
        <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
        <param name="expressinstall" value="Scripts/expressInstall.swf" />
        <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
        <!--[if !IE]>-->
        <object type="application/x-shockwave-flash" data="flash work/2&#1489;&#1488;&#1504;&#1512;.swf" width="760" height="84">
          <!--<![endif]-->
          <param name="quality" value="high" />
          <param name="wmode" value="opaque" />
          <param name="swfversion" value="11.0.0.0" />
          <param name="expressinstall" value="Scripts/expressInstall.swf" />
          <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
          <div>
            <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
            <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
          </div>
          <!--[if !IE]>-->
        </object>
        <!--<![endif]-->
      </object></th>
    </tr>
    <tr>
      <td height="20" class="sign"><span class="highlight">&#1489;&#1488;&#1504;&#1512; &#1491;&#1490;&#1497;&#1501;
      </span></td>
    </tr>
    <tr>
      <td height="765"><table width="760" height="772" border="0" cellpadding="2" cellspacing="4">
        <tr align="left">
          <td height="280" class="outside"><object id="FlashID2" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="551" height="280">
            <param name="movie" value="flash work/&#1489;&#1488;&#1504;&#1512;  &#1491;&#1490;&#1497;&#1501;.swf" />
            <param name="quality" value="high" />
            <param name="wmode" value="opaque" />
            <param name="swfversion" value="11.0.0.0" />
            <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
            <param name="expressinstall" value="Scripts/expressInstall.swf" />
            <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
            <!--[if !IE]>-->
            <object type="application/x-shockwave-flash" data="flash work/&#1489;&#1488;&#1504;&#1512;  &#1491;&#1490;&#1497;&#1501;.swf" width="551" height="280">
              <!--<![endif]-->
              <param name="quality" value="high" />
              <param name="wmode" value="opaque" />
              <param name="swfversion" value="11.0.0.0" />
              <param name="expressinstall" value="Scripts/expressInstall.swf" />
              <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
              <div>
                <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
              </div>
              <!--[if !IE]>-->
            </object>
            <!--<![endif]-->
          </object></td>
          <td height="280" class="outside"><object id="FlashID3" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="189" height="280">
            <param name="movie" value="flash work/&#1490;&#1500;&#1497;&#1492; &#1502;&#1505;&#1499;&#1492; love.swf" />
            <param name="quality" value="high" />
            <param name="wmode" value="opaque" />
            <param name="swfversion" value="11.0.0.0" />
            <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
            <param name="expressinstall" value="Scripts/expressInstall.swf" />
            <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
            <!--[if !IE]>-->
            <object type="application/x-shockwave-flash" data="flash work/&#1490;&#1500;&#1497;&#1492; &#1502;&#1505;&#1499;&#1492; love.swf" width="189" height="280">
              <!--<![endif]-->
              <param name="quality" value="high" />
              <param name="wmode" value="opaque" />
              <param name="swfversion" value="11.0.0.0" />
              <param name="expressinstall" value="Scripts/expressInstall.swf" />
              <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
              <div>
                <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
              </div>
              <!--[if !IE]>-->
            </object>
            <!--<![endif]-->
          </object></td>
        </tr>
        <tr>
          <td height="20" align="center" class="sign"><span class="highlight">&#1489;&#1488;&#1504;&#1512; &#1502;&#1493;&#1494;&#1497;&#1511;&#1492;</span></td>
          <td height="20" class="sign" ><span class="highlight">&#1502;&#1505;&#1499;&#1492; love</span></td>
        </tr>
        <tr>
          <td height="394" align="center" class="outside"><object id="FlashID4" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="549" height="394">
            <param name="movie" value="flash work/&#1502;&#1514;&#1493;&#1508;&#1508;&#1497;&#1501;.swf" />
            <param name="quality" value="high" />
            <param name="wmode" value="opaque" />
            <param name="swfversion" value="11.0.0.0" />
            <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
            <param name="expressinstall" value="Scripts/expressInstall.swf" />
            <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
            <!--[if !IE]>-->
            <object type="application/x-shockwave-flash" data="flash work/&#1502;&#1514;&#1493;&#1508;&#1508;&#1497;&#1501;.swf" width="549" height="394">
              <!--<![endif]-->
              <param name="quality" value="high" />
              <param name="wmode" value="opaque" />
              <param name="swfversion" value="11.0.0.0" />
              <param name="expressinstall" value="Scripts/expressInstall.swf" />
              <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
              <div>
                <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
              </div>
              <!--[if !IE]>-->
            </object>
            <!--<![endif]-->
          </object></td>
          <td height="394" class="outside"><object id="FlashID5" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="189" height="394">
            <param name="movie" value="flash work/&#1488;&#1497;&#1497;&#1511;&#1493;&#1503; &#1490;&#1500;&#1497;&#1492;.swf" />
            <param name="quality" value="high" />
            <param name="wmode" value="opaque" />
            <param name="swfversion" value="11.0.0.0" />
            <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
            <param name="expressinstall" value="Scripts/expressInstall.swf" />
            <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
            <!--[if !IE]>-->
            <object type="application/x-shockwave-flash" data="flash work/&#1488;&#1497;&#1497;&#1511;&#1493;&#1503; &#1490;&#1500;&#1497;&#1492;.swf" width="189" height="394">
              <!--<![endif]-->
              <param name="quality" value="high" />
              <param name="wmode" value="opaque" />
              <param name="swfversion" value="11.0.0.0" />
              <param name="expressinstall" value="Scripts/expressInstall.swf" />
              <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
              <div>
                <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
              </div>
              <!--[if !IE]>-->
            </object>
            <!--<![endif]-->
          </object></td>
        </tr>
        <tr>
          <td width="562" height="20" align="center" class="sign" ><span class="highlight">&#1502;&#1514;&#1493;&#1508;&#1508;&#1497;&#1501;</span></td>
          <td width="192" height="20" valign="top" class="sign" ><span class="highlight">&#1488;&#1497;&#1497;&#1511;&#1493;&#1503;</span></td>
        </tr>
      </table></td>
    </tr>
  </table>
</div>
<div id="apDiv3"></div>
<div id="apDiv2"></div>
</div>
<script type="text/javascript">
swfobject.registerObject("FlashID2");
swfobject.registerObject("FlashID3");
swfobject.registerObject("FlashID4");
swfobject.registerObject("FlashID5");
swfobject.registerObject("FlashID");
</script>
</body>
</html>

thanks galia

nono29,

Dreamweaver is not a browser. Do NOT use Dreamweaver to test the “look” of your code. Use only REAL browsers.

I don’t have time to look into it in detail, but the problem is not caused by the span, but by the nested tables below it. Frankly, I’m amazed your whole layout isn’t more broken, because your sums simply do not add up. For example:

<table width="760" height="892" border="0" cellpadding="2">
    <tr valign="top">
      <th width="777" height="84" class="outside" scope="col"><object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="760" height="84">

You have a table with a width of 760px, and its contents are set to a width of 777px. Later on, you have this:

<td height="765"><table width="760" height="772" border="0" cellpadding="2" cellspacing="4">

A nested table whose height exceeds that of the containing <td>.

If you’re going to use tables for layout - and we have repeatedly advised you against doing this - that you must, at the very least, ensure your numbers add up (allowing for padding, borders, etc.), or you cannot expect a layout to work as intended.