Heading comes out wrong in English version

Hi all

I designed a site with two parts one part in English one in Hebrew.The site is
http://drmirarosenthal.com . If you look at an English page (any page) and a Hebrew page (also any page), you will notice that the headings are different (being able to read the Hebrew is not relevant here I think). As far as I understand the headings should look the same (acounting for difference in direction ofcourse). However thay are not. The Hebrew version of the heading comes out correct but the English is wrong–it is missing the gray background and the green borders and the picture is cut off at the top.

So my question is how can I fix this, in ther words: where is the problem in the code?

Below is the relevant html and css codes for both the Hebrew and the English versions:
English version:

HTML


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Therapist</title>
<link rel="stylesheet" href="styles11.css" type="text/css"/>
<style type="text/css">
</head>

<body>
<div id="top"><a href="Hebrewindex2.html" shape="rect">HEBREW</a>/<a href="index.html" shape="rect">ENGLISH</a> 
</div>

<div id="header">
  <img src="scan15d5.jpg" />
  <h1>
Dr. Mira Rosenthal - Psychotherapy Center<br>
Welcome to my Website
</h1>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="mirasite3.html">Resume</a></li>
<li><a href="mirasite8.html">Contact me</a></li>
<li><a href="testimonials.html">Testimonials</a></li>
<li><a class="longer" href="mirasite18.html">Therapy Treatment Approach</a></li>
</ul>
</div>

and the CSS for English version


body    {
    margin: 0;
    padding: 0;
    background-color: #050845;
    color: white;
    font: 100&#37;, Arial, Helvetica, Verdana, sans-serif;
    
    }    

#top    {
     
                     width:100px;
     
     position: absolute;
top: 0px;     
right: 40px;
                     
    background-color: #050845;
    color: white;
    font: 100%, Arial, Helvetica, Verdana, sans-serif;   }

#top a:link    {color:#FF0000}      /* unvisited link */
#top  a:visited {color:#00FF00}  /* visited link */
#top a:hover {color:#FF00FF}  /* mouse over link */
#top a:active {color:#0000FF}  /* selected link */

    }    



#header {

    margin: 50px 0px 10px 0px;
    padding: 5px 0px 15px 0px;
    height: 80px; 
    border-style: solid;
    border-color: green;
    border-width: 10px 0px; 
    
    background-color: #839FAB;
    color: black;
    }

#header h1
    {
    text-align: center;
    color: red;
    margin-bottom: 0px;
    }

#header img
     {
     margin-top: -65px;
     float: left;
     }

#header ul
{
float:left;
width:100%;
padding:0;
margin:0;
list-style-type:none;
}


#header a
{
float:left;
width:6em;
text-decoration:none;
color:white;
background-color: #d03c3c;
padding:0.2em 0.6em;
border-right:1px solid white;
}
#header a.longer
{
float:left;
width:12em;
text-decoration:none;
color:white;
background-color: #d03c3c;
padding:0.2em 0.6em;
border-right:1px solid white;
}

#header a:hover
{background-color:#ff3300}

#header li
{display:inline}

___________________________________________________________–

Here is the HTML for the Hebrew version (the version that works correctly)


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html dir="rtl" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Therapist</title>
<link rel="stylesheet" href="styles12.css" type="text/css"/>
</head>

<div id="top2" dir="ltr">
<a href="Hebrewindex2.html">HEBREW</a>/<a href="index.html">ENGLISH</a>

</div>
<div id="header">
  <img src="scan15d5.jpg" />
  <h1>
&#1491;"&#1512; &#1502;&#1497;&#1512;&#1492; &#1512;&#1493;&#1494;&#1504;&#1496;&#1500; - &#1496;&#1497;&#1508;&#1493;&#1500; &#1508;&#1505;&#1497;&#1499;&#1493;&#1500;&#1493;&#1490;&#1497;:
&#1508;&#1505;&#1497;&#1499;&#1493;&#1496;&#1512;&#1508;&#1497;&#1492;, &#1508;&#1505;&#1497;&#1499;&#1493;&#1488;&#1504;&#1500;&#1497;&#1494;&#1492;, &#1492;&#1497;&#1508;&#1504;&#1493;&#1494;&#1492; &#1493;&#1504;&#1514;&#1493;&#1495; &#1495;&#1500;&#1493;&#1502;&#1493;&#1514;</h1>
<ul>
<li><a href="Hebrewindex2.html"">&#1491;&#1507; &#1492;&#1489;&#1497;&#1514;</a></li>
<li><a href="hebrew3.html">&#1511;&#1493;&#1512;&#1493;&#1514; &#1495;&#1497;&#1497;&#1501;</a></li>
<li><a href="mirasite8.html">&#1510;&#1512;&#1493; &#1511;&#1513;&#1512;</a></li>
<li><a class="longer" href="hebrewtestimonials.html">&#1502;&#1499;&#1514;&#1489;&#1497; &#1492;&#1493;&#1511;&#1512;&#1492; &#1502;&#1502;&#1496;&#1493;&#1508;&#1500;&#1497;&#1501;</a></li>
<li><a href="hebrew18.html">&#1492;&#1490;&#1497;&#1513;&#1492; &#1492;&#1496;&#1508;&#1493;&#1500;&#1497;&#1514;</a></li>
</ul>
</div>

and the relevant CSS for Hebrew version


body    {
    margin: 0;
    padding: 0;
    background-color: #050845;
    color: white;
    font: 100%, Arial, Helvetica, Verdana, sans-serif;
    
    }    

#top2    {
     
                     width:100px;
     
     position: absolute;
top: 0px;     
left: 0px;
                     
    background-color: #050845;
    color: white;
    font: 100%, Arial, Helvetica, Verdana, sans-serif;
    }    

#top2 a:link    {color:#FF0000}      /* unvisited link */
#top2  a:visited {color:#00FF00}  /* visited link */
#top2 a:hover {color:#FF00FF}  /* mouse over link */
#top2 a:active {color:#0000FF}  /* selected link */


#header {

    margin: 50px 0px 10px 0px;
    padding: 5px 0px 15px 0px;
    height: 80px; 
    border-style: solid;
    border-color: green;
    border-width: 10px 0px; 
    
    background-color: #839FAB;
    color: black;
    }

#header h1
    {
    text-align: center;
    color: red;
    margin-bottom: 0px;
    }

#header img
     {
     margin-top: -65px;
     float:right;
     }

#header ul
{
 float:right;
width:100%;
padding:0;
margin:0;
list-style-type:none;
}


#header a
{
 float:right;
width:6em;
text-decoration:none;
color:white;
background-color: #d03c3c;
padding:0.2em 0.6em;
border-right:1px solid white;
}
#header a.longer
{
 float:right;
width:12em;
text-decoration:none;
color:white;
background-color: #d03c3c;
padding:0.2em 0.6em;
border-right:1px solid white;
}

#header a:hover
{background-color:#ff3300}

#header li
{display:inline}


I havn’t been able to figure it out

Any help is most welcomed

Thanks
Alon

Hi,

You have an extra closing bracket here:


#top a:active {
    color:#0000FF
}  /* selected link */
[B]} <<<<<<<<<<<<<<<< extra bracket to be removed[/B]
#header {
    margin: 50px 0px 10px 0px;
    padding: 5px 0px 15px 0px;
    height: 80px;
    border-style: solid;
    border-color: green;
    border-width: 10px 0px;
    background-color: #839FAB;
    color: black;
}

Try that and see if the problem is cured.

Thanks so very much, it’s cured

I love sitepoint