You do that like so:

.xxx {
margin: 0px auto;
}

 <div class='xxx'>lol</div>


HTH

jg

On Mar 30, 5:54 pm, eLusive <[email protected]> wrote:
> I know this is of the most BASIC things to do, however I can't seem to
> do it :S
>
> I have in...
>
> <div align='center'>lol</div>
>
> And yet it won't center, and this is what i've been told to do by many
> people.
> I have been using <center> for all my centering needs, however I dont
> want to use such redundant code any more.
>
> Any reply would be greatly valued <3
--~--~---------~--~----~------------~-------~--~----~
--
You received this because you are subscribed to the "Design the Web with CSS" 
at Google groups.
To post: [email protected]
To unsubscribe: [email protected]
-~----------~----~----~----~------~----~------~--~---

Reply via email to