M
Merlin
Hi there,
I am trying to craft a main menu where the background is yellow and there are
white 1px divisions between the menu items. Thats it. Doesn't sound to hard,
does it? Well I cant get it working :-(
Basicly I tried css with a table. The idea was to set the right and left border
to 1px white and to add a margin to each element so the text inside the menu box
has space to breath.
Here is my try:
<style type="text/css">
..two
{
BACKGROUND-COLOR: #F9F729;
COLOR: #1144AA;
border-style: solid;
border-width: 1px;
border-bottom-width: 0px;
border-top-width: 0px;
border-color: #FFFFFF;
MARGIN: 5px 2px 5px 2 px;
}
</style>
<table >
<tr >
<td class="two" >menu 1</td>
<td class="two" >menu 2</td>
<td class="two" >menu 3</td>
</tr>
</table>
Can anybody please give me an advice or a hint on how to do that?
Thank you in advance,
Merlin
I am trying to craft a main menu where the background is yellow and there are
white 1px divisions between the menu items. Thats it. Doesn't sound to hard,
does it? Well I cant get it working :-(
Basicly I tried css with a table. The idea was to set the right and left border
to 1px white and to add a margin to each element so the text inside the menu box
has space to breath.
Here is my try:
<style type="text/css">
..two
{
BACKGROUND-COLOR: #F9F729;
COLOR: #1144AA;
border-style: solid;
border-width: 1px;
border-bottom-width: 0px;
border-top-width: 0px;
border-color: #FFFFFF;
MARGIN: 5px 2px 5px 2 px;
}
</style>
<table >
<tr >
<td class="two" >menu 1</td>
<td class="two" >menu 2</td>
<td class="two" >menu 3</td>
</tr>
</table>
Can anybody please give me an advice or a hint on how to do that?
Thank you in advance,
Merlin