| | | |  |  | |  |
14.04.2005, 13:43
|
#1 (permalink)
| | Elite Mamber
Join Date: Apr 2004
Posts: 1,283
| Need Help with Template Hi I need help with a CSS Template
This is the CSS Part for the Template: Code:
#inhalt {
margin: 0px auto;
padding: 0px;
width: 760px;
background-color: #ffffff;
border: 1px dashed #564b47;
}
.content {
position:relative; /* Position is declared "relative" to gain control of stacking order (z-index). */
width:725px;
min-width:725px;
height: 34px;
float: left;
margin:0px 0px 0px 0px;
padding:0px;
z-index:3; /* This allows the content to overlap the right menu in narrow windows in good browsers. */
}
#navAlpha {
width:18px;
height: 34px;
padding:0px;
float: left;
z-index:2;
/* Here is the ugly brilliant hack that protects IE5/Win from its own stupidity.
Thanks to Tantek Celik for the hack and to Eric Costello for publicizing it.
IE5/Win incorrectly parses the "\"}"" value, prematurely closing the style
declaration. The incorrect IE5/Win value is above, while the correct value is
below. See http://glish.com/css/hacks.asp for details. */
voice-family: "\"}\"";
voice-family:inherit;
width:18px;
}
/* I've heard this called the "be nice to Opera 5" rule. Basically, it feeds correct
length values to user agents that exhibit the parsing error exploited above yet get
the CSS box model right and understand the CSS2 parent-child selector. ALWAYS include
a "be nice to Opera 5" rule every time you use the Tantek Celik hack (above). */
body>#navAlpha {width:18px;}
#navBeta {
width:17px;
height: 34px;
float: left;
padding:0px;
z-index:1;
/* Again, the ugly brilliant hack. */
voice-family: "\"}\"";
voice-family:inherit;
width:17px;
}
/* Again, "be nice to Opera 5". */
body>#navBeta {width:17px;}
#navAlpha1 {
width:18px;
height: 138px;
padding-top:0px;
float: left;
margin:0px 0px 0px 0px;
z-index:2;
/* Here is the ugly brilliant hack that protects IE5/Win from its own stupidity.
Thanks to Tantek Celik for the hack and to Eric Costello for publicizing it.
IE5/Win incorrectly parses the "\"}"" value, prematurely closing the style
declaration. The incorrect IE5/Win value is above, while the correct value is
below. See http://glish.com/css/hacks.asp for details. */
voice-family: "\"}\"";
voice-family:inherit;
width:18px;
}
/* I've heard this called the "be nice to Opera 5" rule. Basically, it feeds correct
length values to user agents that exhibit the parsing error exploited above yet get
the CSS box model right and understand the CSS2 parent-child selector. ALWAYS include
a "be nice to Opera 5" rule every time you use the Tantek Celik hack (above). */
body>#navAlpha1 {width:18px;}
.content1 {
position:relative; /* Position is declared "relative" to gain control of stacking order (z-index). */
width:725px;
min-width:725px;
height: 138px;
float: left;
margin:0px 0px 0px 0px;
padding:0px;
background-image: url(../Bilder/index_05.gif);
z-index:3; /* This allows the content to overlap the right menu in narrow windows in good browsers. */
}
#navBeta1 {
width:17px;
height: 138px;
float: left;
padding:0px;
z-index:1;
/* Again, the ugly brilliant hack. */
voice-family: "\"}\"";
voice-family:inherit;
width:17px;
}
/* Again, "be nice to Opera 5". */
body>#navBeta1 {width:17px;}
#navtop1 {
width:18px;
height: 3px;
padding-top:0px;
float: left;
margin:0px 0px 0px 0px;
z-index:2;
/* Here is the ugly brilliant hack that protects IE5/Win from its own stupidity.
Thanks to Tantek Celik for the hack and to Eric Costello for publicizing it.
IE5/Win incorrectly parses the "\"}"" value, prematurely closing the style
declaration. The incorrect IE5/Win value is above, while the correct value is
below. See http://glish.com/css/hacks.asp for details. */
voice-family: "\"}\"";
voice-family:inherit;
width:18px;
}
/* I've heard this called the "be nice to Opera 5" rule. Basically, it feeds correct
length values to user agents that exhibit the parsing error exploited above yet get
the CSS box model right and understand the CSS2 parent-child selector. ALWAYS include
a "be nice to Opera 5" rule every time you use the Tantek Celik hack (above). */
body>#navtop1 {width:18px;}
.navtop2 {
width:725px;
height: 3px;
padding-top:0px;
float: left;
margin:0px 0px 0px 0px;
z-index:2;
/* Here is the ugly brilliant hack that protects IE5/Win from its own stupidity.
Thanks to Tantek Celik for the hack and to Eric Costello for publicizing it.
IE5/Win incorrectly parses the "\"}"" value, prematurely closing the style
declaration. The incorrect IE5/Win value is above, while the correct value is
below. See http://glish.com/css/hacks.asp for details. */
voice-family: "\"}\"";
voice-family:inherit;
width:725px;
}
/* I've heard this called the "be nice to Opera 5" rule. Basically, it feeds correct
length values to user agents that exhibit the parsing error exploited above yet get
the CSS box model right and understand the CSS2 parent-child selector. ALWAYS include
a "be nice to Opera 5" rule every time you use the Tantek Celik hack (above). */
body>#navtop2 {width:725px;}
#navtop3 {
width:17px;
height: 3px;
padding-top:0px;
float: left;
margin:0px 0px 0px 0px;
z-index:2;
/* Here is the ugly brilliant hack that protects IE5/Win from its own stupidity.
Thanks to Tantek Celik for the hack and to Eric Costello for publicizing it.
IE5/Win incorrectly parses the "\"}"" value, prematurely closing the style
declaration. The incorrect IE5/Win value is above, while the correct value is
below. See http://glish.com/css/hacks.asp for details. */
voice-family: "\"}\"";
voice-family:inherit;
width:17px;
}
/* I've heard this called the "be nice to Opera 5" rule. Basically, it feeds correct
length values to user agents that exhibit the parsing error exploited above yet get
the CSS box model right and understand the CSS2 parent-child selector. ALWAYS include
a "be nice to Opera 5" rule every time you use the Tantek Celik hack (above). */
body>#navtop3 {width:17px;}
.mid2 {
position:relative; /* Position is declared "relative" to gain control of stacking order (z-index). */
width:725px;
min-width:725px;
float: left;
margin:0px 0px 0px 0px;
padding:0px;
background-color:#E8D9CB;
z-index:3; /* This allows the content to overlap the right menu in narrow windows in good browsers. */
}
#mid1 {
width:18px;
padding:0px;
height:100%;
float: left;
z-index:2;
background-image: url(../Bilder/index_10.gif);
background-repeat:repeat-y;
/* Here is the ugly brilliant hack that protects IE5/Win from its own stupidity.
Thanks to Tantek Celik for the hack and to Eric Costello for publicizing it.
IE5/Win incorrectly parses the "\"}"" value, prematurely closing the style
declaration. The incorrect IE5/Win value is above, while the correct value is
below. See http://glish.com/css/hacks.asp for details. */
voice-family: "\"}\"";
voice-family:inherit;
width:18px;
}
/* I've heard this called the "be nice to Opera 5" rule. Basically, it feeds correct
length values to user agents that exhibit the parsing error exploited above yet get
the CSS box model right and understand the CSS2 parent-child selector. ALWAYS include
a "be nice to Opera 5" rule every time you use the Tantek Celik hack (above). */
body>#mid1 {width:18px;}
#mid3 {
background-image: url(../Bilder/index_12.gif);
background-repeat:repeat-y;
width:17px;
float: right;
height:100%;
padding:0px;
z-index:1;
/* Again, the ugly brilliant hack. */
voice-family: "\"}\"";
voice-family:inherit;
width:17px;
}
/* Again, "be nice to Opera 5". */
body>#mid3 {width:17px;}
.bot2 {
position:relative; /* Position is declared "relative" to gain control of stacking order (z-index). */
width:725px;
min-width:725px;
height:56px;
float: left;
margin:0px 0px 0px 0px;
padding:0px;
z-index:3; /* This allows the content to overlap the right menu in narrow windows in good browsers. */
}
#bot1 {
width:18px;
height:56px;
padding:0px;
float: left;
z-index:2;
/* Here is the ugly brilliant hack that protects IE5/Win from its own stupidity.
Thanks to Tantek Celik for the hack and to Eric Costello for publicizing it.
IE5/Win incorrectly parses the "\"}"" value, prematurely closing the style
declaration. The incorrect IE5/Win value is above, while the correct value is
below. See http://glish.com/css/hacks.asp for details. */
voice-family: "\"}\"";
voice-family:inherit;
width:18px;
}
/* I've heard this called the "be nice to Opera 5" rule. Basically, it feeds correct
length values to user agents that exhibit the parsing error exploited above yet get
the CSS box model right and understand the CSS2 parent-child selector. ALWAYS include
a "be nice to Opera 5" rule every time you use the Tantek Celik hack (above). */
body>#bot1 {width:18px;}
#bot3 {
width:17px;
height:56px;
float: left;
padding:0px;
z-index:1;
/* Again, the ugly brilliant hack. */
voice-family: "\"}\"";
voice-family:inherit;
width:17px;
}
/* Again, "be nice to Opera 5". */
body>#bot3 {width:17px;}
#container {
width: 725px;
margin: 0px;
padding: 0px;
z-index: 10;
}
#container1 {
position: relative;
float: left;
left: 5px;
width: 550px;
margin: 0px;
padding: 0px;
height: auto;
z-index: 11;
}
#container2 {
position: relative;
float: right;
right: 5px;
width: 155px;
margin: 0px;
padding: 0px;
height: auto;
z-index: 11;
}
#container3 {
position: relative;
float: right;
left: 1%;
width: 2%;
margin: 0px;
padding: 0px;
height: auto;
z-index: 11;
} |
| |
14.04.2005, 13:45
|
#2 (permalink)
| | Elite Mamber
Join Date: Apr 2004
Posts: 1,283
| AW: Need Help with Template This is the Index Part Code: <div id="inhalt">
<div id="navAlpha"><img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $cur_template;?>/Bilder/index_01.gif" width="18" height="34" alt="" /></div>
<div class="content"><img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $cur_template;?>/Bilder/index_02.gif" width="725" height="34" alt="" /></div>
<div id="navBeta"><img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $cur_template;?>/Bilder/index_03.gif" width="17" height="34" alt="" /></div>
<div id="navAlpha1"> <img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $cur_template;?>/Bilder/index_04.gif" width="18" height="138" alt="" /></div>
<div class="content1"> <?php mosPathWay(); ?> <div style="float:right; cursor:hand; cursor:pointer" onclick="expandcontent(this, 'sc31')">Usermenü</div></div>
<div id="navBeta1"> <img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $cur_template;?>/Bilder/index_06.gif" width="17" height="138" alt="" /></div>
<div id="navtop1"><img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $cur_template;?>/Bilder/index_07.gif" width="18" height="3" alt="" /></div>
<div class="navtop2"><img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $cur_template;?>/Bilder/index_08.gif" width="725" height="3" alt="" /></div>
<div id="navtop3"><img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $cur_template;?>/Bilder/index_09.gif" width="17" height="3" alt="" /></div>
<div id="mid1"></div>
<div class="mid2">
<div id="header">
<ul id="headerjohn">
<?php mosLoadModules ( 'user3' ); ?>
</ul>
</div>
<br />
<div id="container">
<div id="container1">
<?php mosMainBody(); ?>
</div>
<!-- <div id="container3">
</div> -->
<div id="container2">
<div id="sc31" class="switchcontent">
<?php mosLoadModules ( 'user1' ); ?>
</div>
<?php mosLoadModules ( 'left' ); ?>
</div>
</div>
</div>
<div id="mid3"></div>
<div id="bot1"> <img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $cur_template;?>/Bilder/index_13.gif" width="18" height="56" alt="" /></div>
<div class="bot2"><img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $cur_template;?>/Bilder/index_14.gif" width="725" height="56" alt="" /></div>
<div id="bot3"><img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $cur_template;?>/Bilder/index_15.gif" width="17" height="56" alt="" /></div>
<?php if ( $my->id ) {
echo ""; }
else {?>
<div id="dropin" style="position:absolute;visibility:hidden; height:300px;
width:400px;
margin:100px 0px -200px -200px;
top: 50%;
left: 50%;
background-color:#F5F5F5;
border: 1px solid #cccccc;
z-index: 100;">
<div align="right"><a href="#" onClick="dismissbox();return false">[Close Box] </a></div>
<div align="center"><?php mosLoadModules ( 'inset' ); ?>
<?php mosLoadModules ( 'user1' ); ?>
</div>
</div><?php } ?>
</div>
You can see the template on http://mambogfx.ma.ohost.de/ Template Braun |
| |
14.04.2005, 14:28
|
#3 (permalink)
| | Mamber
Join Date: Aug 2004 Location: Finland
Posts: 51
| Re: AW: Need Help with Template What help do you need, could you please be a little more specific? |
| |
14.04.2005, 14:54
|
#4 (permalink)
| | Elite Mamber
Join Date: Apr 2004
Posts: 1,283
| AW: Need Help with Template Wich browser do you use for the Site?
Look this site in Firefox and IE, please.
You see that the content is completly different to the header |
| |
15.04.2005, 07:27
|
#5 (permalink)
| | Mamber
Join Date: Aug 2004 Location: Finland
Posts: 51
| Re: AW: Need Help with Template Quote: |
Originally Posted by -peter- Wich browser do you use for the Site?
Look this site in Firefox and IE, please.
You see that the content is completly different to the header | Hello Peter,
I checked your site in IE6. FF1 and Opera 7.5. They all look the same, but they also look very different from your post above - not the same CSS  . |
| |
15.04.2005, 08:41
|
#6 (permalink)
| | Elite Mamber
Join Date: Apr 2004
Posts: 1,283
| AW: Need Help with Template This isn´t the full CSS File, it´s only the part for the Design the full CSS you can get from: http://mambogfx.ma.ohost.de/template...mplate_css.css
Here the Picture from IE, that´s is right:
And here is the Firefox broken Site:  |
| | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT +2. The time now is 07:10. | | | |