Autor |
Nachricht |
-

zitapage
|
28.07.2009 um 05:26 (UTC) Titel: |
|
|
schau mal in diesen thread ein paar seiten zurück da hab ich den code eingebunden aber hier noch mal der code:
positives: keine scrollbars normale navi und sidebar
mit wachsender content mit footer !
Text über dem Design:
Code: <div id="Design">
<div id="Header"></div>
<div id="Coolmenu">Hier kann ein 2ter Header rein oder nur Text. wenn ihr es gut gestaltet kann das design sehr schön werden</div>
Text unter dem Design:
Code: <div id="Footer">
<div style="text-align: center;">Design by www.zitapage.com </div></div>
Style ohne Tags:
Code: h1#title{display: none;}
h2#title span {display: none;}
div.header{display: none;}
li.nav_element{list-style-type: none;}
body {
background-color: #000000;}
p, div, b{
font-family: Arial;
font-size: 12px;
text-decoration: none;}
a{color : #000000;
font-size : 12px;
font-weight: bold;
text-decoration : none;}
a:hover {
color : #000000;
font-size : 12px;
text-decoration : underline;}
a:active {color : #000000;
font-size : 12px;
text-decoration : none;}
li.nav_element a{
color:#ffffff;
display: block;
margin: 5px;
padding-left: 10px;
text-decoration: none;
width: 120px;
height: 20px;
background-image:url();
background-color:#FFFFFF;}
h1#title{display: none;}
h2#title span {display: none;}
div.header{display: none;}
li.nav_element{list-style-type: none;}
body {
background-color: #000000;}
p, div, b{
font-family: Arial;
font-size: 12px;
text-decoration: none;}
a{color : #000000;
font-size : 12px;
font-weight: bold;
text-decoration : none;}
a:hover {
color : #000000;
font-size : 12px;
text-decoration : underline;}
a:active {color : #000000;
font-size : 12px;
text-decoration : none;}
#box4{
background-color: #000000;
border: 1px solid #bababa;
width: 125px;
height: 30px;
color: #000000;
font-size: 12px;
font-weight: bold;
float: right;
margin: 0px 0px 0px 0px;}
li.nav_element a{
color:#000000;
display: block;
margin: 5px;
padding-left: 10px;
text-decoration: none;
width: 160px;
height: 20px;
background-image:url();
background-color:#ffffff;}
li.nav_element a:hover{
color:#000000;
display: block;
margin: 5px;
padding-left: 10px;
text-decoration: none;
width: 160px;
height: 20px;
background-image:url();
background-color:#ffffff;}
* { padding: 0; margin: 0; }
#Design {
margin : 0 auto;
border: 2px solid #bababa;
margin-top: 10px;
margin-bottom: 10px;
width : 1000px;
background-color: #ffffff;
padding: 5px;}
#Header{
background-image: url();
background-color: #000000;
border: 2px solid #bababa;
width : 995px;
height : 100px;
float : left;
margin: ´5px 0px 0px 0px;}
#box{
background-color: #bababa;
border: 2px solid #bababa;
width: 176px;
height: 30px;
color: #000000;
font-size: 12px;
font-weight: bold;
float: left;
margin: 2px 0px 5px 0px;}
#menu{
background-color: #000000;
background-image: url();
width: 996px;
height: 60px;
color: #bababa;
font-size: 12px;
font-weight: bold;
float: left;
margin: 5px 0px 5px 0px;}
#Coolmenu{
background-color: #000000;
background-image: url();
width: 750px;
height: 250px;
color: #bababa;
font-size: 12px;
font-weight: bold;
float: left;
margin: 5px 0px 5px 0px;}
#nav_container{
background-image: url();
background-color: #ffffff;
border: 1px solid #bababa;
width: 220px;
color: #bababa;
margin: 5px 0px 3px 5px;
padding: 5px;
display: inline;
float: right;
}
#sidebar_container{
background-image: url();
background-color: #ffffff;
width: 220px;
color: #bababa;
margin: 0px 0px 5px 0px;
padding: 5px;
display: inline;
border: 1px solid #bababa;
float: right;}
#content{
width: 730px;
background-image : url();
background-color: #ffffff;
color: #bababa;
border: 1px solid #bababa;
font-size: 12px;
float: left;
margin: 0px 0px 0px 0px;
padding: 10px;}
#Footer{
width: 985px;
height: 20px;
background-color: #000000;
color: #bababa;
font-size: 12px;
text-align: center;
clear: both;
margin: 5px 0px 0px 0px;
padding: 5px;}
#counter{display: none} ______________ 
Zuletzt bearbeitet von zitapage am 28.07.2009, 17:00, insgesamt einmal bearbeitet
|
|
↑
|
|
 |
-

muepfe-radio
|
28.07.2009 um 15:56 (UTC) Titel: |
|
|
Hallo Zitapage,
vielen Dank für das CSS Grundgerüst.
Grüße
Andreas |
|
↑
|
|
 |
