HTML editor and wonky menu - Post ID...
I am working on a new website and loaded some of the pages to have a look at them.
I hope you can help because I have no clue why my menu is going wonky on some pages and not others.
I have used a table to create a three column table.
First column = logo from the image file. This changes from page to page.
Second column = menu.
Third column = space for some advertising.
The different logos are all the same size.
I have copied and pasted the html from the index file across the other pages, however the menu shifts from page to page so that it is out of line with the middle column.
It isn't to do with the changing logo as it goes out of line on pages that use the same logo.
Why is it doing this?
Here are the pages that are okay
It might be that I am missing something very obvious in the html, but I've been staring at this for a couple of hours now so could do with some help.
All other comments welcome.
I checked the two good pages, then checked the other pages, and they all appear to be acting the same to me viewing with Firefox and IE6.
I checked the beginning of the middle column, and it remained constant and each page menu had the menu text in the same position.
I did notice that if you change the width of the browser window, the text will remain in a fixed position until your release the drag on the side of the window, and then the text jumps to the correct position. I suspect this is caused by having the position of the table re-drawn and the js then relocating.
On one page, the table code reads:
<table border="0" width="800" align="center" bgcolor="#ffffff" cellspacing="0" cellpadding="0">
The same table on another page reads:
<table border="0" width="800" align="center" bgcolor="#ffffff" cellspacing="0" cellpadding="10">
They are almost identical, except for the cellpadding=""
Changing the value in between the "" will change the spacing of the cells within that table. 0 is no padding, 30 would be too much in most cases. I fyou don't match the cellpadding and cellspacing on each page, things will look offset.
www.mainsites.ca is my website, and yes, some of it is crappy.
Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.