The Serendipity Handbook

You can now read the (german) handbook here: PDF - https://github.com/s9y/Book (LaTeX source).

Forum-Information

Before posting about errors, make sure that the answer cannot already be found in our FAQ or by searching this forum!
Posting is restricted to registered users (registering is free and simple!) due to recent spam attacks. When having trouble with this board, contact garvin(-at)s9y(-dot)org.

Board index Development Horizontal scrollbar

Discussion corner for Developers of Serendipity.
Alexander1977
Regular
 
Posts: 5
Joined: Wed Dec 21, 2005 1:40 pm

Postby Alexander1977 » Fri Dec 23, 2005 5:01 pm

Hello,

I'm getting crazy here. I don't seem te be able to remove that anoying horizontal scrollbar. I have a very simple frameset (2 frames) that doesn't show any scrollbars when referring to some files.

http://gradatie.com/homepage/blogstart/

But as soon as I refer to the index.php of the weblog file the horizontal scrollbar appears. I tried to find the banner tags in the css file (as referred to in another post) but couldn't find them. What serendipity code makes the scrollbar appear when using frames?

Thanks so much!

Alexander

User avatar
judebert
Regular
 
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL

Postby judebert » Fri Dec 23, 2005 9:09 pm

I visited your site using FireFox 1.5/Windows 2000. No horizontal scrollbars, no matter what I click.

If you provide more detailed instructions, I'll visit again.

User avatar
Way
Regular
 
Posts: 59
Joined: Mon Nov 07, 2005 1:39 am
Location: SA

Postby Way » Fri Dec 23, 2005 10:45 pm

I think you should some changes on style.css file (you find this file in template directory)
Well Serendipity Banner code is this:
Code: Select all
#serendipity_banner {
    margin: auto;
    width: 85%;
    height: 72px;
    background-image: url({TEMPLATE_PATH}img/background.png);
}

You may do the changes as you like on the ratio and height and the image

In the mainpane area you may adjust the width of the template itself by using ratio, will be better like (85%) , and to leave margin to auto

Code: Select all
#mainpane {
    border-bottom: 1px solid #000000;
    margin: auto;
    width: 85%;
    border-top: 0px;
    background-color: #FFFFFF;
    border-top: 1px solid #000000;
 
}

In the body area you may adjust some of your theme appearance like:
Like padding , margin , and so on

Code: Select all
body {
   direction: {LANG_DIRECTION};
text-align: right;
font-size: 13pt;
    margin: 0;
    background-color: #D2DFF2;
    font-family: verdana, arial, helvetica, sans-serif;
    margin-bottom: 30px;

}



Return to Development

Who is online

Users browsing this forum: No registered users and 0 guests