trouble with 1px frame gap and images.....

They have: 30 posts

Joined: Jan 2000

Ive set up a frames page for a client but am having trouble getting the left and top frames to line up for both browsers....I can get it right for NS4 but in IE5 it is out.
I dont really want to use Javascript 'cause I want non-javascript enable browsers to still view it..ie: max compatability.

Heres a link to the page.
http://members.ozemail.com.au/~stuartjohnston/frames/border%20frame%20test%20set.htm

ALSO....the image width in IE seem to be strange I have had to set the image widths to 15 nstead of 16 for them to "almost match" in IE. Their fine in NS but now they are 15 instead of 16px, NS is slightly out and IE is slightly out albeit not really noticeable...

ANY IDEAS???

Busy's picture

He has: 6,151 posts

Joined: May 2001

For me it works in both, just the Netscape version doesnt show the dropshadow in the left frame, works/looks fine in IE.
I had a quick look at your code, try:

add topmargin="0" leftmargin="0" marginheight="0" marginwidth="0" to your body tag/s

place all td cell contents on the same line (some arent on the bottom of the left frame page);
contents blah blah [right]
contents blah blah
[wrong]

cols=* rows=* ?? if it only has one, dont use them, they are to be used for 2 or more, not 1.

don't use spacers in your file names, they get converted to %20's and can confuse browsers

same as link, the contents between the and should always be on the same line.

Netscape has I think an extra pixel on borders than IE

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.