Jump to content

Recommended Posts

http://www.stumbleupon.com/toolbar/#url=http%2525253A//letsbefriends.blogspot.com/

 

look at that website.. and look at the scroll bar on the right. the bottom arrow is missing as the frame has gone 100% of browser window. not the div...

 

how can i correct this.

 

(this is not my website but its the same problem)

Link to comment
https://forums.phpfreaks.com/topic/159072-iframe-scrollbar/#findComment-840170
Share on other sites

  • 8 months later...

Hi, I still can not get this to work... I have the following code...

 

<!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=utf-8" />

		<title></title>

		<link href="style.css" rel="stylesheet" type="text/css" />

	</head>

	<body>

		<div id="navigation"></div>

		<iframe src="http://www.bbc.co.uk/sport" frameborder="0"></iframe>

	</body>

</html>

 

 

css

 

 

*{margin:0;padding:0;border:0;outline:0;height:100%;overflow-y:hidden;}
html {height:100%;}
body {height:100%;background:#262626;font:normal 100% "Lucida Grande", "Jamrul", Helvetica, Verdana, Arial, Tahoma, sans-serif;color:#555;}

#navigation{height:7%;width:100%;border-bottom:1px solid white;background:black;}

iframe{width:100%;height:93%;}

 

now what i want to do is replace the height:7% in navigation with a fixed height but when i change to say 100px; the scroll bar of the iframe is not correct. you wil need to run the two codes to see.

 

thanks

Link to comment
https://forums.phpfreaks.com/topic/159072-iframe-scrollbar/#findComment-1006822
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.