[SOLVED] Positioning of news items
Posted: Mon Feb 25, 2008 10:37 pm
Hi, I am new to cmsmadesimple, so please be patient. Ok, the problem i am having is with the positioning of my news items. My site can be viewed here: http://www.stuartbogle.com/cmsmadesimple/index.php
As you can see the news at the bottom is positioned over my main text. All i want to do is send the news items to the right hand side
Below is the code i have used for my template:
{sitename} - {title}
{stylesheet}
{metadata}
{menu}
{content}
created by: stuartbogle.com
{cms_module module="news"}
And the following is the css:
a:link {
color:#8297A7;
text-decoration:underline;
}
a:visited {
color:#A082A7;
}
a:hover {
text-decoration:none;
}
body {
font:x-small/1.4 Tahoma, Verdana, Helvetica, Arial, sans-serif;
background:#FFF url(images/bg.gif) repeat top left;
color:#555040;
margin:0;
padding:0;
text-align: center;
}
#container {
margin:0 0 0 45px;
background:#FFF;
width: 780px !important;
width /**/:790px; /* IE5/Win */
padding:0 0px;
position:relative;
font-size:110%;
text-align: left;
}
#pageHeader {
width:780px;
height:42px;
background:#FFF url(images/header.gif) no-repeat top left;
}
#menuBack {
height:300px;
width:780px;
background-color:#FFF;
position:relative;
}
#menuBack p {
margin:0;
padding:0;
}
#menuBack .p1 {
position:absolute;
top:0;
left:0;
width:260px;
height:300px;
background:#FFF;
}
#menuBack .p1 span { display:none; }
#menuBack .p2 {
position:absolute;
top:0;
left:260px;
width:520px;
height:300px;
background:#FFF url(images/main_pict.jpg) no-repeat top left;
overflow:hidden;
}
#menuBack .p2 span {
visibility:hidden;
white-space:nowrap;
}
#pageHeader h1, #pageHeader h2 {
display:none;
}
#colorButtons {
height:92px;
width:780px;
background-color:#FFF;
position:relative;
}
#colorButtons p {
margin:0;
padding:0;
}
#colorButtons .p1 {
position:absolute;
top:0;
left:0;
width:260px;
height:92px;
background:#FFF url(images/button_orange.gif) no-repeat top left;
}
#colorButtons .p1 span { display:none; }
#colorButtons .p2 {
position:absolute;
top:0;
left:260px;
width:260px;
height:92px;
background:#FFF url(images/button_green.gif) no-repeat top left;
overflow:hidden;
}
#colorButtons .p2 span {
visibility:hidden;
white-space:nowrap;
}
#colorButtons .p3 {
position:absolute;
top:0;
left:520px;
width:260px;
height:92px;
background:#FFF url(images/button_blue.gif) no-repeat top left;
overflow:hidden;
}
#supportingText {
margin-right:260px;
padding:5px;
}
#linkList {
position:absolute;
top:434px;
left:520px;
width:260px;
}
#footer {
margin:0 -265px -5px -5px;
border-top:5px solid #FFF;
background-color:#555040;
padding:10px;
text-transform:uppercase;
}
#footer a {
color:#FFF;
text-decoration:underline;
}
#footer a:hover {
color:#D2DBE2;
text-decoration:none;
}
#explanation h3, #participation h3, #benefits h3, #requirements h3 {
margin:10px 0 5px;
padding:0;
width:238px;
height:24px;
}
#explanation h3 { background:transparent url(images/title_so_what.gif) no-repeat top left; }
#participation h3 { background:transparent url(images/title_participation.gif) no-repeat top left; }
#benefits h3 { background:transparent url(images/title_benefits.gif) no-repeat top left; }
#requirements h3 { background:transparent url(images/title_requirements.gif) no-repeat top left; }
#preamble h3 span,
#explanation h3 span,
#participation h3 span,
#benefits h3 span,
#requirements h3 span {
display:none;
}
#lselect li a, #lfavorites li a {display: block; margin-left:-10px; font-weight:bold;}
#linkList li a.c, #lfavorites li a.c {float:none; display:inline; margin-left:0; font-weight:normal; font-size:100%;}
#supportingText p {
margin:0 10px 10px;
padding:0;
}
#linkList ul {
width:210px;
margin:0 0 10px 15px;
padding:0;
}
#linkList li {
padding: 0 0 0 20px;
margin:0 0 5px;
list-style-type:none;
white-space:nowrap;
background: transparent url(images/bullet_normal.gif) no-repeat 0 1px;
}
#lselect ul, #lfavorites ul {
width:210px;
margin:0 0 10px 15px;
padding:0;
}
#lselect li, #lfavorites li {
padding: 0 0 0 25px;
margin:0 0 5px;
list-style-type:none;
clear:left;
white-space:nowrap;
background: transparent url(images/bullet_styles.gif) no-repeat 0 3px;
}
#linkList h3 {
margin:0 0 10px;
background:#6E6855 url(images/link_list_h3.gif) repeat-y top left;
padding:5px 5px 5px 15px;
font-weight:bold;
color:#E9E6D9;
font-size:100%;
}
acronym {
border-bottom:1px dotted #555040;
cursor:help;
}
a acronym {
border-bottom:1px dotted #8297A7;
}
#lfavorites, #larchives, #lresources {
border-top:5px solid #FFF;
}
Offline the news sits perfect, but as soon as i bring it into cmsms it ends up sitting in the middle of the screen. Can someone please tell me what i need to change to modify the news items?
Any help with this matter would be much appreciated.
thanks
stu
As you can see the news at the bottom is positioned over my main text. All i want to do is send the news items to the right hand side
Below is the code i have used for my template:
{sitename} - {title}
{stylesheet}
{metadata}
{menu}
{content}
created by: stuartbogle.com
{cms_module module="news"}
And the following is the css:
a:link {
color:#8297A7;
text-decoration:underline;
}
a:visited {
color:#A082A7;
}
a:hover {
text-decoration:none;
}
body {
font:x-small/1.4 Tahoma, Verdana, Helvetica, Arial, sans-serif;
background:#FFF url(images/bg.gif) repeat top left;
color:#555040;
margin:0;
padding:0;
text-align: center;
}
#container {
margin:0 0 0 45px;
background:#FFF;
width: 780px !important;
width /**/:790px; /* IE5/Win */
padding:0 0px;
position:relative;
font-size:110%;
text-align: left;
}
#pageHeader {
width:780px;
height:42px;
background:#FFF url(images/header.gif) no-repeat top left;
}
#menuBack {
height:300px;
width:780px;
background-color:#FFF;
position:relative;
}
#menuBack p {
margin:0;
padding:0;
}
#menuBack .p1 {
position:absolute;
top:0;
left:0;
width:260px;
height:300px;
background:#FFF;
}
#menuBack .p1 span { display:none; }
#menuBack .p2 {
position:absolute;
top:0;
left:260px;
width:520px;
height:300px;
background:#FFF url(images/main_pict.jpg) no-repeat top left;
overflow:hidden;
}
#menuBack .p2 span {
visibility:hidden;
white-space:nowrap;
}
#pageHeader h1, #pageHeader h2 {
display:none;
}
#colorButtons {
height:92px;
width:780px;
background-color:#FFF;
position:relative;
}
#colorButtons p {
margin:0;
padding:0;
}
#colorButtons .p1 {
position:absolute;
top:0;
left:0;
width:260px;
height:92px;
background:#FFF url(images/button_orange.gif) no-repeat top left;
}
#colorButtons .p1 span { display:none; }
#colorButtons .p2 {
position:absolute;
top:0;
left:260px;
width:260px;
height:92px;
background:#FFF url(images/button_green.gif) no-repeat top left;
overflow:hidden;
}
#colorButtons .p2 span {
visibility:hidden;
white-space:nowrap;
}
#colorButtons .p3 {
position:absolute;
top:0;
left:520px;
width:260px;
height:92px;
background:#FFF url(images/button_blue.gif) no-repeat top left;
overflow:hidden;
}
#supportingText {
margin-right:260px;
padding:5px;
}
#linkList {
position:absolute;
top:434px;
left:520px;
width:260px;
}
#footer {
margin:0 -265px -5px -5px;
border-top:5px solid #FFF;
background-color:#555040;
padding:10px;
text-transform:uppercase;
}
#footer a {
color:#FFF;
text-decoration:underline;
}
#footer a:hover {
color:#D2DBE2;
text-decoration:none;
}
#explanation h3, #participation h3, #benefits h3, #requirements h3 {
margin:10px 0 5px;
padding:0;
width:238px;
height:24px;
}
#explanation h3 { background:transparent url(images/title_so_what.gif) no-repeat top left; }
#participation h3 { background:transparent url(images/title_participation.gif) no-repeat top left; }
#benefits h3 { background:transparent url(images/title_benefits.gif) no-repeat top left; }
#requirements h3 { background:transparent url(images/title_requirements.gif) no-repeat top left; }
#preamble h3 span,
#explanation h3 span,
#participation h3 span,
#benefits h3 span,
#requirements h3 span {
display:none;
}
#lselect li a, #lfavorites li a {display: block; margin-left:-10px; font-weight:bold;}
#linkList li a.c, #lfavorites li a.c {float:none; display:inline; margin-left:0; font-weight:normal; font-size:100%;}
#supportingText p {
margin:0 10px 10px;
padding:0;
}
#linkList ul {
width:210px;
margin:0 0 10px 15px;
padding:0;
}
#linkList li {
padding: 0 0 0 20px;
margin:0 0 5px;
list-style-type:none;
white-space:nowrap;
background: transparent url(images/bullet_normal.gif) no-repeat 0 1px;
}
#lselect ul, #lfavorites ul {
width:210px;
margin:0 0 10px 15px;
padding:0;
}
#lselect li, #lfavorites li {
padding: 0 0 0 25px;
margin:0 0 5px;
list-style-type:none;
clear:left;
white-space:nowrap;
background: transparent url(images/bullet_styles.gif) no-repeat 0 3px;
}
#linkList h3 {
margin:0 0 10px;
background:#6E6855 url(images/link_list_h3.gif) repeat-y top left;
padding:5px 5px 5px 15px;
font-weight:bold;
color:#E9E6D9;
font-size:100%;
}
acronym {
border-bottom:1px dotted #555040;
cursor:help;
}
a acronym {
border-bottom:1px dotted #8297A7;
}
#lfavorites, #larchives, #lresources {
border-top:5px solid #FFF;
}
Offline the news sits perfect, but as soon as i bring it into cmsms it ends up sitting in the middle of the screen. Can someone please tell me what i need to change to modify the news items?
Any help with this matter would be much appreciated.
thanks
stu