Specialty Forums
Security and Virus
General Hardware
CPUs/Overclocking
Networking
Digital Photo/Video
Office Software
PC Gaming
Console Gaming
Programming
Database
Web Development
Digital Home

General Forums
Windows XP
Windows Vista
Windows 95/98
Windows Me
Windows NT
Windows 2000
Win Server 2008
Win Server 2003
Windows 3.1
Linux
PDAs
BeOS
Novell Netware
OpenVMS
Solaris
Disk Op. System
Unix
Mac
OS/2

Drivers
Driver Scan
Driver Forum

Software
Automatic Updates

BIOS Updates

My Computing.Net

Solution Center

Free IT eBook

Howtos

Site Search

Message Find

RSS Feeds

Install Guides

Data Recovery

About

Home
Reply to Message Icon Go to Main Page Icon

in css...

Original Message
Name: kokosovnik
Date: August 14, 2007 at 04:42:02 Pacific
Subject: in css...
OS: windows xp
CPU/Ram: intel 1gb
Model/Manufacturer: pentium
Comment:
what is the difference between background and background-image?? where should i use them?

thanks

you can write me: txakurra@doramail.com


Report Offensive Message For Removal


Response Number 1
Name: Laler
Date: August 14, 2007 at 08:16:07 Pacific
Subject: in css...
Reply: (edit)
don't post emails on public pages, spambots are crawling :D

---

background-image is for putting image in background.

I prefer the shorthand. Never used explicit background-image lately.

---

Black colored background:

.className { background: #000000; }

Black color, and an image centered vertically and horizontally. The image isn't tiled (no-repeat) and will scroll with the page:

.className { background: #000000 url('path/file.gif') no-repeat scroll 50% 50%; }


More info: http://www.w3schools.com/css/css_ba...


---
Why can't I change my sig? (this one is manually edited)


Report Offensive Follow Up For Removal

Response Number 2
Name: mie2com
Date: August 14, 2007 at 12:38:35 Pacific
Subject: in css...
Reply: (edit)
correct me if i'm wrong, but i think "background" would be use to merge all the background attribute at once. example:

background: url("image.jpg") no-repeat fixed #000000

while background-image is just use to insert image in the background.


Report Offensive Follow Up For Removal




Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: in css...

Comments:

 
  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 


Data Recovery Software




Batch File- Current Date in Excel

how to setup call of duty to joytok

WindowsME / HotMail Problem

Corrupt memory

Convert fat32 to Ntfs


The information on Computing.Net is the opinions of its users. Such opinions may not be accurate and they are to be used at your own risk. Computing.Net cannot verify the validity of the statements made on this site. Computing.Net and Computing.Net, LLC hereby disclaim all responsibility and liability for the content of Computing.Net and its accuracy.
PLEASE READ THE FULL DISCLAIMER AND LEGAL TERMS BY CLICKING HERE

All content ©1996-2007 Computing.Net, LLC