Welcome to Geeklog, Anonymous Monday, May 27 2024 @ 03:38 pm EDT

Geeklog Forums

CSS Not Show in IE


Status: offline

congleal

Forum User
Full Member
Registered: 11/08/04
Posts: 179
I am working pro bono on a site for area veterans. I've made modifications to the CSS file and it shows up satisfactorily in Firefox browser but not in IE.
I've used the following to modify the background for the box title background: background:url(/images/cammobackground.jpg)no-repeat;
The address of the site is:
http://cccv.westchester-times.com/
If anyone can help I'd appreciate it, I've checked the CSS Tutorial website but couldn't find an answer.

Thanks
 Quote

Status: offline

suprsidr

Forum User
Full Member
Registered: 12/29/04
Posts: 555
Location:Champaign, Illinois
for theme spacific images, you should put them in you theme/images directory. the url would then be url(images/cammobackground.jpg) no-repeat;
otherwise the path should be pointing to you public_html/images directory ../../images/cammobackground.jpg which is where you have yours.

ff is smart enough to figure this out where as ie is not Smile
FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 - http://www.flashyourweb.com
 Quote

Status: offline

congleal

Forum User
Full Member
Registered: 11/08/04
Posts: 179
I have the graphic in both images directory but it still doesn't show in the IE... not sure what else to do.

Lee
 Quote

Status: offline

suprsidr

Forum User
Full Member
Registered: 12/29/04
Posts: 555
Location:Champaign, Illinois
try removing the / in front of images/cammo.jpg
FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 - http://www.flashyourweb.com
 Quote

congleal

Anonymous
I've changed the statement as you've recommended, but still not able to view in IE .... Is there another syntax that will trigger IE to look in the given directories?

Thanks,

Lee
 Quote

congleal

Anonymous
After much trial and error I've got the correct syntax for IE to pickup the background statement... as follows:
background-image: url(/images/cammo.jpg);

Thanks! Big Celebration
 Quote

All times are EDT. The time is now 03:38 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content