[HTML/CSS] Fix Needed. Background Image Won't Work
BN Web Design
If you take a look at the source code, you'll notice that the two divs at the bottom (rates and about me) should have a background image (button.png).
When i view the "preview" in Dreamweaver it works, but it won't work on the actual host. Yes, i've uploaded button.png multiple times, and i even uploaded the files on a different host server, and it still didn't work.
Anyone know what's wrong? Kudos to you if you figure it out.
Thanks.
Re: [HTML/CSS] Fix Needed. Background Image Won't Work
well, seeing it's 500 error rather than 404, something it wrong with your hosting, apparently it doesn't like pngs named button :wink:
Re: [HTML/CSS] Fix Needed. Background Image Won't Work
here you go
div#ratesb img {
display: block;
margin-bottom: 0;
margin-right: auto;
margin-top: 0;
padding: 0;
position: absolute;
}
div#ratesb p {
color: black;
font-family: "Times New Roman",Times;
padding-left: 43px;
position: absolute;
}
just use margin-left for adjustment ;) viola
Re: [HTML/CSS] Fix Needed. Background Image Won't Work
Quote:
Originally Posted by
billiejoe
here you go
div#ratesb img {
display: block;
margin-bottom: 0;
margin-right: auto;
margin-top: 0;
padding: 0;
position: absolute;
}
div#ratesb p {
color: black;
font-family: "Times New Roman",Times;
padding-left: 43px;
position: absolute;
}
just use margin-left for adjustment ;) viola
what you on about?
Re: [HTML/CSS] Fix Needed. Background Image Won't Work
Credit goes to foxx.
Changed the name of button.png to bdivb.png and it worked. This was the result: BN Web Design
Thanks guys.