So I've just started playing around with CSS, and I'm having a bit of trouble positioning elements correctly. For instance, it seems that if I use 'center center' the element should end up centered in the page, correct? or if I want an image to appear in the bottom left corner of the page, I could do something like:
This seems like it should work, but instead the element ends up 15 pixels off from the left side of the window and somewhere in the middle vertically... no where near 15 pixels from the bottom of the window. What am I missing regarding the positioning tag in CSS?
| Quote: |
|
img { position:absolute; left:15px; bottom:15px } |
This seems like it should work, but instead the element ends up 15 pixels off from the left side of the window and somewhere in the middle vertically... no where near 15 pixels from the bottom of the window. What am I missing regarding the positioning tag in CSS?
