white-night
09-15-2011, 04:37 PM
Hi,
I'm actually abit new in html and made a few landing pages for my business and now i'm working on building a website.
After creating the menu pictures and setting them up in the html and of course in the css, I got a strange problem that I wasn't able to solve .
The menu pictures have some unexplained gaps between them (at least I can't figure it out) and I can't get the pictures to get together.
The header picture is width 500 px, the total width of all the menu pictures combined is 500 px, I just want them to be exactly next to each other.
the code that I have for the menu css is :
#mainMenu div {
height: 35px;
margin: 0;
padding: 0;
}
#mainMenu img {
margin: 0;
border: none;
padding: 0;
and the code for the HTML part :
<tr><td id="mainMenu">
<div>
<img src="images/current_maestro.png" width="90" height="35" alt="مركز مايسترو"/>
<a href="personal.html"><img src="images/menu_personal.png" width="86" height="35" alt="تدريب شخصي"/></a>
<a href="learning.html"><img src="images/menu_learning.png" width="81" height="35" alt="تأهيل مدربين"/></a>
<a href="workshops.html"><img src="images/menu_workshops.png" width="80" height="35" alt="ورشات تدريبية"/></a>
<a href="students.html"><img src="images/menu_students.png" width="82" height="35" alt="تدريب للطلاب"/></a>
<a href="business.html"><img src="images/menu_business.png" width="81" height="35" alt="تدريب للأعمال"/></a>
</div>
</td>
</tr>
it's almost all the file but thats what i'm having problem with - the rest is pretty similar to regular single pages.
there are a couple of things that I should notice:
1. The language of the website is Arabic, so the difference from regular "English" websites is the Direction = Right .
2. Link to site (Html code) :
http://www.elham4u.com/tryout/home.html
3. Link to the css code :
http://www.elham4u.com/tryout/css/main.css
4. I believe I fulfilled all the forum posting requirements so hope to get a solution to my problem :)
Thanks in advance
I'm actually abit new in html and made a few landing pages for my business and now i'm working on building a website.
After creating the menu pictures and setting them up in the html and of course in the css, I got a strange problem that I wasn't able to solve .
The menu pictures have some unexplained gaps between them (at least I can't figure it out) and I can't get the pictures to get together.
The header picture is width 500 px, the total width of all the menu pictures combined is 500 px, I just want them to be exactly next to each other.
the code that I have for the menu css is :
#mainMenu div {
height: 35px;
margin: 0;
padding: 0;
}
#mainMenu img {
margin: 0;
border: none;
padding: 0;
and the code for the HTML part :
<tr><td id="mainMenu">
<div>
<img src="images/current_maestro.png" width="90" height="35" alt="مركز مايسترو"/>
<a href="personal.html"><img src="images/menu_personal.png" width="86" height="35" alt="تدريب شخصي"/></a>
<a href="learning.html"><img src="images/menu_learning.png" width="81" height="35" alt="تأهيل مدربين"/></a>
<a href="workshops.html"><img src="images/menu_workshops.png" width="80" height="35" alt="ورشات تدريبية"/></a>
<a href="students.html"><img src="images/menu_students.png" width="82" height="35" alt="تدريب للطلاب"/></a>
<a href="business.html"><img src="images/menu_business.png" width="81" height="35" alt="تدريب للأعمال"/></a>
</div>
</td>
</tr>
it's almost all the file but thats what i'm having problem with - the rest is pretty similar to regular single pages.
there are a couple of things that I should notice:
1. The language of the website is Arabic, so the difference from regular "English" websites is the Direction = Right .
2. Link to site (Html code) :
http://www.elham4u.com/tryout/home.html
3. Link to the css code :
http://www.elham4u.com/tryout/css/main.css
4. I believe I fulfilled all the forum posting requirements so hope to get a solution to my problem :)
Thanks in advance