Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Gif not showing correctly on web page

Status
Not open for further replies.

Chomauk

Programmer
Jun 8, 2001
130
I am using a free site to use for a web site I'm creating and am doing all edits on my home PC(speed). I made some changes to some pages and uploaded them but now a gif file that displayed correctly one day is now streaking across the screen for all pages. It is a side-bar gif and I didn't do anything to it when I edited the pages. It's used as the background in the body tag.
Another gif on one of the pages still displays correctly.
Any ideas as to what this could be?

Link:
 
Hi,

Is this the gif?
blue_marble_ramp2.gif

It looks fine to me, you even have it wide enough (2k px)

One thing though,
check these addresses and see if you spot anything:
BetsyWolcott\images\blue_marble_ramp2.gi
href="BetsyWolcott\CSS\Headers.css
BetsyWolcott\JavaScripts\GoodDay.js


Also, i'd avise you to use a Transitional DTD instead of Strict!


Nollaig shona agus athbhliain faoi mhaise daoibh. [reindeer]
::
 
Yes, that is the gif. It is still streaking accross the screen(for me). I looked at the gif from IE and it's screwed up by itself, however, I looked at it again in View mode from the editor and it looks fine.

Any ideas?

In laymans terms can you tell me the difference with Transitional, Strict and Frame DTDs? I've read about them but don't understand.

thanks
 
First thing to do is to correct your code, there are MANY mistakes which could contribute to the problem.
Hope that doesn't sound harsh but before you look for solutions you should start with clean code.

1. change all \ to /
2. in your head you have
<h1>Elizabeth &quot;Betsy&quot; Wolcott, LMFT</h1>
<h2></h2>
<h3></h3>
<h4></h4>
<h5></h5>
<h6></h6>
<p></p>
remove all this

3. your body tag has &quot;bgproperties=&quot;fixed&quot; remove this
4. all tables should have a summary
5. unknown attribute &quot;bordercolordark&quot;

Correct all these things first and recheck the page.
If there's still problems let us know.

É
Nollaig shona agus athbhliain faoi mhaise daoibh. [reindeer]
::
 
I know the code isn't all that clean but I'm a beginner and appreciate any advice and I agree with you. I changed everything as you suggested except <h1> because I'm using it with a CSS file(is that ok?) and the page works now as well as the other pages for some reason.

I'd also really appreciate some insight on the following...
I keep finding different examples using / or \, when should I use one or the other?

What do you mean by all tables needing a summary?

Can you explain in laymans terms the difference with Transitional, Strict and Frame DTDs?

Thanks tons


To teach is to learn twice.
-Joseph Joubert

 
Hi Chomauk,

First thing, you still have this in your code.
<h1>Elizabeth &quot;Betsy&quot; Wolcott, LMFT</h1>
<h2></h2>
No you can't keep it where it is. You can only put this in your <body> section, so just move it down from your <head> section.

\ is used on your computer. / is used on the web. ALWAYS use / in your webpages.

every table needs a summary. So just simply add summary=&quot;&quot; to your <table> tag. It has no effect on your problem but just to comply to standards.

On your empty elements (meta tags etc) you use a combination of &quot; />&quot; and &quot;>&quot; to close the tags.
For XHTML you should use &quot; />&quot; and for HTML just use &quot;>&quot;

About the DTD,
HTML DTD at the bottom of this page:
XHTML DTD on this page:



Nollaig shona agus athbhliain faoi mhaise daoibh. [reindeer]
::
 
Thanks again Cian,
It's much appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top