Wrox Programmer Forums
|
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0
This is the forum to discuss the Wrox book ASP.NET 2.0 Website Programming: Problem - Design - Solution by Marco Bellinaso; ISBN: 9780764584640
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 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 March 19th, 2008, 12:12 AM
Registered User
 
Join Date: Mar 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to replace " TheBeerHouse " banner image?

Hi,

I am new ASP.net developer. I have basic question here: I try to change the HTML div's background image (On the master page) by changing Default.css, but result always same as before. I even delete Header.gif from related theme folder (to make sure no this file exists in this project anywhere) and add myImage.gif there,but nothing changed. I was wondering where the image came from? Could you please help me out? thanks

I Changed

#header2
{
   padding: 0px;
   margin: 0px;
   width: 780px;
   height: 184px;
   background-image: url(images/Header.gif);
}

To

#header2
{
   padding: 0px;
   margin: 0px;
   width: 780px;
   height: 184px;
   background-image: url(images/myImage.gif);
}

Masterpage has following line

<div id="header2">some test<div/>

 
Old March 19th, 2008, 07:52 AM
Friend of Wrox
 
Join Date: Mar 2007
Posts: 488
Thanks: 2
Thanked 11 Times in 10 Posts
Default

irisl,

did you clear the cache?? this can sometimes happen if the cache contains the 'old' data.

jimi

http://www.originaltalent.com
 
Old March 19th, 2008, 08:44 AM
Registered User
 
Join Date: Mar 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks jimi. How to clear that cache? I shot down browse and project and restarted them (with no header.gif file included). the case not changed. I browsed my working directory there was no extra header.gif file anywhere. Do you have any idea ? Thanks again

irisl

 
Old April 2nd, 2008, 04:45 PM
Registered User
 
Join Date: Apr 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Did you save all and rebuild project?
 
Old April 2nd, 2008, 08:59 PM
Authorized User
 
Join Date: Mar 2008
Posts: 62
Thanks: 1
Thanked 3 Times in 3 Posts
Send a message via Yahoo to kalel_4444
Default

Quote:
quote:Originally posted by irisl
 Thanks jimi. How to clear that cache? I shot down browse and project and restarted them (with no header.gif file included). the case not changed. I browsed my working directory there was no extra header.gif file anywhere. Do you have any idea ? Thanks again

irisl
irisl,
After restarting the project, try one of 2 things.

F5 to refresh and get new data. If that doesn't work, clear the cache/history from your browser, there's nothing to clear from the project. I'm pretty sure that is what Jimi meant when he said 'clear the cache'.

Ronnie






Similar Threads
Thread Thread Starter Forum Replies Last Post
Banner display in asp SKhna Classic ASP Basics 1 May 5th, 2008 06:38 PM
How to replace image in asp?? Swati Chari Classic ASP Basics 1 March 27th, 2008 07:39 AM
Replace image Swati Chari ASP.NET 1.0 and 1.1 Basics 3 March 26th, 2008 07:57 AM
intresting banner? sirup_segar Dreamweaver (all versions) 1 May 30th, 2007 04:25 AM
Pausing a rotating image banner 132591 Javascript How-To 1 December 18th, 2006 01:54 AM





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