Home › Forums › CSS › Your help, opinions and overall constructive criticism please… :) › Re: Your help, opinions and overall constructive criticism please… :)
April 28, 2012 at 9:20 am
#101930
Fourize
Member
Hi Kayleigh,
I”ll get the first question out of the way for you, to position it in the center absolutely position it, then apply left and right widths/height and adjust it with the negative margin positioning… may sound daunting but quite simple, here’s the code for you
.button {
width: 140px;
height: 70px;
display: block;
position: absolute;
left: 50%;
top: 50%;
margin-left: -70px;
margin-top: -35px;
}
the background is quite large, I’m sure you could get it a little smaller than 2.4mb.
I’ll try and help more later if others don’t lend a hand!
Best of luck