IFRAME Aligned to Right

This is a discussion on "IFRAME Aligned to Right" within the Web Page Design section. This forum, and the thread "IFRAME Aligned to Right are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Aug 3rd, 2005, 20:09
Junior Member
Join Date: Jun 2005
Location: United States of America
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
IFRAME Aligned to Right

Dear WebForumz:

I am currently working on a webpage where I need an IFRAME positioned on the right side of the screen along with everything else filling in the space around it. I have tried all the align and style techniques I know, however, the paragraph, that should be aligned to the left, goes the whole way across the screen and puts the IFRAME, which should be aligned to the right, below it. How can I get the webpage to do what I'm asking?

Regards & Thanks,
Mike
Reply With Quote

  #2 (permalink)  
Old Aug 3rd, 2005, 21:44
herkalees's Avatar
Highly Reputable Member
Join Date: Jul 2005
Location: Massachusetts, USA
Age: 87
Posts: 576
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to herkalees Send a message via MSN to herkalees Send a message via Yahoo to herkalees
Put the iFrame in a div and float it right?

Or, lose the iFrame all together and use php includes, then stick that in a right-floated div.
Reply With Quote
  #3 (permalink)  
Old Aug 3rd, 2005, 21:51
New Member
Join Date: Aug 2005
Location: Scotland, United Kingdom
Age: 20
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to stoney666
I think by simply putting the IFRAME source code above that of the paragraph. For example, you have:

Code: Select all
<CENTER>
<P ALIGN="justify" STYLE="margin-left: 20px; margin-right: 20px;">
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.
</P>

<IFRAME SRC="http://329058.myshoutbox.com/?LANG=US&extcss=http://WiseWizards.tripod.com/ClientArea/TagBoardLayout.css" WIDTH="152" HEIGHT="300" FRAMEBORDER="1" allowTransparency="true" STYLE="float: right; margin-left: 20px; margin-right: 20px;"></IFRAME>

</CENTER>
Simply change this too:

Code: Select all
<CENTER>

<IFRAME SRC="http://329058.myshoutbox.com/?LANG=US&extcss=http://WiseWizards.tripod.com/ClientArea/TagBoardLayout.css" WIDTH="152" HEIGHT="300" FRAMEBORDER="1" allowTransparency="true" STYLE="float: right; margin-left: 20px; margin-right: 20px;"></IFRAME>

<P ALIGN="justify" STYLE="margin-left: 20px; margin-right: 20px;">
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.
</P>
</CENTER>
I think that should work, although i havnt had chance to test it...
Reply With Quote
  #4 (permalink)  
Old Aug 3rd, 2005, 22:20
Junior Member
Join Date: Jun 2005
Location: United States of America
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
For reference, I tried using the FLOAT attribute, but alas that did not work. I will go ahead and try the idea of placing the IFRAME above the paragraph

Regards,
Mike

P.S. I'm not all that skilled in PHP or PHP Includes (tried it once, didn't work).


*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*--*-*-*-*-*-*-*-*-*-*-*-*-*-*

I placed the IFRAME above the paragraph--SUCCESS! Thank you for your help!
Reply With Quote
Reply

Tags
iframe, aligned, right

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] refresh a different iframe once an iframe elsewhere has loaded cosmicbdog JavaScript Forum 1 Jan 25th, 2008 01:50
Footer directly aligned to bottom thewebkid Web Page Design 2 Dec 25th, 2007 21:36
Can a jsp file in an IFrame calls a javascript function outside of the IFrame jadeite100 JavaScript Forum 0 May 31st, 2007 14:29
Photos not aligned correctly using CSS layout jj1234 Web Page Design 6 Jan 31st, 2006 16:01
Two Texts Aligned to Seperate Edges WiseWizards Web Page Design 4 Jul 23rd, 2005 06:36


All times are GMT. The time now is 17:46.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43