bazz
09-24-2005, 01:41 PM
Uh, I am missing something really simple here but can't figure what.
In my dl, dt and dd, definition list, I have the dt as hyperlinks. I can't seem to get the DD beneath to align left for the first entry. is OK in ie but not in FF. :mad:
Please help or the 'puter gets it :)
dl#meal_menu {
margin : 0 190px 0 190px;
font-size : smaller;
color : #1E4B52;
background-color : transparent;
padding : 0;
border-top : 0;
}
dl#meal_menu dt a:link, dl#meal_menu dt a:visited, dl#meal_menu dt a:active, dl#meal_menu dt a:hover {
margin : auto auto;
padding : 0 45px;
font-weight : bold;
font-family : "Georgia", arial, verdana, sans serif;
font-size: 1.2em;
text-decoration : none;
color: #1E4B52;
}
dl#meal_menu dt.price {
float : right;
text-align : right;
width : 28%;
background-color : transparent;
padding :0;
margin :0;
}
dl#meal_menu dt.title {
padding : 0;
float : left;
text-align : left;
width : 70%;
background-color : transparent;
}
dl#meal_menu dd {
margin : 50px 0 25px 0;
text-align : left;
padding :10px;
background-color : transparent;
}
html (in case you want it
<dl id="meal_menu">
<dt class="title"><a href="#">starter1
</a></dt><dt class="price">£0-00GBP
</dt>
<dd>body information
</dd>
<dt class="title"><a href="#">starter2
</a></dt><dt class="price">£0-00GBP
</dt>
<dd>body information
</dd>
<dt class="title"><a href="#">main 1
</a></dt><dt class="price">£0-00GBP
</dt>
<dd>body information
</dd>
<dt class="title"><a href="#">main2
</a></dt><dt class="price">£0-00GBP
</dt>
<dd>body information
</dd>
</dl>
any wisdom welcome.
Bazz
In my dl, dt and dd, definition list, I have the dt as hyperlinks. I can't seem to get the DD beneath to align left for the first entry. is OK in ie but not in FF. :mad:
Please help or the 'puter gets it :)
dl#meal_menu {
margin : 0 190px 0 190px;
font-size : smaller;
color : #1E4B52;
background-color : transparent;
padding : 0;
border-top : 0;
}
dl#meal_menu dt a:link, dl#meal_menu dt a:visited, dl#meal_menu dt a:active, dl#meal_menu dt a:hover {
margin : auto auto;
padding : 0 45px;
font-weight : bold;
font-family : "Georgia", arial, verdana, sans serif;
font-size: 1.2em;
text-decoration : none;
color: #1E4B52;
}
dl#meal_menu dt.price {
float : right;
text-align : right;
width : 28%;
background-color : transparent;
padding :0;
margin :0;
}
dl#meal_menu dt.title {
padding : 0;
float : left;
text-align : left;
width : 70%;
background-color : transparent;
}
dl#meal_menu dd {
margin : 50px 0 25px 0;
text-align : left;
padding :10px;
background-color : transparent;
}
html (in case you want it
<dl id="meal_menu">
<dt class="title"><a href="#">starter1
</a></dt><dt class="price">£0-00GBP
</dt>
<dd>body information
</dd>
<dt class="title"><a href="#">starter2
</a></dt><dt class="price">£0-00GBP
</dt>
<dd>body information
</dd>
<dt class="title"><a href="#">main 1
</a></dt><dt class="price">£0-00GBP
</dt>
<dd>body information
</dd>
<dt class="title"><a href="#">main2
</a></dt><dt class="price">£0-00GBP
</dt>
<dd>body information
</dd>
</dl>
any wisdom welcome.
Bazz