Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / CSS / November 2005



Tip: Looking for answers? Try searching our database.

bgimage wont repeat

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Alistair - 28 Nov 2005 21:12 GMT
hi all

I have an image that I want to repeat across the very top of my page (it's a
bar with snow melting)

so

.topimage
{
background-image: url(bar.gif);
background-repeat: repeat-x;
left: 0px;
top: 0px;
position: absolute;
}

but no matter what I do, it wont repeat. I only get one of them.

bound to be something obvious but my CSS knowledge ranks up there with my
knowledge of whatever is under my bed!!

thanks for any help
William Tasso - 28 Nov 2005 21:23 GMT
> hi all

How do you do?

> I have an image that I want to repeat across the very top of my page  
> (it's a
[quoted text clipped - 12 lines]
>
> but no matter what I do, it wont repeat. I only get one of them.

What type of element is .topimage?
Is there anything that is limiting its width?

Have you tried specifying {... width:100%;}

Signature

William Tasso

Tony - 28 Nov 2005 23:06 GMT
>.topimage
>{
[quoted text clipped - 4 lines]
> position: absolute;
>}

position:absolute takes the element out of the normal flow, which will
affect it's width rendering. If it is not necessary, remove that line.
Otherwise, specify a width, as William suggested.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.