Positioning iframe's according to layout !!

fallencmd

New Member
Hi guys i have a question that is really killing my head now..i've been trying to solve this for the past 2 hours, i made a layout in photoshop, and i defined my layout as a background in my index.htm, centered, and now i have 4 iframes to position according to the layout, how do i do that?

- i tried to define the x,y by css..but when i resize the browser the iframe's are all over the place !!
- using the position mode "absolute" is the same thing, and the others as well.

Is there any way ( of course there is, but i just dont know it) , that i can put my iframes sorted across the layout and they float around everytime i resize the browser???? THANK YOU !!!
 

elclanrs

New Member
Best advice! Don't line up with your design.

First define the basic sections of the site with html/css and then crop images with the slice tool when needed.

Keep the structure in mind when positioning images, sometimes you'll have to use the <img> property, and sometimes the css background property.

Iframes? Seriously? Why?
 

fallencmd

New Member
Solved

Best advice! Don't line up with your design.

First define the basic sections of the site with html/css and then crop images with the slice tool when needed.

Keep the structure in mind when positioning images, sometimes you'll have to use the <img> property, and sometimes the css background property.

Iframes? Seriously? Why?




Thanks for your answer elclanrs , its appreciated !

I actually found the answer for my problem, and couldn't be simpler , all i had to do is "slice" in photoshop my layout according to the iframes/pics/text etc that i wanted.. and then just export them as web.
Works in every browsers perfectly, even with 3 iframes that i have across the screen :)
What can i say, i like iframes ! I know everyone dislike them though :)
 
Top