by Pinkerton » Sat Jan 03, 2009 4:48 pm
Hi,
I'm fairly inexperienced wi(d)th css, and am struggling to make my OJS fixed width. I've been able to locate the following css items I thought looked sensible:
#container {
width: 1200px;
text-align: center;
}
#body {
background-color: white;
font-family: "Gentium Book Basic", Gentium, "Times New Roman",serif;
}
#main {
/* width: 800px; */
padding: 0.5em 0em 2em 0em;
}
and I've tried various options, directly specifying their width. Surprisingly to me, specifying a width for the #container had no effect whatsoever. Because that's what I thought would do what I wanted, specify fixed width for the whole thing, the left sidebar, the contents and the right one. I was able to fix the width by specifying the width of #main, but that doesn't do what I want, since I always want the title image to be situated on top of the main element, that I would like to always be the 823px width of that image.
But as I said, a good start would be just to fix the width of the whole thing, then perhaps adjusting the elements it consists of. How can I do this?