Forum Moderators: open

Message Too Old, No Replies

Frames page looks weird on a Mac

normal on Netscape, but weird on IE

         

Gwy

4:56 pm on Mar 22, 2002 (gmt 0)



I am working on a page using frames. It looks fine on my PC with both IE and Netscape. Then I looked at the page on a Mac. It looked fine with Netscape, but with IE, all the frame borders were visible and the page looked horrible.

Does anyone know what I am doing wrong?

If you go to my home page in my profile and add new/business_sites/index.htm to the end of the URL, you can see the page I'm working on.

Macguru

6:23 pm on Mar 22, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi Gwy

And welcome to WebmasterWorld. Hope this link can help you.

[validator.w3.org...]

tedster

6:40 pm on Mar 22, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to the forums Gwy.

If you use the validator, you will see a lot of attributes in your frameset tags that are not valid, such as scrolling (belongs in the frame tag).

But I'll bet at least part of the problem is because browsers are inconsistent in how you get rid of borders in frames.

To catch all the squirrely browsers, you need three different attributes to get rid of borders, 2 in the frameset tag and 1 in the frame tag:

<FRAMESET COLS="xx,yy" FRAMEBORDER="NO" BORDER="0">

<FRAME SRC="foo.html" FRAMEBORDER="0">

Some of that will probably not validate - but it is what you need for cross-browser and cross-platform borderless frames.

Gwy

10:39 pm on Mar 22, 2002 (gmt 0)



Thank you Macguru and tedster. I added the border and frameborder attributes. Also, I used the validator (what a great tool!). It didn't validate because of the border and the frameborder attributes (as you predicted, tedster), but I changed things so that everything else checked out.

I won't have a chance to look at the page on a Mac again until next week. If anyone gets a chance, could you look at it on a Mac with IE and tell me if it looks normal now?