text-align: center for centering non-block elements within a block element, margin-left:auto, margin-right:auto (same as margin:0px auto) to center a block element within it's parent block element.
to center elements within a block element (like center tag) you would write: #name { text-align: center; } #name * { margin:0px auto; }
Yup, this does the job nicely, should have known this thanks
And lol @ vbs
Edit: I'm having another problem with the site leaving a small gap or margin at the top of bottom of my page. The gap at the top was fixed by giving the top element a "margin-top: -15px;" but the gap at the bottom is a lot harder to fix and it's a lil gimmicky atm
okay firstly, its fixed width for a widescreen resolution. Fixed width is a good idea, but you should not excede 800 pixels if you are going to do that honestly. Its not a complex site so it shouldn't really need more.
Personally, i recommend using the same theme as the main spring site and then integrating the sidebar at the top, even if its not on the same url. It would make everything seem more collected and will attract new players when they see a ladder icon "OMG MLG LOLZ"
That's the homepage look finished, but I made some newb coding mistakes when I first started it and I now know better so I've gotta recode a fair amount of it to allow dynamic content to work on it.
But yeh, should be in use soon. Thanks for the help and comments.
Users browsing this forum: No registered users and 0 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum