Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
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
  • 667 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