![]() | ![]() | ![]() |
| |||||||
| Forums | Register | Groups | Awards | Arcade | Pets | T-Bucks / T-Store | Invite Your Friends | All Albums | Projects | Blogs | Mark Forums Read |
| Web Design Forums and discussions on webdesign |
Web Design | |||||||||
|
|
|
|
| |||||
![]() |
| | LinkBack | Thread Tools |
| | #8 (permalink) |
| Civilians | Owen wrote: > This is the wierdest problem. > > I have a web page with some HTML code, for example: > > <a href="mypage.htm"><img src="pagelogo.gif" alt="click here"></img></a> > > But when I visit the page in my browser (both IE and Firefox do it), the > image is missing, and when I do a "View Source", the code has been *changed* > so that the <img> portion is replaced (yes, replaced!) by spaces: > > <a href="mypage.htm"> (spaces!) </a> > > However, the symptoms only seem to occur on my home PC - the page works fine > on my work PC. The page in question is www.binarybaby.co.uk - there > should be an animated logo (.gif) at the top of the page. > > Why in the name of God are my browser(s) bastardising the HTML code? It > can't be the server because it only occurs on my home PC. And the files on > the server are correct. > > W.T.F.?????? > > Owen > > uh. That's not how you do an image tag. <img src=""...></img> isn't right. <img src=""> ....and... <img src="" /> ....should work better! -- x theSpaceGirl (miranda) # lead designer @ http://www.dhnewmedia.com # # remove NO SPAM to email, or use form on website # |
|
| | #9 (permalink) |
| Civilians | "SpaceGirl" <NOtheSpaceGirlSPAM@subhuman.net> wrote in message news:369gneF4unsakU1@individual.net... > Owen wrote: >> This is the wierdest problem. >> >> I have a web page with some HTML code, for example: >> >> <a href="mypage.htm"><img src="pagelogo.gif" alt="click here"></img></a> >> >> But when I visit the page in my browser (both IE and Firefox do it), the >> image is missing, and when I do a "View Source", the code has been >> *changed* so that the <img> portion is replaced (yes, replaced!) by >> spaces: >> >> <a href="mypage.htm"> (spaces!) </a> > > uh. That's not how you do an image tag. > > > <img src=""...></img> isn't right. > > <img src=""> > > ...and... > > <img src="" /> > > ...should work better! > Actually, the way I did it renders fine (in IE and Firefox for certain) but that's beside the point. The syntax of my IMG tag does not explain why a large chunk of it is overwritten with SPACES when it arrives on my browser. Have you got anything that might answer my question or do you just want to critique my HTML skills? ;o) Owen |
|
| | #10 (permalink) |
| Civilians | Owen wrote: > "SpaceGirl" <NOtheSpaceGirlSPAM@subhuman.net> wrote in message > news:369gneF4unsakU1@individual.net... > >>Owen wrote: >> >>>This is the wierdest problem. >>> >>>I have a web page with some HTML code, for example: >>> >>><a href="mypage.htm"><img src="pagelogo.gif" alt="click here"></img></a> >>> >>>But when I visit the page in my browser (both IE and Firefox do it), the >>>image is missing, and when I do a "View Source", the code has been >>>*changed* so that the <img> portion is replaced (yes, replaced!) by >>>spaces: >>> >>><a href="mypage.htm"> (spaces!) </a> >> >>uh. That's not how you do an image tag. >> >> >><img src=""...></img> isn't right. >> >><img src=""> >> >>...and... >> >><img src="" /> >> >>...should work better! >> > > > > Actually, the way I did it renders fine (in IE and Firefox for certain) but > that's beside the point. The syntax of my IMG tag does not explain why a > large chunk of it is overwritten with SPACES when it arrives on my browser. > > Have you got anything that might answer my question or do you just want to > critique my HTML skills? ;o) > > > Owen Renders fine, but doesn't validate at all. So who knows what each browser will really do. ANYWAY - the site looks fine here; as others have suggested maybe you have some sort of ad-blockers running. You may have accidentally told it to block that image? I can only think of two other things - a cached version of the image that's blank (perhaps you had a placeholder there previously, and your browser has it cached?), or your browser has been set to not display animated GIFs (FireFox has the option to do this, for example). -- x theSpaceGirl (miranda) # lead designer @ http://www.dhnewmedia.com # # remove NO SPAM to email, or use form on website # |
|
| | #11 (permalink) |
| Civilians | "SpaceGirl" <NOtheSpaceGirlSPAM@subhuman.net> wrote in message news:369l3qF4o68jkU1@individual.net... > Owen wrote: > > Renders fine, but doesn't validate at all. So who knows what each browser > will really do. Yes, yes, I know. I got into the habit of putting end tags on everything a while ago and I've been trying to get over it ever since.... I am aware of my problem, ok! ;o) > ANYWAY - the site looks fine here; as others have suggested maybe you have > some sort of ad-blockers running. Yes, I installed McAffee Internet Security 2005 recently, perhaps that is the culprit. I certainly havent set anything to block animated gifs in any of my browsers' settings. I think it may consider it a banner ad because of it's size and location (long, rectangular image at top of the page). Thanks for the reply! Owen |
|
| | #12 (permalink) |
| Civilians | SpaceGirl wrote: > <img src=""...></img> isn't right. > <img src="" /> ...should work better! In XHTML the two are *exactly* identical. (i.e any XHTML-conformant user agent MUST treat them the same.) -- Toby A Inkster BSc (Hons) ARCS Contact Me ~ http://tobyinkster.co.uk/contact |
|
| | #13 (permalink) |
| Civilians | SpaceGirl wrote > Renders fine, but doesn't validate Perfect! -- Charles Sweeney http://CharlesSweeney.com |
|
![]() |
| Bookmarks |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [News Feed] C-141 replaced with C-17 | Forum Mouse | News Articles | 0 | 01-02-2005 16:00 |
| [News Feed] C-141 replaced with C-17 | Forum Mouse | News Articles | 0 | 11-01-2004 00:00 |
| Formula replaced by its value? | Jean Fontaine | Microsoft Applications | 2 | 07-08-2004 07:34 |
| #DIV/0! replaced by 'O' | imageres | Microsoft Applications | 1 | 06-16-2004 03:47 |
| then get it replaced! | Hayman | Automotive | 0 | 06-14-2004 17:57 |
![]() | ![]() | ![]() |