Navi+Breite

Status
Nicht offen für weitere Antworten.
P

PasiXXL

Hallo,

ich bin gerade dabei eine CSS Datei für eine Navigation zu kapieren. Nun finde ich aber nicht die Stelle, wo man die Breite der Navigation ändern kann. Nun hier die komplette CSS - Datei:

HTML:
html, body {
margin: 0px;
padding: 0px;
color: #000000;
background-color: #f0f0f0;
font-family: Verdana, Arial, sans-serif;
font-size: 12px;
}
p {
margin: 10px 0px;
text-align: justify;
}
ul, ol {
margin: 5px 0px 5px 30px;
padding: 0px;
}
ul {
list-style-type: disc;
}
acronym, abbr {
border-bottom: 1px dotted #000000;
cursor: help;
}
a acronym, a abbr {
cursor: pointer;
}
strong {
font-weight: bold;
}
em {
font-style: italic;
font-weight: normal;
}
blockquote {
margin: 20px;
padding: 5px;
border: 1px solid #909090;
background-color: #f0f0f0;
}
blockquote p {
margin: 0px;
text-align: center;
font-style: italic;
}
blockquote span {
display: block;
margin: 4px 0px;
text-align: center;
font-size: 80%;
font-style: normal;
line-height: 1.1em;
}
a:link, a:visited {
color: #000000;
text-decoration: none;
}
a:hover {
color: #000000;
}
a:focus {
outline: 1px dashed #50638B;
}
.sprung {
display: none;
}
table {
margin: 10px 0px;
border-collapse: collapse;
text-align: left;
}
table td, table th {
padding: 3px 5px;
vertical-align: middle;
}
table th {
border-bottom: 1px solid #c0c0c0;
letter-spacing: 0.1em;
font-weight: bold;
}
table.unterteilt tbody {
border-bottom: 1px solid #c0c0c0;
}
/* Hauptkasten */
#content {
z-index: 0;
margin-left: 193px;
padding: 0px 20px 10px 20px;
border-width: 0px 0px 1px 1px;
border-style: solid;
border-color: #000000;
background-color: #ffffff;
line-height: 1.5em;
}
h2 {
margin: 0px -20px;
padding: 5px;
border-bottom: 1px solid #909090;
background-color: #e0e0e0;
color: #909090;
font-size: 150%;
font-weight: normal;
letter-spacing: 0.2em;
}
h3 {
margin: 0px -20px 10px -20px;
padding: 3px 5px;
border-bottom: 1px solid #909090;
color: #909090;
font-size: 100%;
font-weight: normal;
font-variant: small-caps;
letter-spacing: 0.2em;
}
h4 {
margin: 15px 0px 10px 0px;
font-size: 120%;
font-weight: bold;
font-variant: small-caps;
}
h4.alternativ {
padding: 5px;
width: 350px;
border-bottom: 1px solid #909090;
background-color: #f0f0f0;
font-size: 100%;
font-weight: normal;
letter-spacing: 0.1em;
}
h5 {
margin: 15px 0px 5px 0px;
font-size: 100%;
font-weight: bold;
letter-spacing: 0.1em;
}
h6 {
margin: 15px 0px 0px 0px;
padding-bottom: 2px;
width: 20%;
border-bottom: 1px solid #c0c0c0;
font-size: 80%;
font-weight: normal;
letter-spacing: 0.3em;
}
.anmerkung, .datum {
font-size: 80%;
}
address {
display: block;
padding-left: 6px;
border-left: 4px solid #c0c0c0;
font-style: normal;
}
table.auflistung th {
border-bottom: 1px solid #909090;
background-color: #f0f0f0;
font-weight: normal;
font-variant: small-caps;
}
div.stopp {
height: 0px;
clear: both;
}
a.oben {
font-size: 80%;
}
#content img {
margin-top: 5px;
margin-bottom: 5px;
}
.left {
margin-right: 10px;
float: left;
}
.right {
margin-left: 10px;
float: right;
}
div.bild span {
display: block;
margin-top: -7px;
padding-left: 2px;
border-bottom: 1px solid #c0c0c0;
font-size: 80%;
}
div.bild a span {
border-bottom: 0px;
text-align: center;
font-size: 100%;
font-style: normal;
font-variant: small-caps;
}
img {
border: 0px;
}
a img {
border: 1px solid #50638B;
}
a:hover img {
border-color: #50638B;
}
a:focus img {
outline: 1px dashed #50638B;
}
/* Unternavigation */
#unternav {
margin-bottom: 10px;
color: #909090;
font-size: 80%;
cursor: default;
}
/* Navigation */
#nav {
z-index: 2;
position: absolute;
top: 103px;
left: 0px;
padding: 20px;
}
#nav ul {
margin: 0px;
padding: 5px 5px 0px 5px;
width: 140px;
border: 1px solid #000000;
background-color: #ffffff;
list-style-type: none;
}
#nav ul:hover {
border-color: #000000;
}
#nav ul li {
position: relative;
margin-bottom: 10px;
}
#nav ul a:link, #nav ul a:visited {
z-index: 4;
display: block;
padding: 2px;
width: 118px;
border-width: 0px 0px 1px 3px;
border-style: solid;
border-color: #ffffff;
color: #000000;
font-variant: small-caps;
}
#nav ul a:hover {
border-color: #000000;
color: #000000;
}
#nav ul a:link.hover, #nav ul a:visited.hover {
width: 133px;
border-color: #000000;
color: #000000;
}
#nav ul a:link.active, #nav ul a:visited.active {
width: 133px;
border-color: #000000;
color: #000000;
}
#nav ul a:link.active:hover, #nav ul a:visited.active:hover {
border-color: #000000;
color: #000000;
}
#nav ul ul {
z-index: 6;
display: none;
position: absolute;
top: -6px;
left: 125px;
padding: 5px 0px;
overflow: hidden;
}
#nav ul ul.hover {
display: block;
}
#nav li:hover ul {
display: block;
}
#nav > ul > li:hover > a:first-child {
border-color: #000000;
color: #000000;
}
#nav > ul > li:hover > a:hover {
color: #000000;
border-color: #000000;
}
#nav ul ul li {
margin-bottom: 0px;
}
#nav ul ul a:link, #nav ul ul a:visited {
padding: 2px 2px 2px 7px;
width: 131px;
font-variant: normal;
border-width: 0px 0px 1px 0px;
}
#nav ul ul.active {
z-index: 5;
display: block;
position: relative;
top: 0px;
left: 0px;
margin-left: 10px;
width: 129px;
border-width: 0px 0px 1px 1px;
overflow: hidden;
}
#nav ul ul.active a:link, #nav ul ul.active a:visited {
width: 120px;
}
/* Extra-Navigation */
#extranav {
z-index: 3;
position: absolute;
top: 103px;
right: 0px;
padding: 8px 7px 5px 7px;
color: #909090;
font-size: 80%;
cursor: default;
}

Entschuldigung, dass der Code sehr lange ist ....

Viele Grüße

PasiXXl
 
Status
Nicht offen für weitere Antworten.
Zurück