2009-01-26, 05:06 PM
I want to add a margin on the left and right of the footer (the part containing the copyright and sql stats). http://www.uans.com/forum/index.php
How do I go about doing this?
How do I go about doing this?
#footer {
margin-left: 40px; // change this to be suitable..
}
Admin CP > Themes & Styles > Themes > THEME NAME > global.css, and add that below all the other CSS.(2009-01-27, 01:58 AM)TomL Wrote: [ -> ]Add this in your CSS:
Admin CP > Themes & Styles > Themes > THEME NAME > global.css, and add that below all the other CSS.#footer { margin-left: 40px; // change this to be suitable.. }
#footer {
width: 80%;
margin-right: auto;
margin-left: auto;
}
(2009-01-27, 01:57 AM)atomicj Wrote: [ -> ]Put the footer into a table and set it's width...
<table width="80%" align="center"><tr><td>
Content
</td></tr></table>
80% is just an example. That amount is what fills the page. 100% being the entire page.
(2009-01-27, 01:58 AM)TomL Wrote: [ -> ]Add this in your CSS:
Admin CP > Themes & Styles > Themes > THEME NAME > global.css, and add that below all the other CSS.#footer { margin-left: 40px; // change this to be suitable.. }
(2009-01-27, 02:04 AM)atomicj Wrote: [ -> ]Thanks...this worked too.(2009-01-27, 01:58 AM)TomL Wrote: [ -> ]Add this in your CSS:
Admin CP > Themes & Styles > Themes > THEME NAME > global.css, and add that below all the other CSS.#footer { margin-left: 40px; // change this to be suitable.. }
Alternatively...
#footer { width: 80%; margin-right: auto; margin-left: auto; }