The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Background Help
HTML Dummy
post May 17 2007, 08:54 AM
Post #1





Group: Members
Posts: 3
Joined: 17-May 07
Member No.: 2,836



Is there an HTML tag that you can use for a background and it will atomaticly stretch or shrink the image to make the whole image the background and just the picture is vewable as the background on any screan size while it does not just do multipul of the images togeather?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post May 17 2007, 09:40 AM
Post #2


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



No. CSS3 may offer the ability to resize background images, but browsers don't support it yet.

Your best bet is to use a non-repeating background image with a background color that matches the border of the image. See the FAQ entry How do I have a non-tiling (non-repeating) background image?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
HTML Dummy
post May 18 2007, 07:44 AM
Post #3





Group: Members
Posts: 3
Joined: 17-May 07
Member No.: 2,836



how do you do that then?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post May 18 2007, 11:09 AM
Post #4


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



See the FAQ entry I linked to.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
HTML Dummy
post May 18 2007, 05:06 PM
Post #5





Group: Members
Posts: 3
Joined: 17-May 07
Member No.: 2,836



linked too from were, can u plz gimme the link
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post May 18 2007, 06:37 PM
Post #6


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



QUOTE(Darin McGrew @ May 17 2007, 07:40 AM) *

User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Andrew315
post May 28 2007, 11:44 AM
Post #7


Member
***

Group: Members
Posts: 41
Joined: 31-January 07
Member No.: 1,739



cant you just add
width: 100%; and height: 100%;?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post May 28 2007, 12:39 PM
Post #8


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



QUOTE(Andrew315 @ May 28 2007, 09:44 AM) *
cant you just add
width: 100%; and height: 100%;?
Not for a background image, no.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Andrew315
post May 28 2007, 07:42 PM
Post #9


Member
***

Group: Members
Posts: 41
Joined: 31-January 07
Member No.: 1,739



i have done it before and it worked. im not trying to argue or anything im still a beginner.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post May 28 2007, 08:18 PM
Post #10


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,733
Joined: 9-August 06
Member No.: 6



You can stop a background from tiling but you can't stretch it. Maybe you used an inline image.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 27th April 2024 - 10:06 AM