Welcome to WebmasterWorld Guest from 188.8.131.52
Forum Moderators: incrediBILL
I am trying to change our main navigation from an image to text links. On the page there is an image at the top, and then there will be the text links underneath it. For some reason the table or the text links are causing a white space to appear in between the main image on top and the text links. We have defined all of the table cells correctly and all of that kind of stuff.......anyone have any ideas?
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 ?
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>
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.
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 ;-)
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.
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 :) )
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 ;-)
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 :)