Bamboo
02-09-2003, 01:31 AM
I've made an image:
Here (http://www.angelfire.com/emo/cast_away/images/Darkened_copy.jpg)
And I want to put Inline Frames In Those Boxes,but I want it so it lines up, and so the outline of the boxes on the pictures matches an outline on the inlineframe. How do I do this?
<iframe style="position:absolute; top:#px; left:#px; height:#px; width:#px;">
</iframe>
Just fill the the #s :D
Lucky_Ducky63
02-09-2003, 04:44 AM
Oh that was what I'm loking for but can you please help me and tell me what i need to fill in and how?! thanks! :D
Just change the numbers.
How many pixels do you want the iframe from the left/top? And how tall/wide do you want it to be?
Bamboo
02-09-2003, 03:05 PM
How would I get it so the inline frame has a glowing line around it, like the picture?
Bamboo
02-09-2003, 03:32 PM
As far as the frames go, I think is the thing I'm kinda shooting for:
http://aint-it-funny.org/superstar/christina.html
Lucky_Ducky63
02-09-2003, 06:11 PM
Another Question. How do you know what number to put in because I'm so confuse zzzz.
Originally posted by Bamboo
As far as the frames go, I think is the thing I'm kinda shooting for:
http://aint-it-funny.org/superstar/christina.html
Those aren't frames, those are divs. It's the same code though:
<div style="position:absolute; top:#px; left:#px; height:#px; width:#px;">
TEXT HERE
</div>
About the glowing border, you'd just position the iframe inside the border. The border's part of the image, not the iframe ^^.
designgURL
02-12-2003, 05:33 PM
Whoa, now sorry, but the poor way is with absolute positioning. Absolute positioning can make a page wacky on some browsers or computers or something.. I've seen my own page like that long ago.
The real I'm-a-great-designer-and-coder way to do it is split up your image and use a table, this is hard. You can ask me for more help if you choose to do it that way.
Plus no matter how you do it, you need not make a glowing line around your iframe, you place the iframe inside of the glowing line on the image, not covering it OR
Well obviously you need to cut the image no matter what, to make that inside part the bg of your iframe, right? (That's how most do it, I think you can make it transparant but I haven't come across how) So, yes, cut the image and you must make that the bg image.. When you do that, you COULD simply keep the glowing part inside the iframe.. BUT I wouldn't because then you will probably have a scrollbar which will hide the line on that side.
Originally posted by Alcy
Those aren't frames, those are divs. It's the same code though:
Well I'm really an anti fan of absolute positioning. What I already mentioned plus you can do it all a lot better with tables, and can still do it with a centered layout.
And I checked the source and that page uses a div AND the iframe (But it could really benefit from using tables instead, I'm all disappointed) AND layers.. which is another thing.
The absolute position for 0 and 0, is so not needed, making the page have 0 margins is what you should do, all awesome.