HTML/CSS (Adding an Image)

Status
Not open for further replies.

Jamie Holle

Active Member
741
2011
136
0
Hey there, I need to add an image to my template on http://DragonHost.org

Now when you get to the site itself scroll down to have a clear view of the plan boxes ( Not making you see me wonderful prices XD )

I need to add an image to the left side and the right side of the boxes. I know this consists of HTML/CSS.

Both images will me slightly smaller than the plan boxes.

If anyone could help me out this would be great.
 
13 comments
I usually do it like this.

HTML

PHP:
<div class="left-img-bg">
<div class="right-img-bg">
<div class="planwrapper">
content here
</div>
</div>
</div>

The CSS

PHP:
div.left-img-bg{
background:url(image location) center left no-repeat;
}
div.right-img-bg{
background:url(image location) center right no-repeat;
}

good luck :D
 
Your site loads very slowly. Actually I'm waiting since like 5 minutes and the page is still blank and the browser says 'connecting'.

I admit it does take a while to load but 5 minutes..who's your internet provider your satalight dish ?

I usually do it like this.

HTML

PHP:
<div class="left-img-bg">
<div class="right-img-bg">
<div class="planwrapper">
content here
</div>
</div>
</div>
The CSS

PHP:
div.left-img-bg{
background:url(image location) center left no-repeat;
}
div.right-img-bg{
background:url(image location) center right no-repeat;
}
good luck :D


That CSS code is wrong it should start with .***
 
Last edited by a moderator:
Friendly advice: Why don't you design a table with PS and slice it? it'll be better. Plus that price table is so ugly with text all over it.
 
:facepalm: did you even tried the code posted by Not_Responding ?

that is what you need, try it and you will see that is working.

he added the css class only to div that's why is div.*** and not .***

btw ... that dragon is killing your template
 
You're running a business. You should not expect people to do things for you for free. It shows how unprofessional you are.

Not_Responding gave you code that would work had you had the slightest amount of knowledge about HTML/CSS. If you want it done entirely for you, pay someone to do it, like every other real business does.
 
well a lot of people are helping me out for free. I help people out for free with graphics and VBulletin installations.

Now if you had the knowledge that code Not_Responding DOESN'T work because I have someone that has helped me for FREE.

Now if you have any other complaints against this please don't reply because I have reported your post as spam since it has nothing to do with this thread.

This thread was created for some help within HTML/CSS not for people like you to spam and make stupid regardless comment's.
 
There's a difference between free help for a personal project and free help for a business you're running for profit. It's not fair for you to profit when those who help you deserve to be paid for their work.

If you build your business on the back of people helping you for free, you've built it dishonestly. Bottom line.

And report me as spam as much as you like. I'm not spamming.
 
Status
Not open for further replies.
Back
Top