Page 1 of 1

Whole div table width...

Posted: Wed Aug 09, 2006 8:30 am
by witakr
Hey yall, I have looked for an hour through the code, and eternity in wiki and through about 10 pages of this General Help Forum and I cant find my answer.. Maybe someone can help.. I would think this would be easilly answered..

All I want is to know where I can edit the width of the ENTIRE div table so that my content(table, header, footers and all) will be 775px wide. when maximized or when the browser window isnt maximized.

Thanks, Jason

Re: Whole div table width...

Posted: Wed Aug 09, 2006 9:46 am
by cyberman
Stylesheet Layout

Code: Select all

    div#pagewrapper {
        margin: 0 auto;
        max-width: 80em;
        min-width: 60em;
        padding: 0;
        text-align: left;
    }
Replace max-width/min-width with width: 775px;

Re: Whole div table width...

Posted: Wed Aug 09, 2006 3:37 pm
by witakr
Yeah, Thats what i thought its was.. I did that and it didnt work..

Take alook at what it does when I made that change

http://cvdga.witscom.duoni.com

Perhaps can I get the Original Code for the layout stylesheet? Maybe It will work then?

Heres my Layout Style Sheet - I did other things just after installing, that I cant remember off hand. Maybe I changed somethign I shoulnt have...

Code: Select all


/* A CSS Framework by Mike Stenhouse of Content with Style, adapted to CMSMS by Daniel Westergren */

/* SITE SPECIFIC LAYOUT */
    body {
        margin: 1;
        padding: 0em;
        text-align: center;
    }
    div#pagewrapper {
        margin: 0;
        max-width: 775px;
        min-width: 775px;
        padding: 0;
        text-align: left;
    }
    #container {
	position: relative;
	margin: 0;
    }
    
    /* HEADER */
        div#header {
            margin: 0;
            padding: 0;
            height: 75px;
            background: #000000;           
            text-align: left;
        }
        div#header h1 a {
            background:  url(uploads/images/header4.gif) no-repeat 0 0px; 
            display: block;
            height: 85px;
            text-indent: -800em;
            width: 775px;
            margin: 0;
            padding: 0;
            text-decoration:none;
        }
    /* END HEADER */
    
    
    /* CONTENT */
        div#content {

        }
        
        /* MAIN */
            div#main {

            }
        /* END MAIN */
        
        /* SUB */
            div#sub {
                
            }
        /* END SUB */
        
    /* END CONTENT */
    
    
    /* FOOTER */
        div#footer {

        }

        div#footer p {
            font-size: 0.8em;
            margin: 0;
            padding: 1px;
            text-align: center;
        }
    /* END FOOTER */
/* END LAYOUT */



div.breadcrumbs {
   padding: 1em 0;
   text-align: left;
   font-size: 90%;
   margin: 0 1em;
   border-bottom: 1px dotted #000;
}

div.flags {
  float: right;
  width: 18px;
  padding: 1em 0;
  text-align: right;
  margin: 0 1em 0 0;
}

div.left49 {
  float: left;
  width: 49%;
  }

div.right49 {
  float: right;
  width: 49%;
  text-align: right;
  }


Re: Whole div table width...

Posted: Thu Aug 10, 2006 5:01 am
by cyberman
Have you tried this too?

Code: Select all

    div#pagewrapper {
        margin: 0 auto;
        width: 775px;
        padding: 0;
        text-align: left;
    }

Re: Whole div table width...

Posted: Thu Aug 10, 2006 7:57 am
by witakr
Oh you wonderful wizard of css, thank you.. i didnt think to try that, yet it worked.. You helped me greatly, Thank you.