Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java Open Source > Apache Tomcat
|
Apache Tomcat General discussion of the Apache Tomcat servlet container. For discussions specific to the Professional Apache Tomcat book, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Apache Tomcat section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 12th, 2005, 02:14 AM
MW_ MW_ is offline
Registered User
 
Join Date: Apr 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to MW_
Default Problem with background images in CSS & Tomcat

 Hi,

I have problems displaying background images using CSS through the tomcat server.

I basically have a html file which links to a css file which has the background style. An example of one of the styles is

.centeractivetab
{
    background-image : url(../images/Tabs/centeractivetab.png);
    background-repeat : repeat;
    text-align:left;
    border-bottom:none;
    font-family : verdana,arial,sans-serif ;
    font-size:.8em;
    text-decoration: none;
    cursor: default;
}

The background image appears when I load the html file directly through IE. However, when I load it through the tomcat server, the background image is not there.

I am currently using Tomcat 5.0. I am really sure its because of Tomcat cause I tried another servlet, IIS, and it worked there.

Any idea why is this happening?

Thanks!!

 
Old April 17th, 2005, 07:55 PM
Authorized User
 
Join Date: Aug 2004
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Default

What browser do u use ????

Best regards,

Randhy

 
Old April 18th, 2005, 08:07 AM
Registered User
 
Join Date: Apr 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You need to put your code here

nabi





Similar Threads
Thread Thread Starter Forum Replies Last Post
CSS HELP:! CSS EXPANDIBLE BACKGROUND FOR TITLE phpuser2000 CSS Cascading Style Sheets 2 December 19th, 2007 12:36 AM
background image width through CSS problem inOpera iamrakesh22 CSS Cascading Style Sheets 0 May 31st, 2007 06:09 AM
[resolved] Trinidad & Tomcat Problem with examples pouet Apache Tomcat 1 May 11th, 2007 09:27 AM
CSS Background images not loading in ASP.NET 2.0 vinyel23 ASP.NET 2.0 Basics 0 January 5th, 2007 12:54 PM
Problem with background images in CSS & Tomcat MW_ CSS Cascading Style Sheets 4 April 12th, 2005 02:41 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.