If this is your first visit, check our documentation. To post, register or login.

Main Cntent to fill area>

Locked

Started by spottedhaggis on 22 Aug 2006, 11:40 PM · Views: 967

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
22 Aug 2006, 11:40 PM
#1
spottedhaggis avatar

spottedhaggis

Zen Follower

Join Date:
Dec 2005
Location:
Maidstone, Kent, UK
Posts:
310
Plugin Contributions:
0

Post #1 by spottedhaggis

Hi.

The site I am working on has a grey background, and the main content area is white, however the white area does not fill from top to bottom, instead, if a category has only 2 sub categories within it, the white box shrinks from top to bottom to use only the required ammount of space to display those sub categories, and whats worse is it sits in the center?

Can anyone tell me how to change this so he white area is always the same hight as the left and right colums.

Im not fantastic with CSS only learning it now through making a change and looking at the effect, needless to say there are many many CTRL Z taking place :-)

Site is - https://www.macropackaging.co.uk/shop

Select any main category and you will see what I mean.

My only addon is Gallery addon and can be seen here breezy

30 Aug 2006, 8:23 PM
#2
sonicparke avatar

sonicparke

Zen Follower

Join Date:
Jul 2006
Posts:
120
Plugin Contributions:
0

Post #2 by sonicparke

This may not be the best way to do it but you can start here:

Find this section of your CSS:

#navBreadCrumb, #navEZPagesTop {
	font-size: 0.95em;
	font-weight: bold;
	margin: 0em;
	padding: 0.5em;
}

Add make it look like this:

#navBreadCrumb, #navEZPagesTop {
	font-size: 0.95em;
	font-weight: bold;
	margin: 0em;
	padding: 0.5em;
        background-color: #FFF;
        height: 100%; 
        }

Also add this to your stylesheet:

table {
        background-color: #FFF;
        height: 100%; 
        }

Find this:

.headernavigation {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #FFFFFF;
	background-color: #C4C5CC;
	border-right-color: #666666;
	border-right-style: solid;
	border-right-width: 2px;
	border-left-color: #666666;
	border-left-style: solid;
	border-left-width: 2px;
	border-top-style: none;
	border-bottom-style: none;
	font-weight: bold;
	border-bottom-color: #666666;
	border-bottom-width: thin;
	vertical-align: middle;
	height: 25px;
	padding-bottom: 6px;
}

And change it to look like this (you are changing color & background-color):

.headernavigation {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #000;
	background-color: #FFF;
	border-right-color: #666666;
	border-right-style: solid;
	border-right-width: 2px;
	border-left-color: #666666;
	border-left-style: solid;
	border-left-width: 2px;
	border-top-style: none;
	border-bottom-style: none;
	font-weight: bold;
	border-bottom-color: #666666;
	border-bottom-width: thin;
	vertical-align: middle;
	height: 25px;
	padding-bottom: 6px;
}

Like I said. There may be a better way to do it but that's what I got form messign with it for 5 minutes or so.