2 replies [Last post]
Jubalint
Offline
newbie
Last seen: 15 years 19 weeks ago
Joined: 2007-02-19
Posts: 2
Points: 0

I run a forum that uses vBulletin software, and I'm having trouble getting the header image on the forum to center. You can see the site here -> http://www.the-legion.net/index.php

The logo image at the top is what I would like to center. The person who worked on our web design has disappeared, and I'm more comfortable with PHP than CSS or XHTML. If you look in the source you'll see where I put in a bunch of <div align="center">'s and <center>'s in there. I'd love it if someone could tell me how to get that image to center, as I think it will look much better.

And any gnarled CSS you see is my fault Tongue. Thanks for the help.

Tyssen
Tyssen's picture
Offline
Moderator
Brisbane
Last seen: 7 years 38 weeks ago
Brisbane
Timezone: GMT+10
Joined: 2004-05-01
Posts: 8201
Points: 1386

Remove all that HTML you

Remove all that HTML you added in trying to get it to center and then remove the width from .graduate_logo in your CSS (you may need to add text-align: center here too).

Then you should validate your page because you have a lot of errors.

How to get help
Post a link. If you can't post a link, jsFiddle it.
My blog | My older articles | CSS Reference

Jubalint
Offline
newbie
Last seen: 15 years 19 weeks ago
Joined: 2007-02-19
Posts: 2
Points: 0

Wow! Thanks a ton for the

Wow! Thanks a ton for the quick response. Worked like a charm. And yes, I really do need to clean up the code Smile.