Templates problem

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
Djunity
Forum Members
Forum Members
Posts: 44
Joined: Fri Apr 18, 2008 6:33 pm

Templates problem

Post by Djunity »

Hi

I got an question i have added this section of code to a template

Code: Select all

{* Start right sitebar *}
<div id="sidebarr">

{* Start Search *}
<div id="search">
{search}
</div>
{* End Search *}

<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />

{* Start Frontend Login *}
{FrontEndUsers}
{* End Frontend Login *}

</div>

{* End right sitebar *}
to have both to the left and to the right a sitebar with in the center the content

with ie7 and firefox it look great but with older versions of ie the right bar is not on the right site but more to the center where the content is.

Does anyone have an idea on how to fixs this small ie bug ??

Best Regards Djunity
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Templates problem

Post by Nullig »

Is this a typo:



Or is it really called sidebarr? If so, does your stylesheet use the same name for the div?

Can you post a link to the site, so we can see what's happening?

Nullig
Djunity
Forum Members
Forum Members
Posts: 44
Joined: Fri Apr 18, 2008 6:33 pm

Re: Templates problem

Post by Djunity »

Nullig wrote: Is this a typo:



Or is it really called sidebarr? If so, does your stylesheet use the same name for the div?

Can you post a link to the site, so we can see what's happening?

Nullig
Hi there

sidebarr is not a typo sidebarr second r stands for right
in the stylesheet there is a div called sidebarr

test.123hostingservice.nl thats the domain where where testing the site at the moment

Regards Djunity
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Templates problem

Post by Nullig »

Have you tried putting a height: 1% in the main div?

Also, for your login form:

#sidebar form {
  padding-left: 20px;
}

would help.

In your template, is the main div called before the sidebarr div?

As you are using a fixed width background image, I don't think you want to use the fluid widths for your divs - fixed widths would work better.

Nullig
Last edited by Nullig on Fri Apr 18, 2008 8:23 pm, edited 1 time in total.
Djunity
Forum Members
Forum Members
Posts: 44
Joined: Fri Apr 18, 2008 6:33 pm

Re: Templates problem

Post by Djunity »

Nullig wrote: Have you tried putting a height: 1% in the main div?

Also, for your login form:

#sidebar form {
  padding-left: 20px;
}

would help.
Thanks gona try that
In your template, is the main div called before the sidebarr div?
It starts with    {* Start Content (Navigation and Content columns) *}
                     
Then the right site bar then the left bar and then the center content
As you are using a fixed width background image, I don't think you want to use the fluid widths for your divs - fixed widths would work better.
Ok but not sure how to do im quit new with cms


Regards Djunity
Post Reply

Return to “Layout and Design (CSS & HTML)”