gosu^ Posted December 5, 2005 Share Posted December 5, 2005 hey i got an image which i want to be the head but i want it just to kind of float in the middle of the page at the top. im struggling not to use tables to do this (nub) and was wandering if someone could help with some css way of doing it? much appreciated Link to comment Share on other sites More sharing options...
aspnetguy Posted December 5, 2005 Share Posted December 5, 2005 Well if it is a header and just 'floats' on top of the page in the center then use this. <div style="width:100%;text-align:center"><img src="yourimage" alt="" /></div> make sure this code is not placed in another tags/containers or it will not center properly. Link to comment Share on other sites More sharing options...
gosu^ Posted December 7, 2005 Author Share Posted December 7, 2005 ta dude thats cool Link to comment Share on other sites More sharing options...
tuffrabit Posted December 7, 2005 Share Posted December 7, 2005 he said ta.that means he is either from Australia or UK. I love it. I wanna go back to the AU.good on ya Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now