Banner Help Please

liunx

Guest
My banners huge....way to wide....how to make it smaller,<br />
also my text went away,why? Heres the link,thanks!!http://nspeverflex.freeservers.com/home.html<!--content-->for one you have a lot of errors on that page. you have 2 body and html tags, you have links that point to your hard drive, you closed your table after you closing html tags, and the banner img is way to big. you need to resize it with your favorite image software like paintshop pro or something. or use a free one called Irfanview.<!--content-->Ok,<br />
I fixed the link that pointed to the HD, <br />
I closed my table BEFORE my HTML tag,<br />
and I got rid of the extra body and HTML tags.<br />
<br />
I reset my jpg to 300x150x24 BPP, and saved it<br />
to disk,I then uploaded the new sized banner,<br />
but when I open my home page,the banner hasnt<br />
changed. This may be the reason all my text is<br />
now to the left? Thanks for the patience folks!<br />
<!-- m --><a class="postlink" href="http://nspeverflex.freeservers.com/home.html">http://nspeverflex.freeservers.com/home.html</a><!-- m --> (http://)<!--content-->http://nspeverflex.freeservers.com/ <br />
<br />
The link at the other post didnt work,so Im giving the URL instead<!--content-->that site doesn't even have the banner anymore??<br />
<br />
theother problem you had was since teh banner was so big and you didn't have it in a table row all by itself is why it was pushing the text to the side. you need to make the banner have it's own row and the text below it.<br />
<br />
<table><br />
<tr<br />
<td>banner here</td><br />
</tr><br />
<tr><br />
<td>text and the rest of the page here</td><br />
</tr><br />
</table><br />
<br />
something in that fashion. this is what you had<br />
<br />
<table><br />
<tr<br />
<td>banner here</td><br />
<td>text and the rest of the page here</td><br />
</tr><br />
</table><br />
<br />
notice they are on the same row and the banner was so big it was pushing the text to the right because the table cell it was in was small.<!--content-->Just a tip. I had an image I wanted replacing with a new one on my website. I struggled with this for an hour because it was not showing the new image. I still ahve no idea where it was getting the old image from. I uploaded the whole site fresh, deleted all the temp files, history and cookies. Then I tried Ctrl+Refresh and it showed the new image. That gets the code from the server and not from the cache, but still I have no idea where it got the olde image from! :confused:<!--content-->I know..its so weird...I mean I resize the banner jpg<br />
then save it to disk,then deleate my old jpg banner file,<br />
then upload the new one and it still comes up on the site as the same image. :/<!--content-->Computers are like that sometimes!<br />
<br />
Just go to your page, press Ctrl then refresh on the toolbar. Thats for IE.<!--content-->The problems with the table are not fixed. This is a list of the errors on that page: <!-- m --><a class="postlink" href="http://validator.w3.org/check?uri=http%3A%2F%2Fnspeverflex.freeservers.com%2F&charset=%28detect+automatically%29&doctype=HTML+4.01+Transitional&ss=">http://validator.w3.org/check?uri=http% ... tional&ss=</a><!-- m --> . Work through it methodically. This is going to take an hour or two.<br />
<br />
<br />
For now, ignore all errors of type: Error: there is no attribute "foo" for this element (in this HTML version) but fix everything else listed there.<br />
<br />
<br />
Add type="text/javascript" on every script tag.<br />
<br />
<br />
Add type="text/css" on every style tag.<br />
<br />
<br />
Add alt="some text" on every img tag, make the text describe the image. For images that are bullet points, spacers, etc use alt="*" only.<br />
<br />
<br />
Attributes must be quoted so WIDTH=100% should be WIDTH="100%" . Go through and quote all attributes.<br />
<br />
<br />
Why is there another <head> and <title> on line 296 of the code?:<br />
<td><head><title>Home</title><br />
<br />
<br />
<a href=http://www.htmlforums.com/archive/index.php/products.womens health="1"> Eh? WTF?<br />
<br />
<br />
<b4> a typo?<br />
<br />
<br />
This really is in the wrong order:<br />
</body><br />
</table><br />
</html><br />
</tr><br />
<br />
<br />
Check nesting. Things like this are blatently wrong:<br />
...... claw <b>FREE!</p></b><br />
You must end the bold before you end the paragraph.<br />
<br />
<br />
You need to add some META tags for Content-Type, Content-Language, Keywords, and Description - also a !DOCTYPE declaration if you intend browsers to recognise the page as using HTML 4.01 tags.<br />
<br />
<br />
All that Javascript code ought to be within the head methinks, but unfortunately there is some HTML in front of it, so not easy to do. Leave this until you are much more proficient.<!--content-->Originally posted by giz <br />
The problems with the table are not fixed. This is a list of the errors on that page: <!-- m --><a class="postlink" href="http://validator.w3.org/check?uri=http%3A%2F%2Fnspeverflex.freeservers.com%2F&charset=%28detect+automatically%29&doctype=HTML+4.01+Transitional&ss=">http://validator.w3.org/check?uri=http% ... tional&ss=</a><!-- m --> . Work through it methodically. This is going to take an hour or two.<br />
<br />
<br />
For now, ignore all errors of type: Error: there is no attribute "foo" for this element (in this HTML version) but fix everything else listed there.<br />
<br />
<br />
Add type="text/javascript" on every script tag.<br />
<br />
<br />
Add type="text/css" on every style tag.<br />
<br />
<br />
Add alt="some text" on every img tag, make the text describe the image. For images that are bullet points, spacers, etc use alt="*" only.<br />
<br />
<br />
Attributes must be quoted so WIDTH=100% should be WIDTH="100%" . Go through and quote all attributes.<br />
<br />
<br />
Why is there another <head> and <title> on line 296 of the code?:<br />
<td><head><title>Home</title><br />
<br />
<br />
<a href=http://www.htmlforums.com/archive/index.php/products.womens health="1"> Eh? WTF?<br />
<br />
<br />
<b4> a typo?<br />
<br />
<br />
This really is in the wrong order:<br />
</body><br />
</table><br />
</html><br />
</tr><br />
<br />
<br />
Check nesting. Things like this are blatently wrong:<br />
...... claw <b>FREE!</p></b><br />
You must end the bold before you end the paragraph.<br />
<br />
<br />
You need to add some META tags for Content-Type, Content-Language, Keywords, and Description - also a !DOCTYPE declaration if you intend browsers to recognise the page as using HTML 4.01 tags.<br />
<br />
<br />
All that Javascript code ought to be within the head methinks, but unfortunately there is some HTML in front of it, so not easy to do. Leave this until you are much more proficient. <br />
<br />
Good Lawd!!!! I knew it was messy...but jeeze...this is gonna take a while, I may be back with more seemingly ignorant questions.<br />
<br />
Do you close tags in the same order they were opened?<!--content-->You close tags in reverse order of opening so that they are nested.<br />
<br />
Example: <P><FONT="blarg"><B><I>Some Text</I></B></FONT><P><br />
<br />
<br />
<br />
You can open and close tags multiple times within a "higher level" tag, as long as the tag inside is an Inline Element type tag and not a Block Level tag.<br />
<br />
Example: <P><B>In bold</B>Not in Bold<B>In Bold Again</B></P> is fine.<br />
<br />
<br />
<br />
You cannot put Block Level elements inside Inline elements:<br />
<br />
This example is wrong:<br />
<B><P>A Paragraph</P><P>Another Paragraph</P></B><br />
<br />
You have to do it this way:<br />
<P><B>A Paragraph</B></P> <P><B>Another Paragraph</B></P><!--content-->Ok....Im going through it now....how is this supposed to be closed?<br />
<br />
This really is in the wrong order:<br />
</body><br />
</table><br />
</html><br />
</tr><!--content-->...<br />
</body><br />
</table><br />
</html><br />
</tr><br />
>> How is this supposed to be closed? <<<br />
<br />
<br />
Well, since the very first line of the file is <HTML> then the very last line should be </HTML>. Before that should be </BODY>, beacause <BODY> is inside <HTML>.<br />
<br />
You have to finish a Table Row, <TR>, before you can finish the </TABLE>.<br />
<br />
<br />
Tip for getting the type="text/javascript" inside script tags: Search for <script and Replace with <script type="text/javascript". Do NOT click Replace All, otherwise any existing entries like script type="text/javascript" will become script type="text/javascript" type="text/javascript".<br />
<br />
Apply similar methods for other errors that occur in multiple places.<br />
<br />
After correcting a block of code, save the file, and upload it to the web site. Redo the validator link and watch the number of errors reduce each time.<!--content-->
 
Back
Top