PDA

View Full Version : A main div for all the content.


PB Media
Sep-03-2007, 08:59 PM
http://i10.photobucket.com/albums/a132/mtnbrider/graphics/screenshots/smugmug1.jpg

Is there is a div or way I could add a div containing all that stuff in the orange sqaure?

oxy8384
Sep-04-2007, 07:54 AM
Would be to open a div somewhere in your header code:
<div id="myMainContent">
And then close it somewhere in your footer:
</div> <!-- end myMainContent -->
You may need to adjust its positin in those two sections to make sure it only contains the content you care about...

You might also want to try the #bodyWrapper div (which already exists) to see if that does what you want.

Bill

PB Media
Sep-04-2007, 11:29 PM
Thanks for the help! I didn't think of doing it through the header and footer boxes.

Something I really can't figure out is how to change the color of the catagories and album text:
Patrick Branch > Sports > Snow Sports > 07.03.03 -Bear Mountain with Wes (snowboarding)

I tried the Nav Class, but that didn't work.

My Smugmug (http://mediabypb.smugmug.com/gallery/3408763#190765989)

oxy8384
Sep-05-2007, 06:41 AM
Try adding this to your CSS:
#breadcrumb {
color: #xxxxxx;
}
(for the '>'s in between the sections)

#breadcrumb a {
color: #yyyyyy;
}
for the links and

#breadcrumb a:hover {
color: #zzzzzz;
}
for the hover effect.

Bill

PB Media
Sep-05-2007, 05:55 PM
Okay, cool! I wasn't sure what the breadcrumbs were.

edit:

#breadcrumb
{
color: Black;
}

#breadcrumb a
{
color: Black;
}

#breadcrumb a:hover
{
color: Red;
}

...didn't do it.