home
hardware prices
news
articles
forums
photos
user reviews
Tech Support Forums - TechIMO.com
>
PC Hardware and Tech
>
Webmastering and Programming
CSS & Background Images
Join TechIMO for Free!
User Name
Remember Me?
Password
Register
Blogs
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Get bargains at
»
Thread Tools
Currently Active Users
: 1780
Discussions: 188,401, Posts: 2,243,601, Members: 232,629
December 30th, 2004, 04:55 AM
#
1
(
permalink
)
ClubMed
Registered User
Join Date: Oct 2001
Posts: 4,097
CSS & Background Images
I currently have a page with the following css settings:
Quote:
/* General page style. The scroll bar colours only visible in IE5.5+ */
body {
background-color: #7F9496;
scrollbar-face-color: #DEE3E7;
scrollbar-highlight-color: #FFFFFF;
scrollbar-shadow-color: #DEE3E7;
scrollbar-3dlight-color: #D1D7DC;
scrollbar-arrow-color: #006699;
scrollbar-track-color: #EFEFEF;
scrollbar-darkshadow-color: #98AAB1;
How can I change the background from being a colour to being an image? What kind of code does the style sheet need to do this?
Can I simply change it to:
background-image: something.jpg; ?
TechIMO.com Ads - Login or
register
for less ads.
Guest
,
Register Free!
to remove this ad and get your tech support questions answered in minutes!
December 30th, 2004, 05:31 AM
#
2
(
permalink
)
Whir
Kawaru wa yo!
Join Date: Oct 2001
Location: Kingsford, MI
Posts: 16,137
Blog Entries:
7
background-image: ("filename.jpg");
December 30th, 2004, 05:39 AM
#
3
(
permalink
)
James T
Senior Member
Join Date: Jul 2004
Location: New Zealand
Posts: 582
A little off-track from your comment, but for amazing use of css have a look at this
http://www.meyerweb.com/eric/css/edg...iral/demo.html
December 30th, 2004, 05:41 AM
#
4
(
permalink
)
VHockey86
Perfetc Member
Join Date: Jan 2003
Location: Maryland Suburbia
Posts: 4,327
I normally just use
Code:
body { background-image: url('image.jpg') }
Above is the same thing though.
Pretty impressive page linked above.
Last edited by VHockey86 : December 30th, 2004 at
05:43 AM
.
December 30th, 2004, 05:46 AM
#
5
(
permalink
)
Whir
Kawaru wa yo!
Join Date: Oct 2001
Location: Kingsford, MI
Posts: 16,137
Blog Entries:
7
Oops, my bad! Forgot the url(). Too late for my brain to work properly.
December 30th, 2004, 05:47 AM
#
6
(
permalink
)
VHockey86
Perfetc Member
Join Date: Jan 2003
Location: Maryland Suburbia
Posts: 4,327
ah, ive never tried it the other way so you fooled me =)
Last edited by VHockey86 : December 30th, 2004 at
05:52 AM
.
«
Development tools
|
Another PHP / Logging Question
»
Currently Active Users Viewing This Thread: 1
(0 members and 1 guests)
Thread Tools
Show Printable Version
Email this Page
Posting Rules
You
may
post new threads
You
may
post replies
You
may not
post attachments
You
may not
edit your posts
vB code
is
On
Smilies
are
On
[IMG]
code is
On
HTML code is
Off
Trackbacks
are
Off
Pingbacks
are
On
Refbacks
are
Off
Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
layering in dreamweaver?
sao95
Graphic Design and Digital Photography
34
April 30th, 2004
05:15 PM
Most Active Discussions
Is It Just Me?
(
2906
)
Unarmed man on his stomach shot by ..
(
6
)
Misery Loves Company...
(
2144
)
New Build ( Finally )
(
6
)
CPU wont boot
(
7
)
Building a gaming computer advice
(
5
)
I think I just killed my computer w..
(
24
)
Folderchat Weekday thread
(
444
)
Upgrading RAM
(
6
)
Recent Discussions
How do you move a hard-drive to..
(
4
)
Laptop proccesor to desktop mob..
(
1
)
What is the best external enclo..
(
0
)
Partition Magic 7.0 (Unallocate..
(
17
)
For cheap price and good qualit..
(
1
)
Left 4 Dead Small Freezes
(
3
)
RCA 52Inch HDTV wont turn on
(
4
)
wishin i could edit my aol prof..
(
0
)
Sporadic internet connectivity
(
2
)
Blackberry Storm, Gears of War ..
(
1
)
Core 2 Quad Q9550 system
(
3
)
COWBOOM Ripoff! Used Laptop w/$..
(
4
)
All times are GMT -4. The time now is
03:41 AM
.
TechIMO Copyright 2008
All Enthusiast, Inc.
Contact Us
-
Tech Support Forums - TechIMO.com
-
Archive
-
Privacy Statement
-
Terms of Use
-
Coupons and Deals and Dealighted
-
Store Ratings and Reviews
-
Web Business Blog
-
Top
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28