Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > General Coding
You last visited: Today at 09:58

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



iframe problem

Discussion on iframe problem within the General Coding forum part of the Coders Den category.

Reply
 
Old   #1
 
kimuraaa's Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 1,533
Received Thanks: 810
iframe problem

Ich hab mir gestern mal mit Photoshop eine Homepage erstellt, ich weis, ist nicht perfekt war auch so ziehmlich das erste mal.
Nun wollte ich zum ueben das ganze natürlich auch noch coden.
Nur habe ich das Problem, sofern es ein Problem ist das ich mit "iframe" arbeite.
Da der content Bereich nunmal ein Bild ist.



Nur habe ich den ganzen Bereich dann umrahmt und das sieht nicht wirklich gut aus.
Gibt es da noch andere moeglichkeiten?

Das ist der Code zum iframe:
PHP Code:
<td rowspan="17"><iframe width="600" height="895"><img src="Bilder/Template_09.gif" width="600" height="895" alt=""></iframe></td
Lg
kimuraaa is offline  
Old 06/20/2010, 12:27   #2
 
elite*gold: 0
Join Date: Oct 2008
Posts: 319
Received Thanks: 88
Quote:
Nur habe ich das Problem, sofern es ein Problem ist das ich mit "iframe" arbeite.
Da der content Bereich nunmal ein Bild ist.
Also das ist erstmal Blödsinn. Iframes gehören zum alten Eisen und werden generell
eigentlich nichtmehr verwendet. Es gibt für alles eine schickere und elegantere Lösung
als Iframes zu verwenden.
Den Rahmen um dein Iframe bekommst du weg wenn du einen Style Parameter
hinzufügst:
HTML Code:
<iframe width="600" height="895" style="border:0px;">...
Fratyr is offline  
Thanks
1 User
Old 06/20/2010, 12:30   #3
 
kimuraaa's Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 1,533
Received Thanks: 810
Wunderbar, danke.
Welche alternativen gibt es denn da noch?
Ah, include, schon entdeckt, danke nochmals...
kimuraaa is offline  
Old 06/26/2010, 04:12   #4
 
RealEmX's Avatar
 
elite*gold: 0
Join Date: Oct 2008
Posts: 428
Received Thanks: 179
Es gibt wesentlich schönere Methoden wenn man schon mit iframes arbeitet.

Zuerst sollte die Zeile in der Main so aussehen:
PHP Code:
 <td rowspan="17"><iframe width="600" height="895" frameborder="0" name="content"></iframe></td
Dann in jeder Datei die da eingebunden werden soll legst du 'ne CSS Definition an für's Body tag:

PHP Code:
<style type="text/css">
<!--
body {
  
background-imageurl(Bilder/Template_09.gif);
  
background-repeat:no-repeat;
}
-->
</
style
Ist eigtl die schönste Lösung wenn man mit iframes arbeitet.


Und ich hab dem iframe auch mal'n Namen verpasst, sprich deine Links müssen so aussehen:
PHP Code:
<a href="test.php" target="content">Test</a
RealEmX is offline  
Reply


Similar Threads Similar Threads
Coding and IFrame Problem
06/27/2010 - General Coding - 0 Replies
I need some help with some coding for my webpage. I am trying to take the scrolling advertisement bar from the following webpage Blue Chrome - Home and add it into my webpage. http://i13.photobucket.com/albums/a268/JuliasMark ov/problem.jpg my webpage is using iframes so i guess my main question is can anyone help me achieve what i want by either looking at my webpage and coding it for me, or just code it for me and show me where it needs to go. Full credit will be given of course....
Bessere Methode des iframe ?
02/03/2010 - General Coding - 3 Replies
Hey leute ... Ich habe eine Seite erstellt da wo ich was stehen haben will, ist eine Textur und ich will das eine Schrift auf der Textur ist mit iframe bekomm ich einen Hintergrund mit einer Farbe ich will aber das zB News.html auf die Textur schreibt... Wie kann ich es machen? Gibt es eine bessere Methode im html die leicht ist ?
[Problem] Problem with server starting - cannot find quest index for PaxHeader
12/22/2009 - Metin2 Private Server - 1 Replies
Hello! I have this same problem as here when i'm starting my server: http://www.elitepvpers.com/forum/metin2-pserver-di scussions-questions/307143-metin2-serverfiles-ques t-index-fehler.html But I didn't know the answer.. how to repair this? Greetings



All times are GMT +1. The time now is 09:58.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.