+ Antworten
Ergebnis 1 bis 6 von 6

Thema: Breite meines Templates auf 100%

  1. #1
    Neu an Board
    Registriert seit
    27.01.2006
    Beiträge
    21
    Bedankte sich
    10
    1 Danksagung in 1 Beitrag

    Standard Breite meines Templates auf 100%

    Hallo.
    Wie kann ich bewirken, dass meine Seite mit dem Code

    PHP-Code:
                <?php
    defined
    '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
    // needed to seperate the ISO number from the language file constant _ISO
    $iso split'='_ISO );
    // xml prolog
    echo '<?xml version="1.0" encoding="'$iso[1] .'"?' .'>';
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <?php
    if ( $my->id ) {
        
    initEditor();
    }
    ?>
    <meta **********="Content-Type" content="text/html; <?php echo _ISO?>" />
    <?php mosShowHead(); ?>
    <link href="<?php echo $mosConfig_live_site;?>/templates/LagunaLindau/css/template_css.css" rel="stylesheet" type="text/css" />
    <link rel="shortcut icon" href="<?php echo $mosConfig_live_site;?>/images/favicon.ico" />
    </head>
    <body class="page_bg" leftmargin="0" marginheight="0" marginwidth="0" topmargin="0">
    <a name="up" id="up"></a>
    <?php
    @$collspan_offset = ( mosCountModules'right' ) + mosCountModules'user2' ) and !$_REQUEST['task'] == 'edit' ) ? 1;
    ?>
    <div align="center" >
        <table width="100%" border="0" cellpadding="0" cellspacing="0" class="big_frame">
          <tr>
            <td valign="top" class="content_box" width="100%">
                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                <tr valign="top">
                                    <td>
                    <!-- main content area -->
                    <div class="contentblock" id="contentblock" style="width:100%">
                        <?php mosPathWay(); ?>
                        <br />
                        <?php
                        
    if ( mosCountModules'top' ) ) {
                            
    mosLoadModules 'top' );
                        }
                        
    mosMainBody();
                        
    ?>
                        <br />
                    </div>
                    <?php
                    
    if ( mosCountModules'bottom' ) ) { ?>
                        <div class="footerblock" id="footerblock" style="width:100%">
                        <?php mosLoadModules 'bottom' ); ?>
                        <br />
                        </div>
                        <?php
                    
    }
                    
    ?>
                    </td>
                                </tr>
                </table>
            </td>
                        <?php
            
    if ( ( mosCountModules'right' ) + mosCountModules'user2' ) ) and @!$_REQUEST['task'] == 'edit' ) {
                
    ?>
                        <td valign="top" class="middle_box" width="151" style="width:151px">
                <div id="middle_box">
                    <?php
                    
    if ( mosCountModules'right' ) ) {
                        
    ?>
                        <div class="rightblock" id="rightblock" style="width:145px">
                        <?php mosLoadModules 'right' ); ?>
                        </div>
                        <?php
                    
    }
                    if ( 
    mosCountModules'user2' ) ) {
                        
    ?>
                        <div class="user2block" id="user2block" style="width:143px">
                        <?php mosLoadModules 'user2' ); ?>
                        </div>
                        <?php
                    
    ?>
                </div>
                </td>
                        <?php
            
    }
            
    ?>
            <td valign="top" class="right_box" width="151" style="width: 151px">
            <div id="right_box">
                <!-- far right menu -->
                <div class="leftblock" id="leftblock" style="width:143px">
                <?php mosLoadModules 'left' ); ?>
                </div>
                <div class="user1block" id="user1block" style="width:143px">
                <?php
                
    if ( mosCountModules"user1" ) ) {
                    
    mosLoadModules 'user1' );
                }
                
    ?>
                </div>
            </div>
            </td>
        </tr>
                </table>
        <?php include_once( $GLOBALS['mosConfig_absolute_path'] . '/includes/footer.php' ); ?>
    </div>
    <?php mosLoadModules'debug', -);?>
    </body>
    </html>
    100% breit ist, also praktisch die ganze Seite ausfüllt.
    Danke, Claudi

    P.S: Eingebaut auf www.laguna-lindau.com > Unser Onlineshop

  2. #2
    Hat hier eine Zweitwohnung Avatar von Trinity
    Registriert seit
    12.05.2004
    Ort
    Nürnberg
    Alter
    30
    Beiträge
    1.437
    Bedankte sich
    137
    Erhielt 240 Danksagungen
    in 228 Beiträgen

    Standard

    Hallo Claudi,
    so wie es ausschaut wird das über die css Datei des Templates gesteuert.
    Schau dir die mal genau an.
    Findest im Ordner css deines Templates.

    gruß
    W01: www.tec-promotion.de Joomla Hosting
    W02: www.in-wend.de biete auch Joomla-Support an
    W03: Joomla! User Group Nürnberg
    W04: Joomla Workshop mit Hagen Graf am 15.10.2008

  3. Erhielt Danksagungen von:


  4. #3
    Neu an Board
    Registriert seit
    27.01.2006
    Beiträge
    21
    Bedankte sich
    10
    1 Danksagung in 1 Beitrag

    Daumen hoch Danke, die Breite passt, aber die Höhe nicht.

    Hallo!
    Super, danke für den Tipp!
    Das mit der Breite klappt super!

    Geht das jetzt auch mit der Höhe?
    Ich will NICHT die Höhe auf 100% sondern
    diese Abstände über und unter dem Shop weg haben.

    Bitte schaut mal:
    www.laguna-lindau.com und auf "Unser Onlineshop",
    eben alles um den grauen Rand rum weg.

    Liebe Grüße,
    vielen lieben Dank,
    Claudi

  5. #4
    Neu an Board
    Registriert seit
    27.01.2006
    Beiträge
    21
    Bedankte sich
    10
    1 Danksagung in 1 Beitrag

    Ausrufezeichen P.S: Hier der CSS-Code:

    PHP-Code:
    div#contentblock table td.newsflash {
        
    padding:0px;
    }

    .
    footerblock {

    }

    .
    user2block {

    }


    .
    user1block {

    }

    .
    rightblock {

    }

    .
    contentblock {

    }

    .
    centerblock {

    }

    .
    leftblock {

    }

    .
    header {
        
    height111px;
        
    backgroundurl(../images/mambo_header.jpgno-repeat;
    }

    .
    content_box {
        
    padding4px;
    }

    .
    search_box {
        
    padding10px;
    }



    #silver_date {
        
    floatright;
        
    width160px;
        
    text-alignright;
        
    padding3px 10px 0px 0px;
        
    font-size11px;
        
    font-weightbold;
        
    color#304651;
        
    white-spacenowrap;
    }

    #silver_menu {
        
    overflowhidden;
        
    height26px;
        
    width400px;
        
    floatleft;
        
    padding0px;
    }

    #silver_toolbar {
        
    width100%;
    }

    .
    silver_box {
        
    width100%;
        
    border-topsolid 1px #9DA6B3;
        
    border-bottomsolid 1px #9DA6B3;
        
    text-aligncenter;
        
    backgroundurl(../images/silver_background.jpgrepeat-x;
        
    padding0px 0px 0px 0px;
    }

    .
    middle_box {
        
    padding4px;
        
    border-leftsolid 1px #9DA6B3;
        
    background#2E4452 url(../images/menu2_fade.jpg) repeat-x;
    }

    .
    right_box {
        
    padding4px;
        
    border-leftsolid 1px #9DA6B3;
        
    background#182327 url(../images/menu1_fade.jpg) repeat-x;
    }

    .
    searchblock {
        
    color#ff6600;
    }

    .
    top_right_box {
        
    border-leftsolid 1px #9DA6B3;
        
    background#000000;
        
    padding0px;
    }

    .
    page_bg {
        
    background#121A1D url(../images/back_fade.jpg) repeat-x;
        
    padding20px 0px 20px 0px;
        
    margin0px;
        
    border0px;
    }

    .
    big_frame {
        
    width100%;
        
    bordersolid 1px #9DA6B3;
    }


    /* required stuff */

    #content-pane .tab-page {
        
    background#000000;
    }

    .
    contentpane {

    }

    .
    contentpaneopen {
        
    text-alignleft;
        
    width100%;
        
    padding0px;
    }

    .
    small {
        
    font-size11px;
        
    color#ffffff;
        
    font-weightbold;
        
    padding-top10px;
        
    text-alignleft;
    }

    .
    modifydate {
        
    font-size11px;
        
    color#ffffff;
        
    font-weightbold;
        
    padding-top10px;
        
    text-alignleft;
    }

    .
    createdate {
        
    line-height15px;
        
    font-size11px;
        
    color#ffffff;
        
    font-weightbold;
        
    vertical-aligntop;
        
    displayblock;
    }

    .
    contentheading {
        
    backgroundurl(../images/title_background.pngno-repeat;
        
    vertical-alignmiddle;
        
    font-size11px;
        
    font-weightbold;
        
    color#cccccc;
        
    text-alignleft;
        
    text-indent15px;
        
    width100%;
        
    height24px;
        
    text-transformuppercase;
    }

    .
    contentpagetitle {
        
    font-size13px;
        
    font-weightbold;
        
    color#cccccc;
        
    text-align:left;
    }

    /* For content item titles that are hyperlink instead of Read On */
    a.contentpagetitle:linka.contentpagetitle:visited {
        
    font-size13px;
        
    font-weightbold;
        
    color#ff6600;
        
    text-align:left;
        
    text-decorationnone;
    }

    a.contentpagetitle:hover {
        
    color#ffffff;
    }

    table.moduletable {
        
    width100%;
        
    margin0px 0px 15px 0px;
        
    border-leftsolid 0px #000000;
        
    border-rightsolid 0px #000000;
        
    border-topsolid 0px #000000;
        
    border-bottomsolid 0px #000000;
    }

    table.moduletable th {
        
    backgroundurl(../images/title_background.pngno-repeat;
        
    vertical-alignmiddle;
        
    font-size11px;
        
    font-weightbold;
        
    color#cccccc;
        
    text-alignleft;
        
    text-indent15px;
        
    width100%;
        
    height24px;
        
    text-transformuppercase;
    }

    table.moduletable td {
        
    font-size11px;
        
    padding0px;
        
    font-weightnormal;
    }

    table.moduletable ul {
        
    color#ff0000;
    }

    div#menublock table.moduletable td {
        
    padding0px;
    }

    #mainlevel-nav {
    margin0padding0;
    }
    #mainlevel-nav li {
    background-imagenone;
    list-
    style:none
    floatleft
    margin0px
    padding-left15px;
    padding-right15px;
    font-size11px;
    line-height:24px;
    height26px;
    white-spacenowrap;
    border-right1px solid #9DA6B3;
    }
    #mainlevel-nav a {

    floatright
    text-decorationnone;  
    color#304651;
    }
    #mainlevel-nav a {
    floatnone;
    }
    #mainlevel-nav a:hover {
    color#ff6600;

    }

    a.mainlevel:linka.mainlevel:visited {
        
    backgroundurl(../images/menu_bullet.pngno-repeat;
        
    vertical-alignmiddle;
        
    font-size11px;
        
    font-weightbold;
        
    color#ff6600;
        
    text-alignleft;
        
    padding-left15px;
        
    height18px;
        
    margin-bottom1px;
    }

    a.mainlevel:hover {
        
    background-position0px -20px;
        
    text-decorationnone;
        
    color#ffffff;
    }

    .
    pollstableborder {
        
    border1px solid;
        
    padding1px;
    }

    a.sublevel:linka.sublevel:visited {
        
    padding-left1px;
        
    vertical-alignmiddle;
        
    font-size11px;
        
    font-weightbold;
        
    color#ff6600;
        
    text-alignleft;
    }

    #active_menu {
        
    color:#ffffff;
        
    font-weightbold;
    }

    a.sublevel:hover {
        
    color#ffffff;
        
    text-decorationnone;
    }

    a.mainmenu:linka.mainmenu:visited {
        
    color#ffffff; font-family: Trebuchet MS, Verdana, Arial, Helvetica, sans-serif;
        
    font-weightnormal;
        
    font-size11px;
        
    padding-left:10px;
        
    padding-right:10px;
    }

    a.mainmenu:hover {
        
    color#D6DF8C; 
        
    text-decorationnone;
    }



    a:linka:visited {
        
    color#ff6600; text-decoration: none;
        
    font-weightbold;
    }

    a:hover {
        
    color#9AB6C2;    text-decoration: none;
        
    font-weightbold;
    }

    a.category:linka.category:visited {
        
    color#ff6600;
        
    text-decorationnone;
        
    font-weightbold;
    }

    a.category:hover {
        
    color#9AB6C2;
        
    text-decorationnone;
        
    font-weightbold;
    }

    a.pagenava.pagenav:visited {
        
    font-weightbold;
        
    color#ff6600;
        
    text-decorationnone;
    }

    a.pagenav:hover {
        
    color#9AB6C2;
        
    text-decorationnone;
    }

    .
    frontpageheader {
        
    color#ffffff;
        
    font-size15px;
        
    font-weightbold;
        
    line-height30px;
    }

    .
    newsfeedheading {
        
    font-size11px;
        
    font-weightbold;
        
    color#333333;
        
    text-align:left;
    }

    .
    newsfeeddate {
        
    font-size10px;
        
    color#666666;
        
    font-weightnormal;
    }

    .
    fase4rdf a:link {
        
    color#745632;
        
    text-decorationnone;
        
    font-weightbold;
    }

    .
    fase4rdf a:hover {
        
    color#cc9900;
    }

    .
    componentheading {

        
    backgroundurl(../images/title_background.pngno-repeat;
        
    vertical-aligntop;
        
    padding-top4px;
        
    font-size11px;
        
    font-weightbold;
        
    color#cccccc;
        
    text-alignleft;
        
    text-indent15px;
        
    width100%;
        
    height24px;
        
    text-transformuppercase;
    }

    .
    sectiontableheader {
        
    background #293C43;
        
    color #ffffff;
        
    font-weight bold;
        
    padding3px;
    }

    .
    sectiontableentry1 {
        
    background-color #0D1315;
        
    padding2px;
    }

    .
    sectiontableentry2 {
        
    background-color #151E22;
        
    padding2px;
    }

    div#middle_box .sectiontableentry1 {
        
    background-color #3E5867;
        
    padding2px;
    }

    div#middle_box .sectiontableentry2 {
        
    background-color #516B79;
        
    padding2px;
    }

    div#right_box .sectiontableentry1 {
        
    background-color #182327;
        
    padding2px;
    }

    div#right_box .sectiontableentry2 {
        
    background-color #293C43;
        
    padding2px;
    }

    BODY {
        
    margin0px 0px 0px 0px;
        
    background#f7f7f2;
    }

    td,tr,p,div {
        
    font-familyTrebuchet MSVerdanaArialHelveticasans-serif;
        
    font-size11px;
        
    color#cccccc;
    }

    ul
    {
        
    margin0;
        
    padding0;
        list-
    stylenone;
    }

    li
    {
        
    line-height15px;
        
    padding-left15px;
        
    padding-top0px;
        
    background-imageurl(../images/arrow.png) ;
        
    background-repeatno-repeat;
        
    background-position0px 3px;
    }



    .
    button {
        
    font-weightbold;
        
    border:solid 1px #9DA6B3;
        
    background-color#293B42;
        
    color#ff6600;
        
    text-aligncenter;
        
    font-size9px;
        
    margin-top5px;
    }

    .
    inputbox {
        
    font-weightnormal;
        
    color#cccccc;
        
    background#000000;
        
    border1px solid #9DA6B3;
    }

    /* ---------------- unedited below here ----------------------*/

    .ontab {
        
    background-color#121A1D;
        
    border-leftoutset 1px #9DA6B3;
        
    border-rightoutset 1px #9DA6B3;
        
    border-topoutset 1px #9DA6B3;
        
    border-bottomsolid 0px #ffffff;
        
    text-aligncenter;
        
    cursorpointer;
        
    font-weightnormal;
        
    color#ff6600;
    }
    .
    offtab {
        
    background-color#25343B;
        
    border-leftoutset 1px #9DA6B3;
        
    border-rightoutset 1px #9DA6B3;
        
    border-topoutset 1px #9DA6B3;
        
    border-bottomsolid 1px #9DA6B3;
        
    text-aligncenter;
        
    cursorpointer;
        
    font-weightnormal;
        
    color#cccccc;
    }

    .
    tabpadding {
    }

    .
    tabheading {
        
    background-color#eeeeee;
        
    text-alignleft;
    }

    .
    pagetext {
        
    visibilityhidden;
        
    displaynone;
        
    positionrelative;
        
    top0;
    }

    h4 {
        
    color#cccccc;
        
    font-size16pxfont-weightbold;
    }

    h5 {
        
    color#cccccc;
        
    font-size14pxfont-weightbold;
    }

    h6 {
        
    color#dddddd;
        
    font-size12pxfont-weightbold;
    }

    hr {
        
    background#999999; height:1px; border: 1px solid;
    }

    hr.separator {
        
    background#495C5F;
        
    height1px;
        
    width75px;
        
    border0px;
    }


    /* Content - Sections & Categories */


    table.contenttoc {
        
    color#333300;
        
    background-color#e0e0e0;
    }

    table.contenttoc td {
        
    font-size8pt;
        
    font-weightnormal;
        
    text-align:left;
    }

    .
    contentdescription {
        
    color#cccccc;
        
    text-alignleft;
    }

    .
    category {
        
    color#ff0000;
        
    font-size11pxfont-weightboldtext-decorationnone;
    }



    .
    poll {
        
    font-size10px;
        
    line-height14px
    }

    table.pollstableborder {
        
    border0px;
    }

    .
    contentpane {
        
    background#121A1D;
    }

    .
    smalldark {
        
    font-size11px;
        
    color#333333;
        
    text-decorationnone;
        
    font-weightnormal;
    }

    table.searchinto {
        
    width100%;
    }

    table.searchintro td {
        
    background-color#293C43;
        
    color#ffffff;
        
    font-weightbold;
    }

    table

    table
    .contact {
        
    background-color#0D1315;
    }

    table.contact td.icons {
        
    background-color#000000;
        
    font-weightbold;
    }

    table.contact td.details {
        
    background-color#293C43;
        
    color#ffffff;
        
    font-weightbold;
    }

    .
    pagenav {
        
    font-weightnormal;
    }

    .
    pagenavbar {

    }

    .
    content_rating {
        
    font-weightnormal;
        
    font-size8pt;
    }

    .
    content_vote {
        
    font-weightnormal;
        
    font-size8pt;
    }

    /* Javascript Back button */
    .back_button {
        
    text-aligncenter;
        
    margin-top40px;
    }

    .
    readon {
        
    margin-bottom10px;
        
    }

    strong {
        
    color#ffcc00;


  6. #5
    Gehört zum Inventar Avatar von upstream
    Registriert seit
    04.11.2005
    Ort
    Steinmaur CH
    Alter
    27
    Beiträge
    5.918
    Bedankte sich
    86
    Erhielt 1.580 Danksagungen
    in 1.439 Beiträgen

    Standard

    Setz mal

    .page_bg {
    padding: 20px 0px 20px 0px;

    die 20px auf 0px

  7. Erhielt Danksagungen von:


  8. #6
    Neu an Board
    Registriert seit
    27.01.2006
    Beiträge
    21
    Bedankte sich
    10
    1 Danksagung in 1 Beitrag

    Standard siehe auch:

    Weiterführender Thread (bitte ansehen!):
    http://www.joomlaportal.de/mambo-tem...tml#post134576

+ Antworten

Ähnliche Themen

  1. ich brauche hilfe bei der realisierung meines templates
    Von derhenry im Forum Joomla Templates
    Antworten: 6
    Letzter Beitrag: 02.12.2005, 16:17
  2. Hier: Anleitung zum Erstellen von Artikeln
    Von heaven im Forum Tipps, Tricks und Kurzanleitungen
    Antworten: 3
    Letzter Beitrag: 24.09.2005, 12:07
  3. Breite der Module-Keine Reaktion auf HTML?
    Von zecke23 im Forum Mambo Templates
    Antworten: 7
    Letzter Beitrag: 04.01.2005, 01:10
  4. Mehrere Templates auf einer Seite
    Von sirtoby im Forum Mambo Templates
    Antworten: 2
    Letzter Beitrag: 16.11.2004, 14:00
  5. Copyright´s auf die mitgelieferten Bilder bei den Templates?
    Von Anonymous im Forum Mambo 4.5.0 Templates
    Antworten: 6
    Letzter Beitrag: 03.02.2004, 15:27

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein