---
title: "behålla frames storlek"
type: "forum-thread"
url: "https://www.webforum.nu/amne/html-css/84253-behålla-frames-storlek"
topic: "HTML & CSS"
topic_url: "https://www.webforum.nu/amne/html-css"
author: "aDay"
published: "2003-08-14T17:58:02.000Z"
updated: "2003-08-14T19:16:29.000Z"
replies: 4
views: 360
page: 1
pages: 1
language: "sv-SE"
site: "webForum — webforum.nu"
rights: "Upphovsrätten till varje inlägg tillhör dess författare."
attribution: "Citera som: webForum, https://www.webforum.nu/amne/html-css/84253-behålla-frames-storlek"
---

# behålla frames storlek

## #1 — aDay, 2003-08-14T17:58Z

jag vill att min frame inte ska påverkas när man ändrar storlek på webbläsaren...

min kod:

\<?xml version="1.0" encoding="iso-8859-1"?\>
\<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"\>
\<html xmlns="http://www.w3.org/1999/xhtml"\>
\<head\>
\<title\>Namnl&ouml;st dokument\</title\>
\<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /\>
\</head\>

\<frameset rows="\*" cols="\*,390" framespacing="0" frameborder="no" border="0"\>
  \<frameset rows="129,\*" cols="\*" framespacing="0" frameborder="no" border="0"\>
    \<frame src="upper.htm" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" /\>
    \<frame src="main.htm" name="mainFrame" id="mainFrame" /\>
  \</frameset\>
  \<frame src="right.htm" name="rightFrame" scrolling="No" noresize="noresize" id="rightFrame" /\>
\</frameset\>
\<noframes\>\<body\>
\</body\>\</noframes\>
\</html\>

Permalänk: https://www.webforum.nu/p/84253

## #2 — NoMaster, 2003-08-14T18:12Z

Beror väl på exakt hur du vill ha det men..ett sätt

```
<frameset rows="*" [b]cols="500,*"[/b] framespacing="0" frameborder="no" border="0"> 
	<frameset rows="129,*" cols="*" framespacing="0" frameborder="no" border="0"> 
		<frame src="srtghsrth.htm" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" /> 
		<frame src="srtghsrth.htm" name="mainFrame" id="mainFrame" /> 
	</frameset> 
	<frame src="srtghsrth.htm" name="rightFrame" scrolling="No" noresize="noresize" id="rightFrame" /> 
</frameset>
```

Permalänk: https://www.webforum.nu/p/1138495

## #3 — aDay, 2003-08-14T18:57Z

hmm..enda som hände var ju att "rightFrame" försvann

Permalänk: https://www.webforum.nu/p/1138514

## #4 — nkrantz, 2003-08-14T19:07Z

vilken frame vill du inte skall ändra i storlek? Om du har ett frameset och ändrar storleken på sidan så blir det ju alltid någon frame som ändras. "Framesen" täcker ju upp hela sidan så att säga!

Permalänk: https://www.webforum.nu/p/1138529

## #5 — bossse, 2003-08-14T19:16Z

Kör med procent så blir det väl bra.

```
<?xml version="1.0" encoding="iso-8859-1"?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head> 
<title>Namnlöst dokument</title> 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> 
</head> 

<frameset rows="*" cols="*,50%" framespacing="0" frameborder="no" border="0"> 
<frameset rows="28%,*" cols="*" framespacing="0" frameborder="no" border="0"> 
<frame src="upper.htm" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" /> 
<frame src="main.htm" name="mainFrame" id="mainFrame" /> 
</frameset> 
<frame src="right.htm" name="rightFrame" scrolling="No" noresize="noresize" id="rightFrame" /> 
</frameset> 
<noframes><body> 
</body></noframes> 
</html>
```

Permalänk: https://www.webforum.nu/p/1138536

---

Tråden på webben: https://www.webforum.nu/amne/html-css/84253-behålla-frames-storlek
