Hi Paul,
Having implemented your instructions, the original problem I presented has been resolved but many orhers showed up instead :-(.
- Extreme right vertical line appears twice;
- ul width=29%, ul li width=24%. Ul should be 96%. How come 24% * 4 items equals 29% ?!;
3 Removing “ul {overflow: hidden;}” makes upper border appear and lower’s disappear.
Site’s address is: “tiv-oni-vegan-catering.ihosts.tk”.
Entire css code is:
html, body, div, span, h1, h2, h3, h4, h5, h6, p, blockquote,a, abbr, acronym, address, big, cite, del,
dfn, em, img, ins, kbd, small, strike, strong, sub, sup, tt, var,b, u, i, center,dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td,article, aside, canvas,
details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary,time,
mark, audio, video
{
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
Body
{
background-image:url('../images/background.jpg');
background-repeat:no-repeat;
background-position: 50% 0%
}
a
{
width:24.4%;
text-decoration:none;
color:#9fa9aa;
}
li:hover {color:#2c3e50;font-size:100%;}
ul
{
/*position:absolute;*/
border: 1px solid #9FA9AA;
border-top:none;
/*border-bottom:1px solid #9fa9aa;
border-right:1px solid #9fa9aa;
border-left:1px solid #9fa9aa;*/
list-style-type:none;
margin: 90px auto 0;
/*margin:9% 0% 0 33%;*/
padding:0;
overflow: hidden; /*contain floats*/
width:29%;
}
ul li
{
text-align:center;
width:24%;
float:right;
border-right:1px solid #9fa9aa;
color:#9fa9aa;
font-family:tahoma, arial,"sans serif";
font-size:100%;
margin-left: auto;
margin-right: auto;
}
div#about {
position: absolute;
width:180%;
height:1800%;
margin: 22% 0% 0% 37%;
margin: 22% 0% 0% -30%;
background-image:url('../images/about.gif ');
background-repeat: no-repeat;
display:none;
}
li.about:hover #about{display:block}
li.sign_up:hover form.tiv-oni-form{display:block}
form.tiv-oni-form
{
position: fixed;
top:15%;
left:20%;
background: url('../images/sign_up.gif');
background-repeat: no-repeat;
direction:rtl;
width:43.5%;
height:55%;
display:none;
}
form.tiv-oni-form fieldset
{
position: absolute;
top:43%;
right: 12%;
width: 74%;
height: 23%;
}
form.tiv-oni-form input
{
display:block;
margin-top: 3%;
margin-bottom: 3%;
}
form.tiv-oni-form label.tiv-address
{
position:absolute;
color:#e6d9ad;
top: -14%;
right: 70%;
}
#tiv_submit_bg
{
position:absolute;
right:30%;
width:34%;
height:56%;
top:93%;
background-color:#ffffff;
}
#tiv_submit
{
position:absolute;
border: 2px solid red;
border:2px groove #f1e9d4;
cursor:pointer; /*forces the cursor to change to a hand when the button is hovered*/
padding: 5px 25px;
background-color:/*#6b6dbb*/ #f8e8bd; /*required for browsers that don't support gradients*/
background: -webkit-gradient(linear, left top, left bottom, from(/*#88add7*/#f1e9d4), to(/*#6b6dbb*/#f8e8bd));
background: -webkit-linear-gradient(top, /*#88add7*/ #f1e9d4, /*#6b6dbb*/ #f8e8bd);
background: -moz-linear-gradient(top, #f1e9d4, #f8e8bd);
background: -o-linear-gradient(top, #f1e9d4, #f8e8bd);
background: linear-gradient( #bba36b,#e6d9ad, #bba36b);
font-family:Andika, Arial, sans-serif; /*Andkia is available at http://www.google.com/webfonts/specimen/Andika*/
color:#9fa9aa;
font-size:1.1em;
letter-spacing:.1em;
font-variant:small-caps;
/*give the corners a small curve*/
-webkit-border-radius: 0 15px 15px 0;
-moz-border-radius: 0 15px 15px 0;
border-radius: 0 15px 15px 0;
/*add a drop shadow to the button*/
-webkit-box-shadow: rgba(0, 0, 0, .75) 0 2px 6px;
-moz-box-shadow: rgba(0, 0, 0, .75) 0 2px 6px;
box-shadow: rgba(0, 0, 0, .75) 0 2px 6px;
}
#tiv_submit:hover, #tiv_submit:focus
{
color:#2c3c51;
/*************from example****************/
/*reduce the spread of the shadow to give a pushed effect*/
-webkit-box-shadow: rgba(0, 0, 0, .25) 0 1px 0px;
-moz-box-shadow: rgba(0, 0, 0, .25) 0 1px 0px;
box-shadow: rgba(0, 0, 0, .25) 0 1px 0px;
}
li.sign_up:hover #signup{display:block}
div#signup div#signup_name
{
position:absolute;
direction:rtl;
font-size:100%;
color:#f5efdf;
width:75.5%;
margin: 15% 0 0 0
}
div#signin{
position: absolute;
width:180%;
height:1800%;
margin: 1% 0% 0% -30%;
background-image:url('../images/sign_in.gif');
background-repeat: no-repeat;
display:none;
}
li.sign_in:hover #signin
{
display:block
}
div#col_right
{
width: 47%;
float:right
}
div#col_left
{
width: 47%;
float: right;
padding-right: 2%
}
I’m very grateful for your willingness to help me with that.