position of entries

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
substream
Regular
Posts: 17
Joined: Mon Aug 07, 2006 7:29 pm

position of entries

Post by substream »

Hi
Can't manage changing the position of the content in index.tpl
Ath the moment, it looks like this: http://blog2.gepflegt-rocken.de/index.php
As you can see, the static text on the left covers the content. How can I get the content to be only like 70% of width?
(Let's not talk about the design, I'm still trying...)
Thanks a lot,
Heiko
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: position of entries

Post by garvinhicking »

Hi!

Did you try to change that in the CSS of your template?

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
substream
Regular
Posts: 17
Joined: Mon Aug 07, 2006 7:29 pm

Post by substream »

This is where I tried it, but I do not know what exactly I have to change. I tried everything (padding, margin, ...) but did not succeed...
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi

Okay, maybe some of the HTML+CSS guys on the forums might be able to help here. Since it's not a problem specific to s9y, you might find a broader audience on a generall CSS forum on the web? In case nobody else can help you here...

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Post by yellowled »

substream wrote:This is where I tried it, but I do not know what exactly I have to change. I tried everything (padding, margin, ...) but did not succeed...
I admit I'm not good with position:fixed since I never use it, but setting margin-left for #mainpane should do the trick. I'd suggest to add something like #mainpane {margin-left: 180px;} since your sternneu.gif is 172 px wide and you probably don't want it to cover the entries.
sph
Regular
Posts: 62
Joined: Wed Apr 26, 2006 3:28 pm

Post by sph »

hi! why not use s9y for solving this problem? what about a html-nugget on the left side?

just add a left sidebar containing only a html-area. in this you can put your playlist or whatever you want to :)

yes okay, this will not be exactly the same - the content there is not fixed and will scroll with the rest of the page - but maybe you can give it a try ;)

if it's absolutely nescessary to keep this text fixed - try the margin - or check what you can arrange with right-align, or maybe better: floating-right :)
the island of stupid - come to where the monkey is...
Post Reply