Link to home
Start Free TrialLog in
Avatar of HawaiiDragon
HawaiiDragon

asked on

using a frameset in an asp.net application

hello experts I am trying to use a frameset in my asp.net application but I cant get it to work. Can someone please tell me what I am doing wrong. I am using Visual Studio 2010
<frameset  rows="150,550">
            <frameset cols="150,590">
    <frame name="corner" src="http://www.bestbuy.com/" scrolling="no" frameborder="0" noresize>
    <frame name="header" src="http://www.gamestop.com/" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" noresize>
            </frameset>

            <frameset cols="150,590">
   <frame name="menu" src="http://www.seibertron.com/news/index.php" marginwidth="0" marginheight="0 "scrolling="auto" frameborder="0" noresize>
    <frame name="main" src="http://www.google.com/" marginwidth="0" marginheight="0" scrolling="auto" frameborder="0" noresize>
            </frameset>

</frameset>

Open in new window

Avatar of Designbyonyx
Designbyonyx
Flag of United States of America image

Are you using the proper DOCTYPE:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
Avatar of HawaiiDragon
HawaiiDragon

ASKER

Im not sure as I have never used a frame set before.
Make sure that line I posted is at the top of the html file you are using (replace any existing DOCTYPE line that might be in there)

Also, I feel it's my duty to advise you against framesets.  If you are going to be using this site as a public facing website, then you do not want to use framesets.  There are a number of reasons... mainly involving accessibility and search engines.

Also, if you have never used frames before, I suggest you start with some tutorials.  Google it:
ASKER CERTIFIED SOLUTION
Avatar of Designbyonyx
Designbyonyx
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you