[SOLVED] Problem with {content} and CSS

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
Bear-san
New Member
New Member
Posts: 5
Joined: Thu Feb 18, 2010 1:33 pm

[SOLVED] Problem with {content} and CSS

Post by Bear-san »

Greetings everyone!


This is my first time using cmsmadesimple, and so far I like it a lot. But, I've got a problem with getting my content to show up the way I want it to and I can't figure out what my problem is. I've ported my old static design into the template manager plus I have added the stylesheets along with it.

I can't figure out how to get the {content} to be loaded in the table.

The code looks like this:
       
       {content}
             
           


And the CSS looks like this:

Code: Select all

#content{ 
position: absolute;
top: 135px;
left:160px;
height:404px; 
width: 605px;
background-color:#FFFFFF; 
background-image:url('../billeder/baggrund.jpg');
background-repeat: no-repeat;
background-position:  right 50%;
The problem is that my content windows doesn't have a height, so the page is just continuing down. But I want the height to be a certain height.


Regards
Last edited by Bear-san on Sun Feb 21, 2010 4:51 pm, edited 1 time in total.
ironblaze94

Re: Problem with {content} and CSS

Post by ironblaze94 »

Have you forgotten to add "overflow: auto" to the style?
Bear-san
New Member
New Member
Posts: 5
Joined: Thu Feb 18, 2010 1:33 pm

Re: Problem with {content} and CSS

Post by Bear-san »

ironblaze94 wrote: Have you forgotten to add "overflow: auto" to the style?
Ha ha, thank you very much! It worked!  ;D
Post Reply

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