Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
How do you autoresize backgrounds on dreamweaver?
Old 10-05-2006, 12:14 PM How do you autoresize backgrounds on dreamweaver?
Junior Talker

Posts: 1
Name: Giles
Trades: 0
Hi,

Im brand new to dreamweaver, I've put my background in but when I run it in a browser its just a small pic in the corner, is there any code etc that I can change so that it auto resizes to fill the screen?

any help apprreciated, Giles
call_giles_ is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-05-2006, 12:23 PM Re: How do you autoresize backgrounds on dreamweaver?
knives-out's Avatar
Skilled Talker

Posts: 51
Name: simon
Location: London
Trades: 0
Did you want the image to tile? rather than stretch?

If so you can tile on both the x and y co-ordinates. The below code will tile the image in both x and y.



<style type="text/css">
<!--
body {
background-image: url(
yourimage.gif);
background-repeat: repeat;
}
-->
</style>


or use

background-repeat: repeat-x;

for just the x

and

background-repeat: repeat-y;
__________________
------------------
Laugh now
but one day
we`ll be
in charge
------------------
knives-out is offline
Reply With Quote
View Public Profile
 
Old 10-05-2006, 02:44 PM Re: How do you autoresize backgrounds on dreamweaver?
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
If you add the image by editing Page Properties in DW it will automatically set it to tile the image on the body tag. However, the CSS method is the much better way to accomplish the effect.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to How do you autoresize backgrounds on dreamweaver?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.11351 seconds with 12 queries