Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

How to keep my frames from being Resized?


  • Please log in to reply

#1
Grendos

Grendos

    New Member

  • Member
  • Pip
  • 9 posts
Hello,

This is my first time visiting this site and I have a question about HTML. Right now I am kind of new to it but I am making a site for my guild on an online game. I am just experimenting with different tags until I get better but one thing I am having problems with is frames. This is the code I am using:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><title>Untitled Document</title></head><frameset cols="120,*"><frame src="Main.html" /><frame src="Main Page.html" /></frameset><noframes></noframes></html>

All the stuff at the beginning is something that Dreamweaver automatically has and I wasn't sure what it meant so I didn't alter it.

Here is the site: http://twilightbriga...m.com/Home.html

If you scroll over the border between one frame and the otehr you get the little arrow that lets you expand one frame. I want this gone! Thanks to anyone that can help :)

Edited by Grendos, 18 November 2007 - 09:54 PM.

  • 0

Advertisements


#2
Major Payne

Major Payne

    Retired Staff

  • Retired Staff
  • 5,307 posts
Make it something like this:

<frame name="header" src="Main.html" scrolling="no" frameborder="0" border="0" framespacing="0" noresize="noresize" />

Change parameters as needed. Code needs correcting. Both your frame pages have incorrect coding and the top image of main page seems to be squeezed in.

Ron

P.S. Example of what I've used before:

<frameset cols="100%" rows="41%,*" frameborder="0" border="0" framespacing="0">
<frame name="header" src="facts_fr1.html" scrolling="no" frameborder="0" border="0" framespacing="0" noresize="noresize" />
<frame name="content" src="facts_fr2.html" scrolling="auto" frameborder="0" border="0" framespacing="0" noresize="noresize" />
</frameset>

All the scrolling="auto" frameborder="0" border="0" framespacing="0" stuff could probably be removed from the <frame> tags only.

Edited by Major Payne, 18 November 2007 - 10:17 PM.

  • 0

#3
Grendos

Grendos

    New Member

  • Topic Starter
  • Member
  • Pip
  • 9 posts
Thanks, now it works perfectly.
  • 0

#4
Major Payne

Major Payne

    Retired Staff

  • Retired Staff
  • 5,307 posts
You are more then welcome. Glad to hear you got it working and thanks for using GTG.

Ron
  • 0

#5
thenotch

thenotch

    Member

  • Retired Staff
  • 668 posts
And just to play devils advocate, you really shouldn't be using frames at all.

Everything that you are doing with frames can be done with CSS.

You'll get better performance from your pages, your pages will be able to be indexed by the search engines (they ignore frame sites), and you will be following W3C standards which makes the web more stable and usable.

Just my Posted Image
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP