I deleted a div, but it's still there? |
I deleted a div, but it's still there? |
gov423 |
Feb 8 2013, 08:49 AM
Post
#1
|
Newbie Group: Members Posts: 12 Joined: 8-February 13 Member No.: 18,620 |
I'm creating a CV website, and as well as relevant information I've included a photo of myself which is contained inside a div.
On the 'Contact Me' page, I deleted this div so it was just a form on the page. However, the picture is still there even though the code for it isn't there. I use Dreamweaver and in the Design View, it doesn't show a picture either, only when I go on the website itself. Any help would be appreciated |
Christian J |
Feb 8 2013, 11:14 AM
Post
#2
|
. Group: WDG Moderators Posts: 9,656 Joined: 10-August 06 Member No.: 7 |
Sounds like your browser is showing a cached version of the online web page.
|
gov423 |
Feb 8 2013, 11:15 AM
Post
#3
|
Newbie Group: Members Posts: 12 Joined: 8-February 13 Member No.: 18,620 |
I tried a hard refresh, and the right files are on the server so I can't think what else it could be
|
pandy |
Feb 8 2013, 11:22 AM
Post
#4
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Maybe you deleted the DIV but forgot to delete the IMG tag.
|
gov423 |
Feb 8 2013, 11:24 AM
Post
#5
|
Newbie Group: Members Posts: 12 Joined: 8-February 13 Member No.: 18,620 |
The image tag is definitely gone too, here's the HTML for the page:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Ross Govan</title> <script type="text/javascript" src="jquery.js"></script> <style type="text/css"> @import url(css.css); </style> <script type="text/javascript" src="js.js"></script> <?php include 'header.php'; ?> </head> <body> <div id="wrapper"> <h1>RG</h1> <ul id="nav"> <li><a href="index.html">Welcome</a></li> <li><a href="educ.html">Education</a></li> <li><a href="work.html">Work</a></li> <li><a href="contact.html">Contact</a></li> </ul> <div id="content"> <h2>Contact Me</h2> <div id="form"> <form method="post" action="mailer.php"> <p>Name:</p> <input type="text" name="name" font-colour="#faeed1" size="19"><br> <p>Email:</p> <input type="text" name="email" font-colour="#faeed1" size="19"><br> <p>Message:</p> <textarea bgcolor="#c2a663" rows="5" name="message" cols="40"></textarea> <br> <br> <input type="submit" value="Submit" name="submit"> <br> </form> </div> </div> </div> </body> </html> |
pandy |
Feb 8 2013, 11:55 AM
Post
#6
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
If you don't want to post the URL to the page here, you can PM it to me if you want and I can check if the image is gone or not. Since I've never visited your page I can't have it cached.
|
gov423 |
Feb 8 2013, 12:06 PM
Post
#7
|
Newbie Group: Members Posts: 12 Joined: 8-February 13 Member No.: 18,620 |
I've done some more work on it and it seems to be something to do with the .js file, as it keeps repeating the template I have which involves the image
|
gov423 |
Feb 8 2013, 12:19 PM
Post
#8
|
Newbie Group: Members Posts: 12 Joined: 8-February 13 Member No.: 18,620 |
Ok for some reason now it's working! the image isn't appearing on the 'Contact' page! Thanks for the help! I really appreciate it!
|
pandy |
Feb 8 2013, 01:48 PM
Post
#9
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Was just going to tell you I don't see it. No need for that then.
Maybe it was some kind of caching anyway. Servers can also cache pages, although I'm not totally sure about how that works. I don't think the script can affect this. |
Lo-Fi Version | Time is now: 23rd April 2024 - 08:30 AM |