How to tag multiple friends into single image?

Floating iframes over a JPEG image on a website?

  • I am doing a friends website, I would like to float an iframe over a jpg image, however, it shows up differently on different browsers, for example, work and home show the iframe positioned differently. I am using a style.css which contains the following class: @charset "utf-8"; .alignbi { float: right; position: relative; top:296px; right:1013px; } I use this class in the tag for the iframe, as follows: <.iframe src="Bio-Body.html" width="417" height="458" frameborder="0" class="alignbi"><./iframe> I have also tried to use DIV tags to align this iframe, but that also shows up differently on different machines. PLEASE HELP !! This is always a problem for me!

  • Answer:

    Thats probably because of different screen resolutions.. Try putting everything inside a container div and give it a width of 900px. Inside this div put the rest of your code

Michael at Yahoo! Answers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.