The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> HTML and Repeat?
jgcalifornia
post Apr 23 2010, 11:19 AM
Post #1





Group: Members
Posts: 7
Joined: 23-April 10
Member No.: 11,721



Is there no way to repeat an image that IS NOT the background image to a page using html??
Using the <div> tag, the image shows up, but suppose i want the image repeating across the bottom of the screen?
Thanks for any help!!
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Apr 23 2010, 12:14 PM
Post #2


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 18,445
Joined: 9-August 06
Member No.: 6



Repeat the IMG tag.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Apr 23 2010, 01:54 PM
Post #3


WDG Member
********

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



Or use CSS to specify an image that repeats only horizontally, or to specify a background image only for whatever element appears at the bottom of the page.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Apr 23 2010, 02:03 PM
Post #4


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 18,445
Joined: 9-August 06
Member No.: 6



QUOTE(Darin McGrew @ Apr 23 2010, 08:54 PM) *

Or use CSS to specify an image that repeats only horizontally


Huh? wacko.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Apr 25 2010, 10:49 PM
Post #5


WDG Member
********

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



QUOTE(Darin McGrew @ Apr 23 2010, 08:54 PM) *
Or use CSS to specify an image that repeats only horizontally
QUOTE(pandy @ Apr 23 2010, 12:03 PM) *
Huh? wacko.gif
My idea was to have an image that repeats horizontally, and is positioned at the bottom of the body element (or at the bottom of the div element, if appropriate). That would give you a horizontal bar made up of an image that repeated as necessary, but no further than necessary. A row of img elements would force a specific width, or would wrap if there wasn't enough room for that number of img elements.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Apr 26 2010, 07:11 AM
Post #6


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 18,445
Joined: 9-August 06
Member No.: 6



Are you talking about a background image or have you found the holy grail?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Apr 26 2010, 05:04 PM
Post #7


WDG Member
********

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



Yes, it's a background image, but many people think of background images as repeating to cover the whole page. From the description, it sounds to me like a positioned background image that repeats horizontally can do what the OP wants.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Apr 26 2010, 06:02 PM
Post #8


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 18,445
Joined: 9-August 06
Member No.: 6



Well, he asks if if can be done with an ordinary image. But I guess if the image is content, one could place the same image as an inline image on top of the repeating version of itself.
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: 5th December 2019 - 10:15 AM