|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Barefoot on the Moon!
Staff
Premium Member
Join Date: Aug 2002
Location: Northeastern USA
Posts: 13,385
|
Okay, I've been trying to position an image with CSS, without success.
If someone could, I would like to see a CSS code that will center an image horizontally and align to the top of the page. I'm not going to show what I have because I want see how you would do it without you being exposed to my possibly incorrect coding. I would like to see the CSS code and how to put in the H1 tags on a simple inserted image. Thank you very much. I've been banging my head against the wall for 2 days on this problem.
__________________
There are two secrets to staying young, being happy, and achieving success. You have to laugh and find humor every day, and you have to have a dream.
|
|
|
|
|
|
#2 |
|
Member (10 bit)
|
Why not put the image within a layer (<div>) and then absolutely or relatively position it. You can then float another layer over the image with a <h1> title - I think this might be what you were asking for?
|
|
|
|
|
|
#4 |
|
Barefoot on the Moon!
Staff
Premium Member
Join Date: Aug 2002
Location: Northeastern USA
Posts: 13,385
|
Thanks for the replies guys
![]() Yes, I tried both suggestions days ago, as suggested by some of the guys at sitepoint. I should have had this closed, as for the most part, I got the page working right. btw, I like the new avatar, aym_7
|
|
|
|
|
|
#5 |
|
Registered User
Join Date: Nov 2001
Posts: 1,965
|
thx
glad it worked for you.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|