Click to See Complete Forum and Search --> : Frames


rawood321
02-03-2004, 09:13 AM
This is my first crack at using frames. Will someone take a look at the code at this site:

www.woodwebservices.net/ppn

and tell me why the links in the header nav bar open up in a new window, instead of opening up in the "main" body of the website.

Thanks!

crh3675
02-03-2004, 09:20 AM
specify the "target" attribute of each link to "main":

[code]
<a href="somepage.html" target="main">test</a>

hammerslane
02-03-2004, 09:23 AM
<base target="contents">is in the header frame's code... so you need to change "contents" to "main".... that's unless i'm being really thick....
(that's instead of the code alteration written by crh3675)

..very nice layout by the way

rawood321
02-03-2004, 09:38 AM
I changed the code in the header from "content" to "main" and that did it! Duh....

Thanks!

rawood321
02-06-2004, 01:39 PM
I have a new problem. Go to http://premierpilotnetwork.com and click on FBO BENEFITS. There is a horizontal scroll bar there. Any idea why? Or any idea how to get rid of it?

There is not one on any of the other pages...

crh3675
02-06-2004, 10:31 PM
It works fine in Mozilla. I get a scroll in IE6. If you have a Table with a style setting of width:100%, that may be causing your problem. I have had to adjust from 100% to 99% or even lower sometimes to avoid incompatibilites like that. Not sure if that helps.