-

shipsimfriends
|
28.07.2009 um 16:43 (UTC) Titel: |
|
|
Hallo, hast du denn jetzt überhaupt schon eine neue Page? |
|
↑
|
|
 |
-

zitapage
|
28.07.2009 um 17:40 (UTC) Titel: |
|
|
keine ursache, wenn fragen sind zum design oder du mehr boxen etc haben willst immer fragen.
@ships
ja klar zitapage.com lebt noch  und wird größer  ______________  |
|
↑
|
|
 |
-

tamiboy
|
|
↑
|
|
 |
-

zitapage
|
28.07.2009 um 17:47 (UTC) Titel: |
|
|
schau mal in den off topic bereich da kannste nochmal die frage stellen  ______________  |
|
↑
|
|
 |
-

vithu-arts
|
28.07.2009 um 21:11 (UTC) Titel: Frage |
|
|
Hallo Zitapage,
ich benutze auch deinen Design und jetzt hab ich ein problem kannst du mir dabei helfen?
Also ich hab das Rechtsmenü entfernt und jetzt hab ich ein Problem mit dem Content der ist jetzt falsch er ist zu weit unten und als ich es versuchte richten hab ich etwas falsch gemacht.Kannst du mir jetzt dabei helfen?Bitte
Wäre sehr dankbar.
Hier Code:
CSS ohne Styletags:
Code: h1#title{display: none;}
h2#title span {display: none;}
div.header{display: none;}
li.nav_element{list-style-type: none;}
body {
background-color: #000000;}
p, div, b{
font-family: Arial;
font-size: 12px;
text-decoration: none;}
a{color : #000000;
font-size : 12px;
font-weight: bold;
text-decoration : none;}
a:hover {
color : #000000;
font-size : 12px;
text-decoration : underline;}
a:active {color : #000000;
font-size : 12px;
text-decoration : none;}
li.nav_element a{
color:#ffffff;
display: block;
margin: 5px;
padding-left: 10px;
text-decoration: none;
width: 120px;
height: 20px;
background-image:url();
background-color:#FFFFFF;}
h1#title{display: none;}
h2#title span {display: none;}
div.header{display: none;}
li.nav_element{list-style-type: none;}
body {
background-color: #000000;}
p, div, b{
font-family: Arial;
font-size: 12px;
text-decoration: none;}
a{color : #000000;
font-size : 12px;
font-weight: bold;
text-decoration : none;}
a:hover {
color : #000000;
font-size : 12px;
text-decoration : underline;}
a:active {color : #000000;
font-size : 12px;
text-decoration : none;}
#box4{
background-color: #000000;
border: 1px solid #bababa;
width: 125px;
height: 30px;
color: #000000;
font-size: 12px;
font-weight: bold;
float: right;
margin: 0px 0px 0px 0px;}
#Design {
margin : 0 auto;
border: 2px solid #bababa;
margin-top: 10px;
margin-bottom: 10px;
width : 1000px;
background-color: #ffffff;
padding: 5px;}
#Header{
background-image: url(http://images.coke-paradise.com/image/6rq7PFJfgJdI.png);
background-color: #000000;
border: 2px solid #bababa;
width : 995px;
height : 150px;
float : left;
margin: ´5px 0px 0px 0px;}
#box{
background-color: #bababa;
border: 2px solid #bababa;
width: 176px;
height: 30px;
color: #000000;
font-size: 12px;
font-weight: bold;
float: left;
margin: 2px 0px 5px 0px;}
#menu{
background-color: #000000;
background-image: url();
width: 996px;
height: 60px;
color: #bababa;
font-size: 12px;
font-weight: bold;
float: left;
margin: 5px 0px 5px 0px;}
#Coolmenu{
background-color: #000000;
background-image: url(http://img.webme.com/pic/v/vithu-arts/2thheader.png);
width: 995px;
height: 100px;
color: #bababa;
font-size: 12px;
font-weight: bold;
float: left;
margin: 5px 0px 5px 0px;}
#sidebar_container{
background-image: url();
background-color: #ffffff;
width: 220px;
color: #bababa;
margin: 0px 0px 5px 0px;
padding: 5px;
display: inline;
border: 1px solid #bababa;
float: right;}
#content{
width: 980px;
background-image : url();
background-color: #ffffff;
color: #bababa;
border: 1px solid #bababa;
font-size: 12px;
float: left;
margin: 0px 0px 0px 0px;
padding: 10px;}
#Footer{
width: 985px;
height: 20px;
background-color: #000000;
color: #bababa;
font-size: 12px;
text-align: center;
clear: both;
margin: 5px 0px 0px 0px;
padding: 5px;}
#counter{display: none}
Code über Design:
Code: <div id="Design">
<div id="Header"></div>
<div id="Coolmenu"></div>
<style type="text/css" media="screen">
<!--
/* Allgemeine Einstellungen (Schriftart, Schriftgröße...) */
body
{
font-family: Verdana, sans-serif;
font-size: 14px;
overflow: auto;
padding: 10px;
margin: 0px;
}
/* Durch diesen Code werden keine Auflistungspunkte angezeigt */
ul, li
{
list-style-type: none;
padding: 0px;
margin: 0px;
}
/* Hier könnt ihr die Entfernung der Schrift zum Rand einstellen */
li a
{
padding-right: 20px;padding-top: 5px;
}
/* Hier könnt ihr das Coolmenü positionieren, dazu die Werte bei "top" und "margin-left" verändern */
div.menu
{
position: absolute;
z-index: 3;
top: 358px;
left: 40%;
margin-left:-360px;
width:900px;
}
/* Hier könnt ihr die Breite der Menüpunkte einstellen */
.menu li
{
width: 160px;
float: left;
}
/* Hier stellt ihr das ganze Aussehen der Menüpunkte ein */
.menu a
{
border: 0px solid #000000;
background-color: #000000;
background-image: url(URL);
text-decoration: none;
text-align: center;
font-weight: bold;
cursor: pointer;
margin: 0px;
display: block;
height: 23px;
color: #00CCFF;
}
/* Hier stellt ihr das ganze Aussehen der Menüpunkte beim Hover Effekt ein */
.menu a:hover
{
background-color: #00CCFF;
background-image: url(URL);
color: #000000;
}
#smenu1, #smenu2, #smenu3, #smenu4, #smenu5
{
font-size: 14px;
display: none;
width: 160px;
float: left;
}
#smenu1 a, #smenu2 a, #smenu3 a, #smenu4 a, #smenu5 a
{
font-weight: bold;
padding-top: 5px;
border-top: 0px;
cursor: pointer;
color: #FFFFFF;
}
//-->
</style>
<!-- Anfang des Scriptes -->
<script type="text/javascript">
<!--
function montre(id)
{
with (document)
{
if (getElementById)
getElementById(id).style.display = 'block';
else if (all)
all[id].style.display = 'block';
else
layers[id].display = 'block';
}
}
function cache(id)
{
with (document)
{
if (getElementById)
getElementById(id).style.display = 'none';
else if (all)
all[id].style.display = 'none';
else
layers[id].display = 'none';
}
}
//-->
</script>
<!-- Ende des Scriptes -->
<div class="menu">
<li><a href="javascript:void(0);" onmouseover="montre('smenu1');" onmouseout="cache('smenu1');">Hauptmenü 1</a>
<ul id="smenu1" onmouseover="montre('smenu1');" onmouseout="cache('smenu1');">
<li><a href="Unterlink 1.1">Untermenü 1.1</a></li>
<li><a href="Unterlink 1.2">Untermenü 1.2</a></li>
<li><a href="Unterlink 1.3">Untermenü 1.3</a></li>
<li><a href="Unterlink 1.4">Untermenü 1.4</a></li>
<li><a href="Unterlink 1.5">Untermenü 1.5</a></li>
</ul>
</li>
<li><a href="javascript:void(0);" onmouseover="montre('smenu2');" onmouseout="cache('smenu2');">Hauptmenü 2</a>
<ul id="smenu2" onmouseover="montre('smenu2');" onmouseout="cache('smenu2');">
<li><a href="Unterlink 2.1">Untermenü 2.1</a></li>
<li><a href="Unterlink 2.2">Untermenü 2.2</a></li>
</ul>
</li>
<li><a href="javascript:void(0);" onmouseover="montre('smenu3');" onmouseout="cache('smenu3');">Hauptmenü 3</a>
<ul id="smenu3" onmouseover="montre('smenu3');" onmouseout="cache('smenu3');">
<li><a href="Unterlink 3.1">Untermenü 3.1</a></li>
<li><a href="Unterlink 3.2">Untermenü 3.2</a></li>
</ul>
</li>
<li><a href="javascript:void(0);" onmouseover="montre('smenu4');" onmouseout="cache('smenu4');">Hauptmenü 4</a>
<ul id="smenu4" onmouseover="montre('smenu4');" onmouseout="cache('smenu4');">
<li><a href="Unterlink 4.1">Untermenü 4.1</a></li>
<li><a href="Unterlink 4.2">Untermenü 4.2</a></li>
</ul>
</li>
<li><a href="javascript:void(0);" onmouseover="montre('smenu5');" onmouseout="cache('smenu5');">Hauptmenü 5</a>
<ul id="smenu5" onmouseover="montre('smenu5');" onmouseout="cache('smenu5');">
<li><a href="Unterlink 5.1">Untermenü 5.1</a></li>
<li><a href="Unterlink 5.2">Untermenü 5.2</a></li>
</ul>
</li>
</div>
______________ |
|
↑
|
|
 |
|