...

View Full Version : Iframes... Problem...



Onesock
03-20-2005, 02:39 PM
Ok the site i'm missing around with is

www.tnhxc.com/test/text.htm

The it keeps giving the frames boarders, even though I have frameboarder="0", whats the problem with this?

another question

The cut and layout doesn't line up right in Firefox, is there anyway to fix this?

Newb Web Designer

-Timmy

codegoboom
03-20-2005, 03:05 PM
There's also a "border" attribute, or style property...

... then again, you might want to respell frameborder:


even though I have frameboarder="0"

Ranger56
03-22-2005, 12:42 AM
Ok the site i'm missing around with is

www.tnhxc.com/test/text.htm

The it keeps giving the frames boarders, even though I have frameboarder="0", whats the problem with this?

another question

The cut and layout doesn't line up right in Firefox, is there anyway to fix this?

Newb Web Designer

-Timmy

Do you know oif anywhere where I can get a good tutorial on how to keep the background the same, yet change the content, which are inside small boxes with scroll bars, like you did?

timmyg
03-22-2005, 12:57 AM
Do you know oif anywhere where I can get a good tutorial on how to keep the background the same, yet change the content, which are inside small boxes with scroll bars, like you did?

im not exactly sure what you want, but i what im guessing is you want to have a background image that doesn't scroll while the content(text,images,etc) does

to do this you put bgproperties="fixed" up in the <body> tag
for example, <BODY background="bckgrnd_img.jpg" bgproperties="fixed">

Kurashu
03-22-2005, 01:01 AM
x_X

Use CSS for that.

background: url('img.png") fixed;

Ranger56
03-22-2005, 01:22 AM
No, I mean like a box of text, predetermined height and width, with a scroll bar.

And I want the background to remain the same when i click liks to go to different places, only the boxes to change.

_Aerospace_Eng_
03-22-2005, 05:41 AM
okay so you mean a div with overflow auto? here is an example, the div will obtain a scrollbar if the content inside exceeds its height

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<style type="text/css"><!--
#scrollingdiv {
width:500px;
height:500px;
overflow:auto;
}
-->
</style>
</head>

<body>
<div id="scrollingdiv"></div>
</body>
</html>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum