Center the Reflection-Style

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
Maverick
Posts: 4
Joined: Sat Jul 29, 2006 12:35 am

Center the Reflection-Style

Post 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
carl_galloway
Regular
Posts: 1331
Joined: Sun Dec 04, 2005 5:43 pm
Location: Andalucia, Spain
Contact:

Post 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
Maverick
Posts: 4
Joined: Sat Jul 29, 2006 12:35 am

Post 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
carl_galloway
Regular
Posts: 1331
Joined: Sun Dec 04, 2005 5:43 pm
Location: Andalucia, Spain
Contact:

Post 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.
Post Reply