0

i have given height:35px in css,it works fine in linux text editor but shows error in netbeans.

#hori li
{
padding:0;
text-align:center;
width:7em; 
float:left;
list-style:none
height:35px;
margin-left:15px;
background:#38ACEC;
-moz-border-radius: 70px;
border-radius: 70px;
}
0

1 Answer 1

1

Close your list-style:none . Write like this list-style:none;.

#hori li
{
padding:0;
text-align:center;
width:7em; 
float:left;
list-style:none;
height:35px;
margin-left:15px;
background:#38ACEC;
-moz-border-radius: 70px;
border-radius: 70px;
}
Sign up to request clarification or add additional context in comments.

2 Comments

silly mistake....thanks dude it is working now....i have another issue in linking my css fie in jsp page using netbeans..i have given the link code as <link rel="stylesheet" href="cdcss.css" type="text/css"/>
@ksa - Sorry but comments are not the place to ask questions.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.