This is a discussion on "[SOLVED] using background images to fill div's" within the Web Page Design section. This forum, and the thread "[SOLVED] using background images to fill div's are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
[SOLVED] using background images to fill div's
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
[SOLVED] using background images to fill div's
I am trying to use CSS to fill in a div, using the backgoround image property.
where am i going wrong. any help will be grateful Cheers Dan |
|
|
|
||||
|
Re: using background images to fill div's
You will need a width (width of the image)
|
|
||||
|
Re: using background images to fill div's
I'm presuming your problem is that the image is not appearing?
I think you have missed the background-position and background-repeat properties!
Good luck! HtH! Jack
Last Blog Entry: A Week with VBulletin (Aug 28th, 2008)
|
|
|||
|
Re: using background images to fill div's
You beauti, It has work thanks for that, as per usually amazingly fast response.
Cheers Dan |
|
||||
|
Re: using background images to fill div's
I dont think you need :
|
|
||||
|
Re: using background images to fill div's
Actually I think you are right! So all you need is:
Saves some file space I spose Jack
Last Blog Entry: A Week with VBulletin (Aug 28th, 2008)
|
|
||||
|
Re: using background images to fill div's
If you set the width to greater than you will need the background-repeat then.
EDit - Ok, I tried. If you set the width and height to be greater than your image, then you will need to use:
top right left center bottom inherit And that you can match 2 like so:
Jack
Last Blog Entry: A Week with VBulletin (Aug 28th, 2008)
|
|
||||
|
Re: using background images to fill div's
Quote:
|
|
||||
|
Re: using background images to fill div's
No worries happy to help
I'll have a whole site up soon with some of my small tutorials with stuff like this. Jack
Last Blog Entry: A Week with VBulletin (Aug 28th, 2008)
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [SOLVED] having a couple of div's underneath each other? | cosmicbdog | Web Page Design | 21 | Dec 3rd, 2007 11:46 |
| [SOLVED] Trouble hiding/showing DIV's | recreant | JavaScript Forum | 5 | Dec 3rd, 2007 05:57 |
| [SOLVED] using background images in a list | marisa | Web Page Design | 3 | Nov 28th, 2007 12:55 |
| [SOLVED] pentool with a fill? | ahwell | Flash & Multimedia Forum | 7 | Oct 31st, 2007 11:19 |
| [SOLVED] Background Images | admiral1977 | Starting Out | 6 | Oct 29th, 2007 15:31 |