/    Sign up×
Community /Pin to ProfileBookmark

i made some frames on my website, and i used the % of page to size them, the problem i’m seeing is that when i have a different pixel setting on my monitor my control bar is getting cut off.

how do i code the frames with exact pixels for the first column, but general size for the rest, so that the last column, which is empty space will be the only thing that changes depending on the monitor setting?

thanks

to post a comment
Full-stack Developer

9 Comments(s)

Copy linkTweet thisAlerts:
@jeffmottDec 30.2002 — Use a * to divide up the ramaining space.

cols="200,*"
Copy linkTweet thisAlerts:
@ptherinauthorDec 30.2002 — and the 200 is pixels?
Copy linkTweet thisAlerts:
@Beach_BumDec 30.2002 — yes the 200 is px.

you should also specify noresize if you want to keep the frame at 200px.
Copy linkTweet thisAlerts:
@ptherinauthorDec 30.2002 — how do i do that?

and if im telling it 200 px why would it resize?
Copy linkTweet thisAlerts:
@pyroDec 30.2002 — Here is an example...

<frame name="test" src="test.htm" noresize="noresize"></frame>

You would use it if you don't want your users to resize the frame on you.
Copy linkTweet thisAlerts:
@ptherinauthorDec 30.2002 — oh great, i was gonna write a post for that before. my site works in explorer but not netscape, netscape just shos the left frame and opens the link in a new window, any idea why?

http://www.querinrecords.com/querin.html

this is the address, its still very much under construction.
Copy linkTweet thisAlerts:
@StefanDec 31.2002 — [i]Originally posted by ptherin [/i]

my site works in explorer but not netscape, netscape just shos the left frame and opens the link in a new window, any idea why?
[/QUOTE]


Becuse your code is broken. Eg you got your <noframes> section outside your <frameset> and are missing important things like doctype and charencoding.

It should look something like this

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/frameset.dtd">

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<title></title>

</head>

<frameset cols="100, 1*" border="0"> <!-- border="0" is a bugfix for IE, NS as well as Opera -->

<frame name="nav" src="nav.html" frameborder="0" marginwidth="1" marginheight="1" scrolling="auto">

<frame name="main" src="home.html" frameborder="0" marginwidth="1" marginheight="1" scrolling="auto">

<noframes>

<body>

<p>

Frames are not working in your Browser.<br>

If you have Frames turned off, please turn it on to view this site.

</p>

</body>

</noframes>

</frameset>

</html>
Copy linkTweet thisAlerts:
@pyroDec 31.2002 — Try this frameset...
&lt;frameset cols="19.8%,75%,*" framespacing="0" frameborder="NO" border="0"&gt;
&lt;frame src="leftside.html" name="leftside" scrolling="NO" noresize="noresize" marginewidth="3" marginheight="10"&gt;
&lt;frameset rows="80,*" frameborder="NO" border="0" framespacing="0"&gt;
&lt;frame src="topofthepage.html" name="topofthepage" scrolling="NO" noresize="noresize" marginewidth="3" marginheight="10"&gt;
&lt;frame src="rightside" name="rightside" noresize="noresize" marginewidth="3" marginheight="10"&gt;
&lt;/frameset&gt;
&lt;frame src="rightside" name="rightside" scrolling="NO" noresize="noresize" marginewidth="3" marginheight="10"&gt;
&lt;/frameset&gt;


Hope I got all your info right. ?
Copy linkTweet thisAlerts:
@ptherinauthorDec 31.2002 — ok, that worked.

one more thing,

do you know why my flash movie doesnt play in netscape,

the control bar changes colours in ei like i wanted, but not in netscape.
×

Success!

Help @ptherin spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...