Page 1 of 1

[SOLVED] Problem with {content} and CSS

Posted: Thu Feb 18, 2010 1:50 pm
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

Re: Problem with {content} and CSS

Posted: Sat Feb 20, 2010 11:13 pm
by ironblaze94
Have you forgotten to add "overflow: auto" to the style?

Re: Problem with {content} and CSS

Posted: Sun Feb 21, 2010 4:50 pm
by Bear-san
ironblaze94 wrote: Have you forgotten to add "overflow: auto" to the style?
Ha ha, thank you very much! It worked!  ;D