Graphic Design Forum and Web Design Forum  

Go Back   Graphic Design Forum and Web Design Forum »General »Graphic Design and Web Design Help

Notices

Graphic Design and Web Design Help Get Graphic Design and Web Design related help here


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-11-2007, 05:48 PM
jwade_m's Avatar
Graphic/Web Designer
 
Join Date: Aug 2007
Location: Indiana, United States
Posts: 197
Default Background image

I think this is where I would put a background image...

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;
}

But what code do I type, and what is the difference between "background" and "color"?
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote

  #2 (permalink)  
Old 02-11-2007, 06:37 PM
tommylogic's Avatar
f*ck yeah it validates!!!
 
Join Date: Apr 2007
Location: Virtually Everywhere
Gender: Male
Posts: 6,314
Default

you can insert an image in block-level or inline element... handy if you have multiple images you've sliced and need to insert
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #3 (permalink)  
Old 02-11-2007, 06:46 PM
...Gav's Avatar
norks!
 
Join Date: Oct 2007
Gender: Male
Posts: 453
Default

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
__________________
RSS me!
ghdesign-studio blog
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #4 (permalink)  
Old 02-11-2007, 06:59 PM
jwade_m's Avatar
Graphic/Web Designer
 
Join Date: Aug 2007
Location: Indiana, United States
Posts: 197
Default

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.
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #5 (permalink)  
Old 02-11-2007, 07:15 PM
tommylogic's Avatar
f*ck yeah it validates!!!
 
Join Date: Apr 2007
Location: Virtually Everywhere
Gender: Male
Posts: 6,314
Default

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

Last edited by tommylogic; 02-11-2007 at 07:19 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #6 (permalink)  
Old 02-11-2007, 07:54 PM
jwade_m's Avatar
Graphic/Web Designer
 
Join Date: Aug 2007
Location: Indiana, United States
Posts: 197
Default

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.
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #7 (permalink)  
Old 03-11-2007, 12:43 AM
...Gav's Avatar
norks!
 
Join Date: Oct 2007
Gender: Male
Posts: 453
Default

yea cuz u need background-image for the image to display correctly
__________________
RSS me!
ghdesign-studio blog
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #8 (permalink)  
Old 03-11-2007, 12:46 AM
...Gav's Avatar
norks!
 
Join Date: Oct 2007
Gender: Male
Posts: 453
Default

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;
__________________
RSS me!
ghdesign-studio blog
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #9 (permalink)  
Old 03-11-2007, 02:24 AM
Mack's Avatar
I own the flash design thread.
 
Join Date: May 2007
Location: RI, USA
Gender: Male
Posts: 1,449
Default

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
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #10 (permalink)  
Old 03-11-2007, 09:49 AM
...Gav's Avatar
norks!
 
Join Date: Oct 2007
Gender: Male
Posts: 453
Default

maybe it isnt showing then because your pointing the image URL to something that isnt there..
__________________
RSS me!
ghdesign-studio blog
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

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.



Estetica Design Forum's Privacy Policy
Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0