Hallo,
ich habe da ein Problem mit der css-Datei, die ich gerade verändern möchte. Auf der linken und rechten Seite des content-container ist ein weißer "Rahmen" siehe http://www.mk-autos.de Diesen Rahmen möchte ich gerne so klein wie möglich oder ganz weghaben, damit der graue Hintergrund in das Menü, usw. "reinfließt"... Hoffe mir kann dort jemand weiterhelfen...
Hier die main.css-Datei:
/*-- global container ------------------------------------------------------*/
#container {
position: relative;
width: 775px;
margin: 0px auto;
padding: 0px;
text-align: left;
}
/*-- main container: contains all between header and footer ----------------*/
#main_container {
margin: 0px 30px 0px 30px;
padding: 0;
}
/*--- the main container is devided in sub containers ----------------------*/
#sub_container1 {
margin: 0;
padding: 0;
}
#sub_container2 {
width: 525px;
position: relative;
top: 0px;
left: 10px;
float: left;
padding: 0;
margin: 0 0 10px 0;
}
#content_container {
overflow: hidden;
line-height: 1.2;
float: left;
width: 525px;
margin: 0;
padding: 0 0 15px 0;
line-height: 1.2;
font-family: Tahoma,Verdana, Arial, sans-serif;
font-size: 12px;
font-style: normal;
font-weight: normal;
text-decoration: none;
}
#left_column_container {
position: relative;
top: -10px;
float: right;
width: 157px;
/*height: 300px;*/
margin: 0px;
padding: 0px;
}
/*--- header ---------------------------------------------------------------*/
#header {
position: relative;
top: 0px;
left: 0px;
height: 305px;
width: 775px;
margin: 0px;
padding: 0px;
}
/*--- key visual -----------------------------------------------------------*/
#key_visual {
position: absolute;
top: 88px;
left: 28px;
height: 155px;
width: 713px;
}
/*--- logo -----------------------------------------------------------------*/
#logo {
position: absolute;
top: 0px;
left: 28px;
height: 77px;
width: 300px;
}
/*--- caption (as text or background image) --------------------------------*/
#text_caption {
position: relative;
top: 105px;
left: 465px;
z-index: 1;
height: 50px;
width: 260px;
padding: 50px 0px 0px 15px;
line-height: 20px;
letter-spacing: 1pt;
font-family: Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;
font-size: 11px;
font-style: normal;
font-weight: bold;
text-decoration: none;
}
/*--- main navigation ------------------------------------------------------*/
#main_nav_container {
float: left;
overflow: hidden;
z-index: 1;
position: relative;
top: -62px;
left: 28px;
width: 713px;
padding: 0px 0px 0px 0px;
margin: 0px;
}
#main_nav_list {
position: relative;
top: 0px;
left: 0px;
height: auto;
margin: 0px;
padding: 0px;
list-style-type: none;
}
#main_nav_list li {
float: left;
margin: 0px;
padding: 0px;
height: 28px;
border: 1px solid;
border-top: 0px;
border-bottom: 0px;
}
/*--- main navigation items ------------------------------------------------*/
#main_nav_list a {
float: left;
display: block;
height: 28px;
margin: 0px;
padding: 2px 10px 0px 17px;
line-height: 22px;
text-align: center;
text-decoration: none;
background: transparent;
voice-family: ""}"";
voice-family: inherit;
height: 26px;
}
html>body #main_nav_list a {
height: 28px;
}
#main_nav_list a.main_nav_item:hover {
background: transparent;
}
span.main_nav_item_text {
margin: 0px 0px 0px 3px;
}
span.main_nav_active_item_text {
margin: 0px 0px 0px 3px;
}
/*--- container for the subnavigation --------------------------------------*/
.sub_nav_container {
margin: 0px 0px 0px 0px;
padding: 0px;
}
/*--- subnavigation --------------------------------------------------------*/
.sub_nav_list {
margin: 0px;
padding: 0px;
border: 0px;
list-style-type: none;
}
.sub_nav_list li {
font-size: 9px;
margin: 0px 0px 2px 0px;
padding: 0px;
}
/*--- subnavigation items --------------------------------------------------*/
.sub_nav_list a {
display: block;
/*height: 25px;*/
width: 153px;
padding: 0px 0px 0px 20px;
line-height: 24px;
text-decoration: none;
text-align: left;
voice-family: ""}"";
voice-family: inherit;
width: 133px;
overflow: hidden;
}
html>body #sub_nav_list a {
width: 133px;
overflow: hidden;
}
/*--- footer ---------------------------------------------------------------*/
#footer {
clear: both;
height: 89px;
width: 775px;
margin: 0px;
padding: 0px;
}
#footer_text {
margin: 0px 30px 0px 30px;
padding: 25px 0px 0px 0px;
text-align: center;
}
/*----------------------------------------------------------------------------
default-styles for html-elements
----------------------------------------------------------------------------*/
/*--- body -----------------------------------------------------------------*/
body#main_body {
margin: 0px;
padding: 0px;
text-align: center;
}
/*--- paragraph ------------------------------------------------------------*/
#content_container p {
line-height: 1.2;
}
/*--- headings -------------------------------------------------------------*/
#content_container h1 {
overflow: hidden;
padding: 10px 0px 5px 10px;
}
#content_container h2 {
padding: 8px 0px 3px 10px;
}
#content_container h3 {
padding: 8px 0px 2px 10px;
}
/*--- links ----------------------------------------------------------------*/
/*--- tables ---------------------------------------------------------------*/
#content_container table {
border-width: 1px;
border-spacing: 0px;
border-style: solid;
}
#content_container td {
border-collapse: collapse;
}
/*--- forms ----------------------------------------------------------------*/
#content_container fieldset {
padding: 15px;
border-width: 1px;
border-style: solid;
}
#content_container input {
border-width: 1px;
border-style: solid;
}
#content_container textarea {
border-width: 1px;
border-style: solid;
}
#content_container button {
color: #FFF;
background: url('colorschemes/colorscheme3/images/static/inputbutton.gif') top left;
}
/*--------------------------------------------------------------------------*/
Freundlichen Gruß
Andy