/    Sign up×
Community /Pin to ProfileBookmark

How do I move this iframe over?

Hi,
To start off I have just started to use CSS and have only been at a few week so I really do not know a lot yet.

[IMG]http://img208.exs.cx/img208/879/ieff7hl.jpg[/IMG]

As you can see if you looked at the image, I have 2 screen shoots of the same page one in Firefox and the other in IE 6.0.

I have highlight the area on the Firefox it is the blue area to the right of the box containing the phase “Adult instruction”

I have tried various way to move the iframe over but I have not been able to get moved over.

What I have there is a division that contains 2 iframes. Here is the CSS for the container and the 2 iframes.

[code] #iframe_con {
background-color: #FFFACD;
float:right;
width: 100%;
height: 145px;
}

#iframe_01{
padding-bottom: 5px;
padding-top: 5px;
float:left;
}

p.iframe01 {
font-family: Comic sans MS;
font-size: 20px;
color: black;
background: #FFFACD;
}

#iframe_02{
float:right;
}

p.iframe02 {
font-family: Comic sans MS;
font-size: 20px;
color: black;
background: #FFFACD;
}

[/code]

Here is the main page where the items are called.

[code] <!– division for cont –>
<div id=”cont”>
<div id=”iframe_con”>
<iframe name=”iframe_01″ width=”48%” height=”100%”
src=”iframe01.html” frameborder=”1″></iframe>
<!– width=”49.5%” height=”15%” –>
<iframe name=”iframe_02″ width=”48%” height=”100%”
src=”iframe02.html” frameborder=”1″></iframe>
<!– width=”49.5%” height=”15%” –>
</div>
<!– end division iframe_con –>

[/code]

If I could I would like to have the space in between the 2 iframes instead of having them right next to each other.

I have other issues with the header but I will create a different post for that.

So can someone assist me here?

to post a comment
CSS

3 Comments(s)

Copy linkTweet thisAlerts:
@FantatierFeb 15.2005 — i wouldnt use iframes anyway, you know divs can have scrollbars automaticaly

#div{

overflow: auto;

}

should make a div automaticaly scroll, that way you can avoid i frames

using divs will then make it easyer to place them correctly
Copy linkTweet thisAlerts:
@TiYogiauthorFeb 15.2005 — [i]Originally posted by Fantatier [/i]

[B]i wouldnt use iframes anyway, you know divs can have scrollbars automaticaly



#div{

overflow: auto;

}



should make a div automaticaly scroll, that way you can avoid i frames



using divs will then make it easyer to place them correctly [/B]
[/QUOTE]


What is shown in the iframes is a webpage, where I post upcoming events and this information is posted on 14 other pages on my website.I do not know how to do this using divisions, to have this information showup on all those pages. With using Iframes I could edit 2 page and have it on all 14 pages. How do I do this using division. I have tried Googling for this but I really do not even what to search for.

The webpages for the iframe are iframe_01.html and iframe_02.html .
Copy linkTweet thisAlerts:
@KorFeb 17.2005 — you forgot to give id's to your iframes, you have only names. names are not recognized by the CSS code lines. If no id allocated,the CSS #class is useless ?

<iframe name="iframe_01" [color=red]id="iframe_01"[/color]
×

Success!

Help @TiYogi 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 6.17,
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: @nearjob,
tipped: article
amount: 1000 SATS,

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

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...