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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

tiling background

Status
Not open for further replies.

bch33

Technical User
Joined
Oct 13, 2001
Messages
151
Location
US
Is there a way to keep a background from tiling in Dreamweaver?
Thanks
bch
 
There are 2 ways top stop a bg from tileing. one is to set up the image using a css, the other is to takr the base colour and extend the image past the largest viweing size u think your users will use I usualy use 1000 * 700 as a rough guide.

If you require more help let me know.


Manic
-----------------------------
I've broken it again !!
-----------------------------
lee.gale@virgin.net
 
thanks manic,
I use css in Dreamweaver for text and link and hover variables but I'm not sure how I would set up a background image using DW css panel--- any help on that?
thanks

bch
 
Set up a reference in your css.
Go to background and link to your image.
then play with the settings below (repeat, attach, HP and VP).

(I am using dw 4 not sure what other vertions have.)

or you could manualy put these in, here is the code.

.name { background-attachment: fixed;
background-color: #999999;
background-image: url(*.jpg);
background-repeat: no-repeat;
background-position: right bottom}

As habit I always put a bg colour similar to the main colour of the image.

the bits in here are other options.

background-attachment:
Fixed or scroll

background-repeat:
no-repeat
repeat
repeat-x
repeat-y

background-position:
left center right value
and
top center bottom value

value can be in px, pt, in and more.

hope this helps


Manic
-----------------------------
I've broken it again !!
-----------------------------
lee.gale@virgin.net
 
perfect- I'm usind DW4 so should be no prob.
Thanks so much for all
bch
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top