A possible answer is that under the image, in the html, their is <p>&nsbc</p> or something along them lines, that is not denoting anything except for white space, i.e its useless. Other than that, is the Nav table - actually cells in a page table, that has exact sizes, as that would be a problem, a way round it is to restart the nav links, in their own table in the assigned coloum in the big table.
Maybe i'm being stupid ?
Are you using an editor, or doing it by hand ?
Are you using an editor, or doing it by hand ?
A little of both.
I already checked for these: <p>&nsbc</p>
None of them present.
I can't figure it out:
<td colspan="2" height="106"><img src=images/blah.gif width=612 height=106 border=0 usemap=#Map2><map name=Map2><area shape=rect coords=98,25,502,58 href=http://www.blah.com></map></td>
<td rowspan="5"><a href=blah.htm><img src=http://www.blah.gif width=178 height=81 border=0></a><br>
Are cellpadding=0 and cellspacing=0? If so, are the text links (under the image) in a new table row, rather than just a using <br> tag after the top image?
If you're still stuck, you can sticky me with either the URL or the full code and I'd be glad to look at it. I've wrestled with this kind of thing a lot.
Thanks for the help guys.
I fixed it.
Dreamweaver is a pain in the a** sometimes. It had put some extra code in after the image that was slipping by me. I got rid of it.
Dreamweaver is funny like, even when it is a completely useless piece of code, you go to command > clean up html, and it just cleans up empty tabs.
It does make life easy though.
Does that work Caine......the Clean Up command?
Is it effective?
yes - it will delete empty tags, and combine font tags. Though preview in IE, NN and Opera, to make sure it hasn't broken any rules, before publishing.
Heehee... I have to throw this in. There is one very simple fix for virtually all code problems when using WYSIWYG editors...
DON'T USE THEM!!
HTML is probably the worlds simplest language, learn it! :-)
You'll get cleaner code, better load times and quicker page rendering if you write the code yourself. WYSIWYG editors are for designing homepages not websites.
Er... IMHO ;-)
Can't argue with that Ian.
HTML takes five minutes to learn the basics and after that the rest is just using fundamentals...
ALL WYSIWYG editors put unnecessary code...end tags and whatever else because they can't read your mind. Save yourself the trouble.
No doubt you are right
However, if I want to get a site up quickly with CSS positioned layers and a decent navigation system, Dreamweaver gets me there in half the time.
Sure, there are coders out there who can do it as quickly in HTML, but not many, For most people Dreamweaver is the most cost effective tool.
Dreamweaver is for business - HTML is for home pages run by coders, (No more of an incorrect generalisation than the original statement :) )
I can put together a site far more quickly by hand than using a WYSIWYG editor because if I write the code myself I don't have to spend time cleaning it up.
If you're designing a professional website, you don't want to give your clients the mess that WYSIWYG editors produce.
On top of that, if you don't clean it up editing and updating is harder to do because WYSIWYG code is much harder to read and there's a lot more of it.
Getting a bit more in depth... What happens when you want to make your site XHTML or (insert the next W3C recommendation) compliant? What if you want to add features that your editor doesn't support? What if you client needs added functionality later such as server side scripting and database integration?
Add to that the fact that by using a WYSIWYG editor you've added extra download/rendering time and anyone who looks at your code can see that it wasn't professionally written....
I think I'm gonna stick with my original generalization ;-)
There is absolutley NO WAY hand coding is faster or cleaner than Dreamweaver in the right hands.
Example - 1 table 200 rows, 5 columns, alternating coloured rows
in DW about 2 seconds
by hand - ??? or copy paste a lot ;)
but then what if you want to merge a few cells? what happens if you change your mind later on?
An idiot will design a page that looks like it was designed by an idiot.
A professional will design a page that looks like it was designed by a professional.
If you consider yourself a professional designer then it should'nt matter what you use - any desinger worth his/her salt should know HTML by hand.
I could code all my pages by hand but it would add about 2 years onto the development time.
As for the insertiion of code by DW yes it does do that sometimes but you easily spot this type of thing and is extremely easy to correct.
I hate sloppy code and one of the things I love about DW is that you can save commands so that when it comes to cleaning up someone elses page or site you can strip font tags, remove cell widths and get rid of any tag with one mouse click :)