![]() |
|
|||||||
| Notices |
| Graphic Design and Web Design Help Get Graphic Design and Web Design related help here |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
|
||||
|
you can insert an image in block-level or inline element... handy if you have multiple images you've sliced and need to insert
__________________
Tommy Logic ™ Web Design :: Valid XHTML & CSS :: SEO :: CMS :: eCommerce Web Design Tutorials :: Computer Tutorials |
|
||||
|
body {
margin: 0px; margin-bottom: 5px; padding: 0px; background: #821; color: #9679; font-style:normal; font-variant:normal; font-weight:normal; line-height:15px; font-size:12px; font-family:Lucida Grande, sans-serif; background-image: url (YOUR IMAGE LOCATON HERE); background-repeat: repeat-x; (if u want it to repeat ACROSS the page) background-repeat: repeat-y; (if you want it to repeat DOWN the page) } If u want it to repeat across and down then leave background-repeat out all together this will put a background on the whole website not just 1 container |
|
||||
|
ok I added this line
background-image: url http://www.niccums.com/blog/wp-conte...cums_bkgr.gif; ...it's not working. what did I do wrong? Last edited by jwade_m; 02-11-2007 at 07:01 PM. |
|
||||
|
background-image: url(../bkgr.gif)
location of image must be in parenthasese Example body { background-image: url(stars.gif); background-color: #000000 } Possible Values Value Description url(URL) The path to an image None Default No background image
__________________
Tommy Logic ™ Web Design :: Valid XHTML & CSS :: SEO :: CMS :: eCommerce Web Design Tutorials :: Computer Tutorials Last edited by tommylogic; 02-11-2007 at 07:19 PM. |
|
||||
|
ok...got that. Now I'm having logo problems. This is the code:
#logo { background: url('http://www.niccums.com/blog/wp-content/themes/summerburst-10/images/niccums_logo.png') no-repeat; height: 200px; width: 800px; margin-right: auto; margin-left: auto See any problems...the original logo is gone, but now I just have a blank spot. |
|
||||
|
your version:
background: url('http://www.niccums.com/blog/wp-content/themes/summerburst-10/images/niccums_logo.png') no-repeat; correct version: background-image: url(http://www.niccums.com/blog/wp-content/themes/summerburst-10/images/niccums_logo.png); background-repeat: no-repeat; by the way, is your image not uploaded to the web? If not just pull everything off your folders i.e background-repeat: images/niccums_logo.png; |
|
||||
|
It does not need to be background-image its can be background:
looking at my awesome portfolio page you can see a background and this CSS: mckenziemedia - personal portfolio of mike mckenzie - web designer body {background: url(../images/diamonds.gif);}
__________________
"If at first you don't succeed, try again. Then quit. No use being a damn fool about it." Mike McKenzie - Online Portfolio |
![]() |
|
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Image masking : Image Editing Services | Graphic Design Links | Graphic Design Links | 0 | 24-03-2008 11:50 AM |
| Background image for headers? | dannynosleeves | CSS Forum | 3 | 05-12-2007 10:14 AM |
| CSS List background image bullets - Cross browser problem | bradgreens | CSS Forum | 8 | 30-11-2007 11:54 AM |
| Resizing a css background image | jontywagener | CSS Forum | 2 | 23-11-2007 01:14 PM |
| CSS background image (fit screen) | PolarBear | CSS Forum | 24 | 05-11-2007 05:53 PM |
| All times are GMT. The time now is 09:16 PM. |