|
| 21 Dec 2011 08:37 AM |
I'm having a bit of trouble aligning text tags.
Okay, so I have two images and one header tag. One image is at the top, and another is covering the entire right. I want the < h5 > tag to align directly below the top image. But, even when I use absolute position, it just stays in the bottom-right corner. Here's my CSS:
body { background-image: url('spotblock-background.jpg'); } #content-div { font-weight:bold; font-family:Arial; } #topImageDiv { text-align:center; } #rightImageDiv { text-align:right; } #centerContentDiv { text-align:center; color:black; } #loginHeader { position: absolute; top: 100; left: 300; } |
|
|
| Report Abuse |
|
|
| 21 Dec 2011 08:42 AM |
*it just stays in the bottom-right corner.
*it just stays in the bottom-LEFT corner. |
|
|
| Report Abuse |
|
|
| 21 Dec 2011 08:52 AM |
| Ah, nevermind. I forgot the measurement was in pixels, whereas you have to put 'px' to define the unit. |
|
|
| Report Abuse |
|