Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

background colors and borders - novice question

Status
Not open for further replies.

DancingGeek

Programmer
Aug 21, 2003
30
US
Hi all,

I'm a novice to DreamWeaver, and to CSS - I understand the concepts but have not used them for a website until now.

I'm struggling with some basic things -

1. Setting different background colors for different layout areas (header, navigation bar, main content, footer). I've played with div tags and set the background color in the .css for those div identifiers, as well as setting different background colors within tables in these areas, but I am not clear on a good way to manage this.

2. My pages are showing up with a large margin on the outside of the main content - how do I eliminate this?

3. Spry navigation bar - trying to implement this, similar troubles on color/style within the navigation bar - not sure of the best place to manage this (page code, css code)?

4. Adding an asset in DW - I wanted to set up header, footer and navigation as assets to reuse in multiple pages; but the Modify, Library, Add Object to Library command is disabled when I select any of these items.

Any help - including any websites or tutorial references - are greatly appreciated.

Cheers,
Geek
 
1. You are on the right path..Use css as you have been doing. A good way to organize a single css sheet is to put all the divs at the top in order; i.e. body, #Wrapper, #Header, #Navigation, # MainContent, #SideBar, #Footer. You can comment it out as /*Layout*/ then put all other css rules under the layout.
2. add the rule:
body {
margin: 0px;
}
3. All kinds of spry info here : 4.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top