View Full Version : iframes help


tahimik
01-17-2004, 08:13 PM
i have never used iframes before. i want the blog on my site (http://ilosayan.phineyae.com) to be in an iframe b/c i want my past entries to be scrollable. i really don't know where to begin. i checked lissa's site, and i saw the code, but where do i put it? i'm all confused. if you're patient enough to help me out, please do. thanks.

and one more thing. i wanted to set the HEIGHT for my table cells. would "padding-bottom:" be the appropriate code for the css? just want to know if i did it right. thanks again.

MaGiCSuN
01-17-2004, 08:56 PM
padding-bottom is something different then height :) height is just how big you want your cell to be, and you just put in height="##" (change ## to number) in the <td> part of that cell.

for the iframe, you put the <iframe> code with all it's things in it on the page where you want the iframe to appear. The blog loads into it, and is another page then the page with the iframe on it

you probably need to put your blog on anotherpage for that, because now it's on your site same as your layout

Love,
Mirna

tahimik
01-18-2004, 07:40 PM
thanks for answering my height question! :)

so if i want my blog to be in an iframe, i have to put it on a separate page? right now, my blog is in a table cell. can i put the coding for the iframe inside the cell? and then put the blog coding inside the iframe code? i think i just confused myself. i'm sorry. :(



padding-bottom is something different then height :) height is just how big you want your cell to be, and you just put in height="##" (change ## to number) in the <td> part of that cell.

for the iframe, you put the <iframe> code with all it's things in it on the page where you want the iframe to appear. The blog loads into it, and is another page then the page with the iframe on it

you probably need to put your blog on anotherpage for that, because now it's on your site same as your layout

Love,
Mirna

MaGiCSuN
01-18-2004, 07:49 PM
almost right

you put your iframe coding inside the cell

the blog you had inside your cell you put on a different .html page, for example blog.html

then you change the src="URL" part from the <iframe> tag to src="blog.html" (if your filename is blog.html) so that it loads into the iframe

Love,
Mirna