#1 22. Dezember 2009 Zuletzt von einem Moderator bearbeitet: 14. April 2017 Script bei Schüleprofile.de alles Mittig Hi leute Ich brauch jemand der mir ein benutzer script für Greasemonkey macht damit alles inner mitte is praktisch wie bei RR^^ Momentan sieht es so aus: {bild-down: https://www1.xup.in/tn/2009_12/58608510.jpeg} Kann mir einer helfen? Kann euch auch noch den Quelltext geben der zusehen is: Spoiler Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head profile="http://gmpg.org/xfn/11"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>SCHUELERPROFILE.de</title> <meta name="author" content="Unister GmbH" /> <meta name="copyright" content="copyright(c)2006-2008 Unister GmbH, unister-gmbh.de" /> <meta name="rating" content="General" /> <meta name="language" content="de_DE" /> <meta name="revisit-after" content="3 days" /> <meta name="Classification" content="Computer" /> <meta name="verify-v1" content="2yDle/qaPNDZyo0FLJiRAAf8iSiv5iZ1h6oXyZOEKCs=" /> <link rel="shortcut icon" href="http://www.schuelerprofile.de/favicon.ico" type="image/x-icon" /> <link rel="icon" href="http://www.schuelerprofile.de/favicon.ico" type="image/ico" /> <link rel="stylesheet" type="text/css" href="http://static.schuelerprofile.de/css/screen2009-10-28--12-00.css" media="all" /> <!--[if lte IE 7]> <link type="text/css" rel="stylesheet" href="http://static.schuelerprofile.de/css/iehacks2009-10-28--12-00.css" /> <![endif]> <script type="text/javascript" src="http://media.schuelerprofile.de/js/prototype.js"></script> <script type="text/javascript" src="http://media.schuelerprofile.de/js/attitude.js"></script> <script type="text/javascript"> var HOME_URL = 'http://www.schuelerprofile.de/'; var PICTURE_URL = 'http://media.schuelerprofile.de/'; var STATIC_URL = 'http://media.schuelerprofile.de/'; var CACHED_URL = 'http://static.schuelerprofile.de/'; var AJAX_URL = 'http://www.schuelerprofile.de/ajax/'; var LANGUAGE = 'GERMAN'; </script> </head> <body> <script type="text/javascript"> <!-- function folioHover(){var sfEls = document.getElementById("portfolio_more"); sfEls.onmouseover=function(){this.className+="over";folioZeigVersteckIframe(this.id,'visible');} sfEls.onmouseout=function(){this.className=this.className.replace(new RegExp("over\\b"), "");folioZeigVersteckIframe(this.id,'hidden');} } function folioFindeL(obj){var lPos=0;if(obj.offsetParent){while(obj.offsetParent){lPos+=obj.offsetLeft;obj=obj.offsetParent;}}else{if(obj.x){lPos+=obj.x;}}return(lPos);} function folioFindeO(obj){var oPos=0;if(obj.offsetParent){while(obj.offsetParent){oPos+=obj.offsetTop;obj=obj.offsetParent;}}else{if(obj.y){oPos+=obj.y;}}return(oPos);} function folioZeigVersteckIframe(elId,v){ifrS=document.getElementById('foliokillSelect').style;if(document.getElementById('pop')){el=document.getElementById('pop');if(v=='visible'){ifrS.top=folioFindeO(el)+'px';ifrS.left=folioFindeL(el)+'px';ifrS.height=el.offsetHeight+'px';ifrS.width =el.offsetWidth+'px';}}else{v='hidden';}ifrS.visibility=v;} //--> </script> <div id="portfolio" style="height:26px;font:12px arial;"> <ul class="clearfix"> <li><a href="http://www.ab-in-den-urlaub.de" target="_blank"><span class="reiter"><span class="ico aidu"></span>ab-in-den-urlaub.de</span></a></li> <li><a href="http://www.auto.de" target="_blank"><span class="reiter"><span class="ico auto"></span>auto.de</span></a></li> <li><a href="http://www.preisvergleich.de" target="_blank"><span class="reiter"><span class="ico pvg"></span>preisvergleich.de</span></a></li> <li><a href="http://www.geld.de" target="_blank"><span class="reiter"><span class="ico geld"></span>geld.de</span></a></li> <li><a href="http://www.auvito.de" target="_blank"><span class="reiter"><span class="ico auvito"></span>auvito.de</span></a></li> <li><a href="http://www.jux.de" target="_blank"><span class="reiter"><span class="ico jux"></span>jux.de</span></a></li> <li class="active"><a href="http://www.schuelerprofile.de" target="_blank"><span class="reiter"><span class="ico sp"></span>schuelerprofile.de</span></a></li> <li id="portfolio_more"><a href="#" target="_blank"><span class="reiter">mehr »</span></a> <ul id="pop"> <li class="headline">Finanzen</li> <li><a href="http://www.geld.de" target="_blank"><span class="ico geld"></span>geld.de</a></li> <li class="headline"><span class="linie">Shopping</span></li> <li><a href="http://www.preisvergleich.de" target="_blank"><span class="ico pvg"></span>preisvergleich.de</a></li> <li><a href="http://www.best-price.com" target="_blank"><span class="ico pvg"></span>best-price.com</a></li> <li><a href="http://www.auvito.de" target="_blank"><span class="ico auvito"></span>auvito.de</a></li> <li class="headline"><span class="linie">Reiseportale</span></li> <li><a href="http://www.ab-in-den-urlaub.de" target="_blank"><span class="ico aidu"></span>ab-in-den-urlaub.de</a></li> <li><a href="http://www.hotelreservierung.de" target="_blank"><span class="ico hotel"></span>hotelreservierung.de</a></li> <li><a href="http://www.urlaubstours.de" target="_blank"><span class="ico tours"></span>urlaubstours.de</a></li> <li><a href="http://www.holidayranking.de" target="_blank"><span class="ico rank"></span>holidayranking.de</a></li> <li class="headline"><span class="linie">Community</span></li> <li><a href="http://www.jux.de" target="_blank"><span class="ico jux"></span>jux.de</a></li> <li><a href="http://www.schuelerprofile.de" target="_blank"><span class="ico sp"></span>schuelerprofile.de</a></li> <li><a href="http://www.unister.de" target="_blank"><span class="ico unister"></span>unister.de</a></li> <li><a href="http://www.partnersuche.de" target="_blank"><span class="ico partner"></span>partnersuche.de</a></li> <li class="first headline"><span class="linie">Magazin</span></li> <li><a href="http://www.auto.de" target="_blank"><span class="ico auto"></span>auto.de</a></li> <li class="headline"><span class="linie">Meta-Suche</span></li> <li><a href="http://www.aidu.com" target="_blank"><span class="ico search"></span>aidu.com</a></li> <li class="headline"><span class="linie">Werbung/Marketing</span></li> <li><a href="http://www.unister-media.de" target="_blank"><span class="ico media"></span>unister-media.de</a></li> </ul> </li> </ul> <iframe id="foliokillSelect" frameborder="0" scrolling="no"></iframe> <script type="text/javascript">if (window.attachEvent) folioHover();</script> </div> <div id="wrapperout" ><div id="wrapper" > <script type="text/javascript" src="http://www.schuelerprofile.de/js/Bandarea_Playerpopup.js?cache_id=1"></script> <script type="text/javascript"> Bandarea_Playerpopup.setConfiguration({ retryTimeout : 100, url : 'http://www.schuelerprofile.de/musicplayer/popup' }); Bandarea_Playerpopup.startNotPlayingTimeout(); </script> <div class="floatfix"> <h1 class="lgo" style="margin-top:15px;"><a href="http://www.schuelerprofile.de/"><img src="http://media.schuelerprofile.de/img/lgo.gif" alt="Schülerprofile | Das Netzwerk für Schüler" /></a></h1> <div id="head"> <p class="topnav"><a href="http://www.schuelerprofile.de/">Start</a> | <a href="http://www.schuelerprofile.de/service/contact">Kontakt</a> | <a href="http://www.schuelerprofile.de/register"><strong>Kostenlos registrieren</strong></a> | <a href="http://www.schuelerprofile.de/index/lostPassword">Passwort vergessen?</a> | <a href="http://www.schuelerprofile.de/service/faq">Hilfe?</a></p> <div class="login"> <form action="http://www.schuelerprofile.de/login/authenticate" method="post"> <label for="email">Email:</label> <input type="text"name="email" id="email" class="txt" value="" onfocus="login_focus_email=true" /> <label for="pass">Passwort:</label> <input type="password" name="pass" id="pass" class="txt pwd" value="" onfocus="login_focus_pass=true" /> <input type="submit" value="Login" class="submit" name="login" /> </form> </div> </div> </div> <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> <script type="text/javascript"> _uacct = "UA-31842-21"; urchinTracker('index/confirmlogout/cached'); </script> <div id="main" > <div id="cntOut"> <div id="home"> <div id="sdb" class="wide iesdbwide"> <p class="center"><strong>Logoutvorgang erfolgreich abgeschlossen!</strong><br />Vielen Dank für Deinen Besuch.</p><br /> <div class="login"> <form action="http://www.schuelerprofile.de/login/authenticate" method="post" class="floatfix"> <h3>Wieder einloggen?</h3> <dl> <dt><label for="email">Email:</label></dt> <dd><input type="text"name="email" id="email" class="txt" value="" onfocus="login_focus_email=true" /></dd> <dt><label for="pass">Passwort:</label></dt> <dd> <input type="password" name="pass" id="pass" class="txt" value="" onfocus="login_focus_pass=true" /> <p><a href="http://www.schuelerprofile.de/index/lostPassword">Passwort vergessen?</a></p> <label for="permanentLogin"><input type="checkbox" name="permanentLogin" id="permanentLogin" value="1" class="chk" /> dauerhaftes Login</label> </dd> </dl> <input type="submit" value="Login" class="submit" name="login" /> </form> </div> </div> <div class="lcol wide ielcolwide clearfix noieclear"> <div id="ContentadPlaceholder" class="ContentadPlaceholder_INDEX_CONFIRMLOGOUT"></div> <script type="text/javascript"> var show_adition_logout = true; </script> <div id="ie_clearing"></div> </div> <div id="newestMembersForContentAd" class="cnt wide floatfix" style="display:none;"> <h4>Laufend neue Mitglieder</h4> <div class="membpic" style="width:96px; margin-right:10px;"> <a href="http://www.schuelerprofile.de/profile/julia721731" title="Foto von Julia"><img src="http://media.schuelerprofile.de/images/ca/32/0f/320f0f821e5478fa465c3284344ec9bf.jpg?fotos/jg/7aqw.jpg,80,80,1,1,1,-1,-1,-1,-1,-1,-1,0,0,0" alt="Foto von Julia" /></a> <p><a href="http://www.schuelerprofile.de/profile/julia721731">Julia</a></p> </div> <div class="membpic" style="width:96px; margin-right:10px;"> <a href="http://www.schuelerprofile.de/profile/ilona120" title="Foto von Ilona"><img src="http://media.schuelerprofile.de/images/ca/50/83/508364e8bab6907eee5e279170f11aad.jpg?fotos/da/19wj.jpg,80,80,1,1,1,-1,-1,-1,-1,-1,-1,0,0,0" alt="Foto von Ilona" /></a> <p><a href="http://www.schuelerprofile.de/profile/ilona120">Ilona</a></p> </div> <div class="membpic" style="width:96px; margin-right:10px;"> <a href="http://www.schuelerprofile.de/profile/laura444180" title="Foto von Laura"><img src="http://media.schuelerprofile.de/images/ca/e1/a6/e1a61f9d718c00047abd673f3b6f990a.jpg?fotos/do/g4iz.jpg,80,80,1,1,1,-1,-1,-1,-1,-1,-1,0,0,0" alt="Foto von Laura" /></a> <p><a href="http://www.schuelerprofile.de/profile/laura444180">Laura</a></p> </div> <div class="membpic" style="width:96px; margin-right:10px;"> <a href="http://www.schuelerprofile.de/profile/OoKimXoO" title="Foto von Kim"><img src="http://media.schuelerprofile.de/images/ca/fe/0b/fe0bc7747969d4a3af6f6ca983da1f37.jpg?fotos/ul/wk4v.jpg,80,80,1,1,1,-1,-1,-1,-1,-1,-1,0,0,0" alt="Foto von Kim" /></a> <p><a href="http://www.schuelerprofile.de/profile/OoKimXoO">Kim</a></p> </div> <div class="membpic" style="width:96px; margin-right:10px;"> <a href="http://www.schuelerprofile.de/profile/sweetclara1993" title="Foto von clara"><img src="http://media.schuelerprofile.de/images/ca/06/d7/06d7776e34e943c0aa4e23bcc344c817.jpg?fotos/km/bzw3.jpg,80,80,1,1,1,0,-1,-1,-1,-1,-1,0,0,0" alt="Foto von clara" /></a> <p><a href="http://www.schuelerprofile.de/profile/sweetclara1993">clara</a></p> </div> <div class="membpic" style="width:96px; margin-right:10px;"> <a href="http://www.schuelerprofile.de/profile/Karo79" title="Foto von Karoline"><img src="http://media.schuelerprofile.de/images/ca/0d/8a/0d8aa64015127b82840de4e9cdbf0a94.jpg?fotos/ix/pk1y.jpg,80,80,1,1,1,-1,-1,-1,-1,-1,-1,0,0,0" alt="Foto von Karoline" /></a> <p><a href="http://www.schuelerprofile.de/profile/Karo79">Karoline</a></p> </div> <div class="membpic" style="width:96px;"> <a href="http://www.schuelerprofile.de/profile/JacKyYcHeN" title="Foto von Jacqueline"><img src="http://media.schuelerprofile.de/images/ca/af/44/af44d01c1ee47fbc5d634157a84dbed9.jpg?fotos/f3/d3bh.jpg,80,80,1,1,1,-1,-1,-1,-1,-1,-1,0,0,0" alt="Foto von Jacqueline" /></a> <p><a href="http://www.schuelerprofile.de/profile/JacKyYcHeN">Jacqueline</a></p> </div> </div> <div id="newestMembersForMonsterAd" class="cnt monsterad floatfix" style="display:block;"> <h4>Laufend neue Mitglieder</h4> <div class="membpic" style="width:80px; margin-right:10px;"> <a href="http://www.schuelerprofile.de/profile/julia721731" title="Foto von Julia"><img src="http://media.schuelerprofile.de/images/ca/41/89/41897ae87da79a70071cca421f7eb08c.jpg?fotos/jg/7aqw.jpg,60,60,1,1,1,-1,-1,-1,-1,-1,-1,0,0,0" alt="Foto von Julia" /></a> <p><a href="http://www.schuelerprofile.de/profile/julia721731">Julia</a></p> </div> <div class="membpic" style="width:80px; margin-right:10px;"> <a href="http://www.schuelerprofile.de/profile/ilona120" title="Foto von Ilona"><img src="http://media.schuelerprofile.de/images/ca/92/e8/92e87d7974d36c33afca61c818e23d2b.jpg?fotos/da/19wj.jpg,60,60,1,1,1,-1,-1,-1,-1,-1,-1,0,0,0" alt="Foto von Ilona" /></a> <p><a href="http://www.schuelerprofile.de/profile/ilona120">Ilona</a></p> </div> <div class="membpic" style="width:80px; margin-right:10px;"> <a href="http://www.schuelerprofile.de/profile/laura444180" title="Foto von Laura"><img src="http://media.schuelerprofile.de/images/ca/2a/f7/2af743eb3e9469f27f4d20c6c596c613.jpg?fotos/do/g4iz.jpg,60,60,1,1,1,-1,-1,-1,-1,-1,-1,0,0,0" alt="Foto von Laura" /></a> <p><a href="http://www.schuelerprofile.de/profile/laura444180">Laura</a></p> </div> <div class="membpic" style="width:80px; margin-right:10px;"> <a href="http://www.schuelerprofile.de/profile/OoKimXoO" title="Foto von Kim"><img src="http://media.schuelerprofile.de/images/ca/99/f0/99f0a46f81ac1745a61fa3316a6cd715.jpg?fotos/ul/wk4v.jpg,60,60,1,1,1,-1,-1,-1,-1,-1,-1,0,0,0" alt="Foto von Kim" /></a> <p><a href="http://www.schuelerprofile.de/profile/OoKimXoO">Kim</a></p> </div> <div class="membpic" style="width:80px; margin-right:10px;"> <a href="http://www.schuelerprofile.de/profile/sweetclara1993" title="Foto von clara"><img src="http://media.schuelerprofile.de/images/ca/11/23/1123233844cf42034cba6d80906b24ea.jpg?fotos/km/bzw3.jpg,60,60,1,1,1,0,-1,-1,-1,-1,-1,0,0,0" alt="Foto von clara" /></a> <p><a href="http://www.schuelerprofile.de/profile/sweetclara1993">clara</a></p> </div> <div class="membpic" style="width:80px; margin-right:10px;"> <a href="http://www.schuelerprofile.de/profile/Karo79" title="Foto von Karoline"><img src="http://media.schuelerprofile.de/images/ca/e1/b2/e1b2650a7bb6bcde29dd56b4e8951015.jpg?fotos/ix/pk1y.jpg,60,60,1,1,1,-1,-1,-1,-1,-1,-1,0,0,0" alt="Foto von Karoline" /></a> <p><a href="http://www.schuelerprofile.de/profile/Karo79">Karoline</a></p> </div> </div> </div> </div> </div> <div id="foot"> <p> <a href="http://www.schuelerprofile.de/service/about">Über uns</a> | <a href="http://www.schuelerprofile.de/service/faq">FAQ</a> | <a href="http://www.schuelerprofile.de/service/imprint">Impressum</a> | <a href="http://www.schuelerprofile.de/service/legalprotection">Sicherheit</a> | <a href="http://www.schuelerprofile.de/service/terms">Nutzungsbedingungen</a> | <a href="http://www.schuelerprofile.de/service/contactform">Kontaktformular</a> | <a href="http://www.schuelerprofile.de/service/advantages">Deine Vorteile</a> | <a href="http://www.schuelerprofile.de/service/press">Presse</a> | <a href="http://www.schuelerprofile.de/service/advertisement">Werbung</a> </p> <p class="copy">Copyright © 2006-2009 Unister.de. Alle Rechte vorbehalten.</p> </div> </div></div> <script type="text/javascript"> Attitude.start(); </script> <script src="http://imagesrv.adition.com/js/adition.sjs?nuggn=2020431744&nuggsid=452756403&nuggsub=unister&nuggtg=logoutpage" type="text/javascript"></script> <div id="ContentadView" class="ContentadView_INDEX_CONFIRMLOGOUT" style=""> <script type="text/javascript"> if ('boolean' == typeof show_adition_logout && show_adition_logout) { var marmelade = ''; var einzelkekse = document.cookie.split('; '); for (i = 0; i < einzelkekse.length; i++) { kruemel = einzelkekse[i].split('='); if ('t' == kruemel[0]) { marmelade = unescape(kruemel[1]).replace(/^\s*/g, "").replace(/\s*$/g, ""); break; } } document.write('<scr'+'ipt type="text/javascript" src="http://ad1.adfarm1.adition.com/js?wp_id=9782'+marmelade+'"></scr'+'ipt>'); function monsterAdCorrection() { if (document.getElementById('ContentadView').offsetHeight < 260) { document.getElementById('newestMembersForMonsterAd').style.display = 'none'; document.getElementById('newestMembersForContentAd').style.display = 'block'; } } window.setTimeout("monsterAdCorrection()",500); } </script> </div> <script type="text/javascript" src="http://ad1.adfarm1.adition.com/js?wp_id=12966"></script> <script type="text/javascript" src="http://schuelerprofile.de.intellitxt.com/intellitxt/front.asp?ipid=9306"></script> <div id="agof" style="position:absolute"> <!-- SZM VERSION="1.5" --> <!-- Dieses Online-Angebot unterliegt nicht der IVW-Kontrolle! --> <script type="text/javascript"> <!-- var IVW="http://schuepro.ivwbox.de/cgi-bin/ivw/CP/sitelogout;"; document.write("<img src=\""+IVW+"?r="+escape(document.referrer)+"&d="+(Math.random()*100000)+"\" width=\"1\" height=\"1\" alt=\"szmtag\" />"); //--> </script> <noscript> <img src="http://schuepro.ivwbox.de/cgi-bin/ivw/CP/sitelogout;" width="1" height="1" alt="szmtag" /> </noscript> <!-- /SZM --> </div> <!-- served by slave44 --> </body> </html> <!-- cached --> Grüße Die_Quelle + Multi-Zitat Zitieren
#2 22. Dezember 2009 AW: Script bei Schüleprofile.de alles Mittig Hi, Hinter <body> Zeile:42 schreibst du wie unten und vor Zeile 323 </body> Code: <body> <div class="mitte" style="margin: 0px auto; width: 1000px;"> ..... ..... </div> </body> Wird aber nicht Perfekt laufen, da die Werbung und ein paar andere css aus web geladen wird. Ich denke da hast du kein zugriff drauf oder ? und hier: Code: <!--[if lte IE 7]> <link type="text/css" rel="stylesheet" href="http://static.schuelerprofile.de/css/iehacks2009-10-28--12-00.css" /> <![endif]> hast ne Fehler drin, ist alles als Kommentar. + Multi-Zitat Zitieren
#3 22. Dezember 2009 AW: Script bei Schüleprofile.de alles Mittig so wie er das sagt, bzw: margin-left:auto; margin-right:auto; geht nur mit fester width-angabe und ohne float! + Multi-Zitat Zitieren
#4 22. Dezember 2009 AW: Script bei Schüleprofile.de alles Mittig Das sollte reichen: Code: var body = document.getElementsByTagName('body')[0]; body.style.marginLeft = 'auto'; body.style.marginRight = 'auto'; + Multi-Zitat Zitieren
#5 22. Dezember 2009 AW: Script bei Schüleprofile.de alles Mittig ned wirklich, rein logisch steht <body> für den sichtbaren bereich, margin-left und -right sollte zwar gehen, aber ob da alle browser mitmachen is fraglich. am besten is die methode von Epidrome. für ie6 so ergänzen: Code: <body style="text-align:center;"> <div class="mitte" style="margin:0 auto;text-align:left;width:1000px;"> ... </div> </body> + Multi-Zitat Zitieren
#6 22. Dezember 2009 AW: Script bei Schüleprofile.de alles Mittig Er sucht ein Greasmonkey-Script, also muss es nur im Firefox funktionieren. + Multi-Zitat Zitieren
#7 22. Dezember 2009 AW: Script bei Schüleprofile.de alles Mittig achso, hab ich ned gelesen ^^ dann sollte das ganze funktionieren + Multi-Zitat Zitieren
#8 26. Dezember 2009 AW: Script bei Schüleprofile.de alles Mittig wäre cool wenn ihr mir das gibt was ich einfügen muss bzw. exe odaso hab von der materie keine ahnung bw habt ihr Grüße + Multi-Zitat Zitieren
#9 26. Dezember 2009 Zuletzt von einem Moderator bearbeitet: 14. April 2017 AW: Script bei Schüleprofile.de alles Mittig Rechtsklick auf den Affen in der Statusleiste von Firefox => Neues Benutzerscript anlegen Danach auf OK Klicken und im Editor meinen Code Einfügen. Fertig! + Multi-Zitat Zitieren