TECH CSS Troubles

Coaxsist

Re-create... Innovate
Feb 11, 2008
1,009
I have an external .css to a site, and my background image does not appear on the pages. File path is correct
**background-image: url('Images\image.jpg');**
The file is where the path leads to also.

An internal style within the header works fine though.

Does anyone know what could be up with this?
 

M3Driver

Active Member
Oct 28, 2003
5,610
you used apostrophes instead of quotes, in case what kingtoad wrote wasn't clear
 

Shampoo

Rinse & Repost
May 5, 2004
60,063
California
You don't need apostrophes for it to work, but you need to use a forward slash, not a backslash

Images/picture.jpg
instead of
Images\picture.jpg
 
TS
TS
Coaxsist

Coaxsist

Re-create... Innovate
Feb 11, 2008
1,009
I just copied the filepath. I'll try forward slash though... thanks all
 

Users who are viewing this thread

About Us

  • Please do not post anything that violates any Local, State, Federal or International Laws. Your privacy is protected. You have the right to be forgotten. Site funded by advertising, link monetization and member support.
OT v15.8.1 Copyright © 2000-2022 Offtopic.com
Served by fu.offtopic.com

Online statistics

Members online
482
Guests online
48
Total visitors
530

Forum statistics

Threads
369,626
Messages
16,901,277
Members
86,875
Latest member
Theodor