PDA

View Full Version : Fixed Archive Width?


ijob
04-02-2011, 08:28 AM
How do I center the archive and give it a fixed width?

Lynne
04-02-2011, 03:28 PM
Go find where div.pagebody is defined in the archive pages and just add text-align: center to the properties. Also, add a width to the same thing and set the left/right margins to auto.

ijob
04-02-2011, 03:34 PM
What template is that in?

Lynne
04-02-2011, 03:42 PM
The archives don't use template. Just do a search in your files for that class and you should find it. (my guess would be the archive.css file)

ijob
04-02-2011, 04:05 PM
You were correct cheers :)

Here's the code

div.pagebody {
width:880px;
margin:auto;
background: white;
padding:16px;
border: 1px solid silver;
text-align: left

how does it look?

http://www.yoliverpool.com/forum/archive/index.php/f-76.html

Lynne
04-02-2011, 04:27 PM
Looks fine to me in firefox