Go Back   Trackpads Community > General Discussions > Computer and Technology > Web Design

Web Design Forums and discussions on webdesign

Web Design

Reply
 
LinkBack Thread Tools
Old 02-01-2005, 16:00   #8 (permalink)
SpaceGirl
Civilians

 
Default Re: <img> content being replaced by spaces!

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 #
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-01-2005, 16:00   #9 (permalink)
Owen
Civilians

 
Default Re: <img> content being replaced by spaces!


"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



 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-01-2005, 16:00   #10 (permalink)
SpaceGirl
Civilians

 
Default Re: <img> content being replaced by spaces!

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 #
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-01-2005, 16:00   #11 (permalink)
Owen
Civilians

 
Default Re: <img> content being replaced by spaces!


"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


 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-01-2005, 20:00   #12 (permalink)
Toby Inkster
Civilians

 
Default Re: <img> content being replaced by spaces!

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

 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-01-2005, 20:00   #13 (permalink)
Charles Sweeney
Civilians

 
Default Re: <img> content being replaced by spaces!

SpaceGirl wrote

> Renders fine, but doesn't validate


Perfect!

--
Charles Sweeney
http://CharlesSweeney.com
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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


Community Information
Options
Quick Options
Trackpads Non-Commercial Ad
Copyright Information Click to Visit
Time
Server Time
All times are GMT -4. The time now is 10:26.
Copyright
Copyright Information
The header is based off of work by Vipixel.com and modified by this site. Trackpads and the Trackpads Logo are both Registered Trademarks of Jason Edwards and cannot be used without prior written permission.  The only exception is as a link back to this site. Trackpads is a private website run by a small legion of volunteers, 3 dogs, 12.5 cats and an army of small, super smart, bio-engineered mice with pointy hats and tutu's. Search Engine Friendly URLs by vBSEO 3.2.0 RC7
Archive Links
Archive Links
Page generated in 0.93405 seconds with 18 queries