Click to See Complete Forum and Search --> : CSS!!!!! Help
liccy
06-23-2007, 07:56 PM
how is the short way for write this:
.star
{
background-image: url('1.gif');
background-repeat: no-repeat;
}
.imageTwo
{
background: url(back.gif) #fff bottom left repeat-x;
width:197px; /# width:200px;
display: block;
border-left: 2px solid #dcdce9;
border-right: 2px solid #dcdce9;
border-top: 2px solid #50c0f0;
border-bottom:2px solid #50c0f0;
color: #0d2474;
text-decoration: none;
}
.menutitle
{
cursor:pointer;
margin-bottom: 1px;
color:#10529c;
width:200px;
padding:2px;
text-align:left;
font-size:12px;
font-family:arial;
line-height:20px;
}
???? pls help!!!!:eek:
WebJoel
06-24-2007, 09:44 AM
<style>
.star
{
background: url('1.gif') no-repeat;
}
.imageTwo
{
background: #fff url(back.gif) bottom left repeat-x;
width:197px; /# width:200px;
display: block;
color:#0d2474
border: 2px solid #dcdce9;
border-top: 2px solid #50c0f0;
border-bottom:2px solid #50c0f0;
text-decoration: none;
}
.menutitle
{
cursorointer;
margin-bottom: 1px;
width:200px;
padding:2px;
text-align:left;
font:12px #10529c arial;
line-height:20px;
}
</style> Is a start, -but I have no idea what cursorointer; is supposed to be. Possibly you mean to write cursor: pointer; cursor:hand;. Use of these two addresses a proprietary problem for IE5x, -that version uses "hand" instead of the compliant("correct") "pointer". Be sure that "pointer" come before "hand" or IE5x gets mad..
ray326
06-25-2007, 12:09 AM
Is a start, -but I have no idea what cursorointer; is supposed to be. It's a result of the "auto smilies" "feature" of this forum software.
docpepper
06-25-2007, 10:58 AM
cursorointer; should be cursor: pointer; rofl...
dont put : and p together ftw!
WebJoel
06-25-2007, 01:07 PM
-Makes sence once I LOOKED at the post 'in the forum view'. I copied & pasted to my editor and saw "cursorointer" (my editor apparently having stripped out that whic it didn't understand..) :D
• MaNiC MoE •
07-10-2007, 01:08 AM
<style type="text/css">
.imageTwo
{border:2px solid #50c0f0 ;}
/* Better than writing the same thing for each side individually */
</style>
WebJoel
07-10-2007, 11:51 AM
.star
{
background-image: url('1.gif');
background-repeat: no-repeat;
}
Could be written as:
.star {background:url(1.gif) no-repeat;}
and be saying the same thing.
Also, an image-name should not begin with a numeral, but a alphabeic character.
ray326
07-10-2007, 01:25 PM
Also, an image-name should not begin with a numeral, but a alphabeic character.You're getting really picky in your old age. ;)