Page 1 of 1

Center the Reflection-Style

Posted: Fri Sep 15, 2006 4:46 pm
by Maverick
hi,

i use "Reflection" as a style for my blog but i can't align the total blog to the center. i changed the width in the css-file (wrapper, banner, mainpane, content and sidebar) so that it takes only 1020px. but i don't get it aligned to the center, it still remains aligned to the left.

where exactly do i have to make this entry?

greets,
maverick

Posted: Fri Sep 15, 2006 7:36 pm
by carl_galloway
You also need to change the margin in the body style. Open style.css for Reflection and where

Code: Select all

body {
     margin: 1em 1em 1em 1em;
change to

Code: Select all

body {
     margin: 1em auto 1em auto;
BTW, a new version of Reflection with the aqua colorset and the ability to change the navbar links from inside the serendipity admin screen is avail from my site

Posted: Tue Sep 19, 2006 11:08 pm
by Maverick
hi carl,

i changed my style.css the way you said, but the blog still won't be centered.
maybe i could send you my style.css (maybe i made some changes elsewhere which overrule something) and you take a look at my site and tell me what i do wrong? :)
http://interrail.marc-mueltin.de

by the way: the smilies which are converted to images are much bigger in the internet explorer than in firefox or opera. why is that?

greets,
marc

Posted: Wed Sep 20, 2006 6:52 am
by carl_galloway
No problem, send me the zipfile of your template and I'll have a play with it. Just send it to webmaster [at] carlgalloway [dot] com

As for the smilies, this is because IE doesn't like transparent .png images so a blank gif file was added to the code in Serendipity to make it work in IE, but it doesn't seem to have worked in your case. Try searching these forums for IE and png, I remember a few of us had a really long discussion going a few months ago about this and I think we solved the problem for another user.