Question on background image in Dreamweaver

jag5311's picture

They have: 202 posts

Joined: Jan 2002

Is there any way to keep dreamweaver from overlapping the background image, so it will only show it once? I have a decent background going but it onced to repeat. I want it to stop. can ya help?

thanks

bryan

The Webmistress's picture

She has: 5,586 posts

Joined: Feb 2001

You need to set up a style sheet for this. Click on :

Text > CSS Styles > New Style > Redefine HTML Tag - Body (either this document only or create an external style sheet) > OK > Category = Background - Browse & find your background image - Repeat = no-repeat - Attachment = fixed - Use the horizontal & vertical to fix the positioning of the image.

Note : this will only show up correctly when viewing the page in a browser, don't worry about where the image is in the design view of DW.

Julia - if life was meant to be easy Michael Angelo would have painted the floor....

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.