help w/ css
- Started
- Last post
- 5 Responses
- betanerd
I am trying to horizontally and vertically center the image so that ppl can click on the image and get to the 2nd page. I have google'd and I can't get it to work.
Need professional advice.
- betanerd0
forgot to mention...
preferably for the centering to be working on all browsers and window sizes.
Thank you for all the help in advance...!
- chompchomp0
hey,
you don't really need to do this in css. if you like go to www.katharineerwin.com and view the source.hope that helps,
greg
- ********0
Source:
http://www.newsyesterday.com/Actual Source:
http://www.cssplay.co.ukThis has a lot of demos and techniques as well, I got the above from there for a quick fix.
To explain it, would probably be hard so good luck, haha.
- welded0
vertical-align isn't terribly reliable. One technique you could try is to absolutely position the image 50% from the top and left side, then give it a negative margin equal to half the image's dimensions.
- tomkat0
what welded said:
http://www.f11view.net/divCenter…