• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

CSS question: How do I center something but have it go left some pixels

SoundTheSurrender

Diamond Member
I have something centered, but I would like to shift it over but still act like it's centering, just that it's centering like 35 pixels to the right.

Thanks
 
<div id="wrapper"><div id="container"><p>foo bar.</p></div></div>

#wrapper { margin:0 auto; width:200px; }
#container { margin:0 0 0 35px; }

?
 
Back
Top