Frage zum Coding


Reply to this topicStart new topicStart Poll





Clubsänger/in
****

Gruppe: 4FANS-Mitglieder
Mitglied seit: 13. Oct 2011
Beiträge: 463
09. Jul 2012, 14:25
Link · · · · Zitat
Hab nix bekommen? :/


--------------------
user posted image





Schulchorsänger/in
**

Gruppe: Mitglieder
Mitglied seit: 18. Feb 2012
Beiträge: 55
09. Jul 2012, 14:28
Link · · · · Zitat
Komisch gruebel.gif Naja, egal frag ich dich halt hier. Ich habs so gemacht wie dus mir gesagt hast, aber jetzt sieht mein Content so aus: user posted image
Ist was an meinem Code falsch?


--------------------





Clubsänger/in
****

Gruppe: 4FANS-Mitglieder
Mitglied seit: 13. Oct 2011
Beiträge: 463
09. Jul 2012, 14:38
Link · · · · Zitat
Kannst du mir mal die Seite schicken, am besten per Nachricht tongue.gif


--------------------
user posted image





Schulchorsänger/in
**

Gruppe: Mitglieder
Mitglied seit: 18. Feb 2012
Beiträge: 55
09. Jul 2012, 14:41
Link · · · · Zitat
habs dir geschickt:)


--------------------





Clubsänger/in
****

Gruppe: 4FANS-Mitglieder
Mitglied seit: 04. Oct 2009
Beiträge: 384
08. Sep 2012, 16:28
Link · · · · Zitat
Ich habe auch eine Frage, immer wenn ich die Sidebar rechts machen will oder links, schiebt sicher Content immer mit!

Hier meine Codes:

QUOTE
  <!-- Begin SIDEBAR -->
<DIV style="right: 550px; top: 500px; width: 327px; height: 900px; position: absolute;">

<TABLE border="0" cellSpacing="0" cellPadding="0" width="327">
  <TBODY>
  <TR>
    <TD width="327">
      <DIV class="sidetitle">THE WELCOME</DIV></TD></TR></TBODY></TABLE>
<TABLE border="0" cellSpacing="0" cellPadding="0" width="327">
  <TBODY>
  <TR>
    <TD class="side" width="327">
    llllllllllllllllllllllll
    </TD></TR></TBODY></TABLE>
<TABLE border="0" cellSpacing="0" cellPadding="0" width="327" height="18">
  <TBODY>
  <TR>
    <TD style='background: url("Bilder/sidebar_footer.jpg");'
    height="100" width="327"></TD></TR></TBODY></TABLE>
<!-- END SIDEBAR -->






QUOTE
<!--BEGIN THE CONTENT-->
<DIV style="center: 600px; top: 10px; width: 710px; height: 51px; position: absolute;">
<iframe name="home" frameborder="0" border="0" framespacing="0" width="599" height="8500" src="news.php" scrolling="no"></iframe> </DIV>

<!--END THE CONTENT-->




Ich möchte aber gern, das ich dass extra machen kann!




--------------------





Mega Star
*********

Gruppe: 4FANS-Mitglieder
Mitglied seit: 12. Feb 2006
Beiträge: 5796
08. Sep 2012, 17:43
Link · · · · Zitat
Einfach im style-Code von deiner COntent Box noch ein "left: ..px" einfügen.


--------------------





Clubsänger/in
****

Gruppe: 4FANS-Mitglieder
Mitglied seit: 04. Oct 2009
Beiträge: 384
09. Sep 2012, 06:43
Link · · · · Zitat
Ja aber das habe ich auch schon versucht!


--------------------





Mega Star
*********

Gruppe: 4FANS-Mitglieder
Mitglied seit: 12. Feb 2006
Beiträge: 5796
09. Sep 2012, 10:01
Link · · · · Zitat
Ich sehe gerade, dass du in deinem Sidebar-Code auch einen Fehler hast, ews fehlt nämlich vor

CODE
<!-- END SIDEBAR -->


noch das schließende </div>.


--------------------





Clubsänger/in
****

Gruppe: 4FANS-Mitglieder
Mitglied seit: 04. Oct 2009
Beiträge: 384
18. Nov 2012, 12:05
Link · · · · Zitat
Ich brauche kurz Hilfe und zwar habe ich ein neues Lay gemacht und leider bekomme ich die Werbung nicht vom Fleck die von 4Fans ist, die Werbung wir nur hinter der Sidebar und dem Content angezeigt!
http://ashlee-simpson.4fans.net/


--------------------





Mega Star
*********

Gruppe: 4FANS-Mitglieder
Mitglied seit: 12. Feb 2006
Beiträge: 5796
18. Nov 2012, 14:16
Link · · · · Zitat
Du musst die Box mit der Sidebar und dem Content noch min. 100px nach unten schieben.

Oder du packst den Werberbanner-Code nicht in die Tabelle, wo der Header drin ist sondern machst es in eine extra DIV-Box, die du dann frei verschieben kannst.

Bearbeitet von imagine am 18. Nov 2012, 14:17


--------------------





Clubsänger/in
****

Gruppe: 4FANS-Mitglieder
Mitglied seit: 04. Oct 2009
Beiträge: 384
21. Nov 2012, 10:36
Link · · · · Zitat
QUOTE (imagine @ 18. Nov 2012, 14:16)
Du musst die Box mit der Sidebar und dem Content noch min. 100px nach unten schieben.

Oder du packst den Werberbanner-Code nicht in die Tabelle, wo der Header drin ist sondern machst es in eine extra DIV-Box, die du dann frei verschieben kannst.

Und wie mach ich das mit der DIV BOX!???


--------------------





Mega Star
*********

Gruppe: 4FANS-Mitglieder
Mitglied seit: 12. Feb 2006
Beiträge: 5796
21. Nov 2012, 11:34
Link · · · · Zitat
Genau so, wie du es schon bspw. bei deinem Content gemacht hast wink.gif


--------------------





Clubsänger/in
****

Gruppe: 4FANS-Mitglieder
Mitglied seit: 04. Oct 2009
Beiträge: 384
21. Nov 2012, 11:52
Link · · · · Zitat
Ah ok, jetzt habe ich es hinbekommen, das sind manchmal so kleine Sachen, die man gar nicht mitbekommt! Aber vielen Dank!


--------------------





Clubsänger/in
****

Gruppe: 4FANS-Mitglieder
Mitglied seit: 13. Nov 2007
Beiträge: 251
13. Dec 2012, 11:38
Link · · · · Zitat
Ich bräuchte auch nochmal Hilfe bitte ... Wenn Ich bei dem Layout http://annakendrickweb.com/wordpress den Content verschieben will verschiebt sich die komplette Sidebar mit und Ich find den Fehler einfach nicht wink.gif Hab dutzende Tutorials gelesen aber in jedem wird was anderes vorgeschrieben und nu Blick Ich gar nicht mehr richtig durch wie Ich nun die Sidebar und den Content dahin platziere wo er hin soll.

hier mal die Codes ...

INDEX.PHP
CODE
<?php get_header(); ?>

<div id="content">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>


<table width="655" height="94" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="4" height="10">
<img src="http://annakendrickweb.com/wordpress/wp-content/themes/ashleybenson/news_content/news_content_01.png" width="655" height="10" alt=""></td>
</tr>
<tr>
<td class="newsleft" rowspan="2" style="width: 10px">
<img src="http://annakendrickweb.com/wordpress/wp-content/themes/ashleybenson/news_content/news_content_02.png" width="10" height="65" alt=""></td>
<td class="newsdate" style="height: 64; width: 58px">
<span class="month"><?php the_time('M'); ?></span><span class="day"><?php the_time('jS'); ?></span>
</td>
<td class="posttitle" style="height: 64px; width: 577px">
<h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(''); ?>"><?php the_title(''); ?></a></h1>
<h3>Author: <?php the_author(', ') ?> - Categorie: <?php the_category(', ') ?> - <?php comments_popup_link(__('No Comments', '% Comment(s)')); ?></a><h3>
</td>
<td class="newsright" rowspan="2" style="width: 10px">
<img src="http://annakendrickweb.com/wordpress/wp-content/themes/ashleybenson/news_content/news_content_03.png" width="10" height="65" alt=""></td>
</tr>
<tr>
<td class="post-content" colspan="2" style="width: 570" height="18">
<?php the_content('click to read more &raquo;'); ?></div>
</div>
</td>
</tr>
<tr>
<td colspan="4" height="10">
<img src="http://annakendrickweb.com/wordpress/wp-content/themes/ashleybenson/news_content/news_content_04.png" width="655" height="10" alt=""></td>
</tr>
</table>
<br>


<?php endwhile; ?>
<?php if (function_exists('wp_pagenavi')) wp_pagenavi(); ?>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
</div>
<?php get_footer(); ?>



SIDEBAR.PHP
CODE
<div id="sidebar">
<div class="sidebartitle"><img border="0" src="<?php bloginfo('template_url'); ?>/images/01.png" width="196" height="32"></div>
<div class="sidebarcontent">
Welcome to Ashley Benson World - your newest and fast-growing fansite dedicated to Ashley Victoria Benson, best known for her role as Hanna Marin in ABC Family's hit series Pretty Little Liars. We aim to bring you the latest news updates as well as exclusive content and soon become your ultimate fan destination for everything Ashley. Our photo gallery is currently holding over 20,000 images that are of the highest quality for your viewing pleasure. Feel free to browse around the site while we continue to make it grow.
</div>



<div class="sidebartitle"><img border="0" src="<?php bloginfo('template_url'); ?>/images/02.png" width="196" height="32"></div>
<div class="sidebarcontent">
<center>
<img src="<?php bloginfo('template_url'); ?>/images/pllempty.jpg"><br><br>
<u>3.14 - She's Better Now</u><br>
Airs on Tue, January 8 at 8 p.m. ET/PT on ABC Family
</center>
<blockquote>
Radley Sanitarium has given Mona a clean bill of health and she is headed back to the halls of Rosewood High, much to the Liars’ dismay. With their former tormentor now back in their everyday life, Aria, Emily, Hanna and Spencer take very different views of the “new” Mona. Sure she made their lives a living hell, but is she really cured? And what other secrets could she be holding onto? It is up to Mona to prove to the Liars if she has changed or not.
</blockquote>
<center>
<a href="http://www.youtube.com/watch?&v=CHQvvCu_yhU">
Watch Promotional Video</a>
</center>
</div>



<div class="sidebartitle"><img border="0" src="<?php bloginfo('template_url'); ?>/images/03.png" width="196" height="32"></div>
<div class="sidebarcontent">
<center>
...
</center>
</div>




<div class="sidebartitle"><img border="0" src="<?php bloginfo('template_url'); ?>/images/04.png" width="196" height="32"></div>
<div class="sidebarcontent">
<center>
<center><a href="http://lea-michele.com" target="_blank" title="Lea Michele">
<img src="http://ash-benson.org/info/wp-content/themes/NBD-ASHLEYBENSON/images/family_lea.jpg" width=42></a>
<a href="http://dianna-agron.org" target="_blank" title="Dianna Agron">
<img src="http://ash-benson.org/info/wp-content/themes/NBD-ASHLEYBENSON/images/family_dianna.jpg" width=42></a>
<a href="http://rachel-b.com" target="_blank" title="Rachel Bilson">
<img src="http://ash-benson.org/info/wp-content/themes/NBD-ASHLEYBENSON/images/family_rachel.jpg" width=42></a>
<a href="http://emwatson.org/" target="_blank" title="Emma Watson">
<img src="http://ash-benson.org/info/wp-content/themes/NBD-ASHLEYBENSON/images/family_emma.jpg" width=42></a>
<a href="http://chordoverstreet.net" target="_blank" title="Chord Overstreet">
<img src="http://ash-benson.org/info/wp-content/themes/NBD-ASHLEYBENSON/images/family_chord.jpg" width=42></a>
<a href="http://karengillanweb.org/" target="_blank" title="Karen Gillan">
<img src="http://ash-benson.org/info/wp-content/themes/NBD-ASHLEYBENSON/images/family_karen.jpg" width=42></a>
</center>
</div>



<div class="sidebartitle"><img border="0" src="<?php bloginfo('template_url'); ?>/images/05.png" width="196" height="32"></div>
<div class="sidebarcontent">
<center>
<u>On the Red Carpet</u>
<img src="<?php bloginfo('template_url'); ?>/images/normal_abw_sbtiff_arrivals123.jpg" width=260>
</center>
<blockquote>
Ashley glammed up for the premiere of
her new film &quot;Spring Breakers&quot; at the 2012 Toronto International Film
Festival on Friday (September 7) in Toronto, Canada. She wore a
black-and-gold gown by Dolce &amp; Gabbana from the Fall/Winter 2012-2013
Evening Collection with a pair of black platform sandals and delicate
jewelry from Dana Rebecca Designs.
</blockquote>
<center>
<a href="http://ash-benson.org/gallery/thumbnails.php?album=430" target="_blank">
Click here for more pictures from the event</a>
</center>
</div>



<div class="sidebartitle"><img border="0" src="<?php bloginfo('template_url'); ?>/images/06.png" width="196" height="32"></div>
<div class="sidebarcontent">
<img border="0" src="<?php bloginfo('template_url'); ?>/images/leer_project.png" width="45" height="60" align="left">
&nbsp;+ <u>Title here</u><br>
&nbsp;&#9679 <b>Role:</b> ...<br>
&nbsp;&#9679 <b>Status:</b> ...<br>
&nbsp;&#9679 <b>Release:</b> ...<br>
&nbsp;&#9679 <a href="#">IMDb</a> | <s>Site</s> | <a href="#">Trailer</a><br>

<br>

<img border="0" src="<?php bloginfo('template_url'); ?>/images/leer_project.png" width="45" height="60" align="left">
&nbsp;+ <u>Title here</u><br>
&nbsp;&#9679 <b>Role:</b> ...<br>
&nbsp;&#9679 <b>Status:</b> ...<br>
&nbsp;&#9679 <b>Release:</b> ...<br>
&nbsp;&#9679 <a href="#">IMDb</a> | <s>Site</s> | <a href="#">Trailer</a><br>

<br>

<img border="0" src="<?php bloginfo('template_url'); ?>/images/leer_project.png" width="45" height="60" align="left">
&nbsp;+ <u>Title here</u><br>
&nbsp;&#9679 <b>Role:</b> ...<br>
&nbsp;&#9679 <b>Status:</b> ...<br>
&nbsp;&#9679 <b>Release:</b> ...<br>
&nbsp;&#9679 <a href="#">IMDb</a> | <s>Site</s> | <a href="#">Trailer</a>
</div>




<div class="sidebartitle"><img border="0" src="<?php bloginfo('template_url'); ?>/images/06.png" width="196" height="32"></div>
<div class="sidebarcontent">
<center>
<a  href="http://janel-parrish.org/" title="Janel Parrish | Mona Vanderwall"><img src="http://ash-benson.org/affiliationally/images/9_JanelParrishMonaVanderwall.jpg" alt="Janel Parrish | Mona Vanderwall" /></a><a  href="http://julian-morris.com" title="Julian Morris | Wren Kingston"><img src="http://ash-benson.org/affiliationally/images/9_JulianMorris.jpg" alt="Julian Morris | Wren Kingston" /></a><a  href="http://keeganallen.org/" title="Keegan Allen | Toby Cavanaugh"><img src="http://ash-benson.org/affiliationally/images/9_KeeganAllenWeb.jpg" alt="Keegan Allen | Toby Cavanaugh" /></a><a  href="http://lucyhaledaily.com/" title="Lucy Hale | Aria Montgomery"><img src="http://ash-benson.org/affiliationally/images/9_LucyHaleDaily.jpg" alt="Lucy Hale | Aria Montgomery" /></a><a  href="http://sashapieterse.com/" title="Sasha Pieterse | Alison DiLaurentis"><img src="http://ash-benson.org/affiliationally/images/9_SashaPieterse.jpg" alt="Sasha Pieterse | Alison DiLaurentis" /></a><a  href="http://shaymitchell.org" title="Shay Mitchell | Emily Fields"><img src="http://ash-benson.org/affiliationally/images/9_ShayMitchell.jpg" alt="Shay Mitchell | Emily Fields" /></a><a  href="http://oh-tammin.com" title="Tammin Sursok | Jenna Marshall"><img src="http://ash-benson.org/affiliationally/images/9_TamminSursokJennaMarshall.jpg" alt="Tammin Sursok | Jenna Marshall" /></a><a  href="http://troianbellisario.us/" title="Troian Bellisario | Spencer Hastings"><img src="http://ash-benson.org/affiliationally/images/9_TroianBellisarioSpencerHastings.jpg" alt="Troian Bellisario | Spencer Hastings" /></a><a  href="http://tylerblackburn.net/" title="Tyler Blackburn | Caleb Rivers"><img src="http://ash-benson.org/affiliationally/images/9_TylerBlackburnCalebRivers.jpg" alt="Tyler Blackburn | Caleb Rivers" /></a>
</center>
</div>




<div class="sidebartitle"><img border="0" src="<?php bloginfo('template_url'); ?>/images/06.png" width="196" height="32"></div>
<div class="sidebarcontent">
<center>
<a  href="http://ashleybensonbrazil.com" title="Ashley Benson Brazil"><img src="http://ash-benson.org/affiliationally/images/1_AshleyBensonBrazil.jpg" alt="Ashley Benson Brazil" /></a><a  href="http://b-lively.net/" title="Blake Lively"><img src="http://ash-benson.org/affiliationally/images/1_BlakeLively.jpg" alt="Blake Lively" /></a><a  href="http://britt-robertson.com" title="Britt Robertson"><img src="http://ash-benson.org/affiliationally/images/1_BrittRobertson.jpg" alt="Britt Robertson" /></a><a  href="http://c-serratos.net/" title="Christian Serratos"><img src="http://ash-benson.org/affiliationally/images/1_ChristianSerratos.jpg" alt="Christian Serratos" /></a><a  href="http://claire-holt.net/" title="Claire Holt"><img src="http://ash-benson.org/affiliationally/images/1_ClaireHolt.jpg" alt="Claire Holt" /></a><a  href="http://drewvanackercrew.com" title="Drew Van Acker"><img src="http://ash-benson.org/affiliationally/images/1_DrewVanAcker.jpg" alt="Drew Van Acker" /></a><a  href="http://hotchellerae.org/" title="Hot Chelle Rae Fan"><img src="http://ash-benson.org/affiliationally/images/1_HotChelleRaeFan.jpg" alt="Hot Chelle Rae Fan" /></a><a  href="http://j-padalecki.org/" title="Jared Padalecki"><img src="http://ash-benson.org/affiliationally/images/1_JaredPadalecki.jpg" alt="Jared Padalecki" /></a><a  href="http://jengarner.net/" title="Jennifer Garner"><img src="http://ash-benson.org/affiliationally/images/1_JenniferGarner.jpg" alt="Jennifer Garner" /></a><a  href="http://lilycollinsdaily.com" title="Lily Collins"><img src="http://ash-benson.org/affiliationally/images/1_LilyCollinsDaily.jpg" alt="Lily Collins" /></a><a  href="http://lucy-hale.org" title="Lucy Hale"><img src="http://ash-benson.org/affiliationally/images/1_LucyHale.jpg" alt="Lucy Hale" /></a><a  href="http://melissa-benoist.com" title="Melissa Benoist"><img src="http://ash-benson.org/affiliationally/images/1_MelissaBenoist.jpg" alt="Melissa Benoist" /></a><a  href="http://www.prettylittleliarsfan.com" title="Pretty Little Liars"><img src="http://ash-benson.org/affiliationally/images/1_PrettyLittleLiars.jpg" alt="Pretty Little Liars" /></a><a  href="http://selenamgomez.us/" title="Selena Gomez"><img src="http://ash-benson.org/affiliationally/images/1_SelenaGomez.jpg" alt="Selena Gomez" /></a><a  href="http://www.torrey-devitto.org/" title="Torrey DeVitto"><img src="http://ash-benson.org/affiliationally/images/1_TorreyDeVittoWeb.jpg" alt="Torrey DeVitto" /></a><a  href="http://troian-bellisario.com/" title="Troian Bellisario"><img src="http://ash-benson.org/affiliationally/images/1_TroianBellisario.jpg" alt="Troian Bellisario" /></a><a  href="http://vanessa-anne.org" title="Vanessa Hudgens"><img src="http://ash-benson.org/affiliationally/images/1_VanessaHudgens.jpg" alt="Vanessa Hudgens" /></a><a  href="http://ash-benson.org/online/apply-for-an-affiliation/" title="You?"><img src="http://ash-benson.org/affiliationally/images/1_You.jpg" alt="You?" /></a><a  href="http://ash-benson.org/online/apply-for-an-affiliation/" title="You?"><img src="http://ash-benson.org/affiliationally/images/1_You.jpg" alt="You?" /></a><a  href="http://ash-benson.org/online/apply-for-an-affiliation/" title="You?"><img src="http://ash-benson.org/affiliationally/images/1_You.jpg" alt="You?" /></a>
<br><br>
<select name="Affiliates" onchange="top.location = (this.options[this.selectedIndex].value)"><option value="">
Top Affiliates</option><option value="">=================</option></select>
<br />
<br />
<div id="buttons"><a href="http://ash-benson.org/online/affiliates/">View all affiliates</a>
<a href="http://ash-benson.org/online/apply-for-an-affiliation/">Apply for an affiliation</a>
</center>
</div>



<div class="sidebartitle"><img border="0" src="<?php bloginfo('template_url'); ?>/images/06.png" width="196" height="32"></div>
<div class="sidebarcontent">
<a href="http://ash-benson.org">ASH-BENSON.ORG</a><br />
<a href="http://ashbenson.org">ASHBENSON.ORG</a><br />
<a href="http://ashbenson.net">ASHBENSON.NET</a><br />
<a href="http://ash-benson.com">ASH-BENSON.COM</a><br />
<a href="http://ashley-b.com">ASHLEY-B.COM</a>
</div>




<div class="sidebartitle"><img border="0" src="<?php bloginfo('template_url'); ?>/images/06.png" width="196" height="32"></div>
<div class="sidebarcontent">
<center><iframe src="http://snapwidget.com/sl/?u=aXRzYXNoYmVuem98aW58MjYwfDJ8M3x8eWVzfDV8ZmFkZUlu" allowTransparency="true" frameborder="0" scrolling="no" style="border:none; overflow:hidden; width:235px; height: 275px" ></iframe>

<br />
<br />

<a href="http://web.stagram.com/n/itsashbenzo/" target="_blank">Instagram</a>
<a href="http://twitter.com/AshBenzo" target="_blank">Twitter</a>
<a href="https://www.facebook.com/ashbenzo" target="_blank">Facebook</a>
<a href="http://www.youtube.com/user/itsashbenzo" target="_blank">Youtube</a>

<br />
<br />
<a href="http://ashleybenson.net" target="_blank">Click here to visit Ashley's official webpage</a>
</center>
</div>




<div class="sidebartitle"><img border="0" src="<?php bloginfo('template_url'); ?>/images/06.png" width="196" height="32"></div>
<div class="sidebarcontent">
<center>
<script src="http://widgets.twimg.com/j/2/widget.js"></script>
<script>
new TWTR.Widget({
 version: 2,
 type: 'profile',
 rpp: 3,
 interval: 30000,
 width: 250,
 height: 225,
 theme: {
   shell: {
     background: '#f8f8f8',
     color: '#666'
   },
   tweets: {
     background: '#f8f8f8',
     color: '#666',
     links: '#E02921'
   }
 },
 features: {
   scrollbar: false,
   loop: false,
   live: true,
   hashtags: true,
   timestamp: true,
   avatars: false,
   behavior: 'all'
 }
}).render().setUser('AshBensonORG').start();
</script>
</center>
</div>




<div class="sidebartitle"><img border="0" src="<?php bloginfo('template_url'); ?>/images/07.png" width="196" height="32"></div>
<div class="sidebarcontent">
<center>
<a href="http://ash-benson.org/gallery/thumbnails.php?album=445" target="_blank"><img src="<?php bloginfo('template_url'); ?>/images/normal_abw_sbportrait006.jpg"></a><br>
&quot;Spring Breakers&quot; Toronto International Film Festival Portraits
</center>
</div>




<div class="sidebartitle"><img border="0" src="<?php bloginfo('template_url'); ?>/images/07.png" width="196" height="32"></div>
<div class="sidebarcontent">
<center>
<div class="fb-like-box" data-href="http://facebook.com/AshBensonORG" data-width="300" data-show-faces="true" data-border-color="#F8F8F8" data-stream="false" data-header="false">
</center>
</div>




<div class="sidebartitle"><img border="0" src="<?php bloginfo('template_url'); ?>/images/06.png" width="196" height="32"></div>
<div class="sidebarcontent">
<strong>Webmistress:</strong> <a href="http://deadele.com" target="_blank">DeA</a> and Mayara<br />
<strong>Celebrity supported:</strong> Ashley Benson<br />
<strong>Contact:</strong> <a href="http://ash-benson.org/website/contact-us/" target="_blank">By email</a><br />
<strong>Hosted by:</strong> <a href="http://fan-sites.org" target="_blank">Fan Sites Network</a><br />
<strong>Opened Since:</strong> April 20, 2012<br />
<strong>Layout:</strong> Version 3.0 by <a href="http://www.develop12.org" target="_blank">Develop12.org</a><br /><br />
<blockquote>
Ash-Benson.ORG is an unofficial,
non-profit fansite dedicated to Ashley Benson. This site is run by fans and
is in no way affiliated with Ashley Benson, her management, or any
representation there of. It simply serves as a resource for the
entertainment of her fans.<br />
<br />
We take no ownership rights to any photos, media or information posted on
the site. No copyright infringement is intended. All original graphics and
content belong to Ashley Benson World (unless specified otherwise). Please
contact us to request a removal of your property that is not meant for
redistribution before taking any legal action.<br />
<br />
Video captures and magazine scans are provided by or exclusively to
Ash-Benson.ORG (unless stated otherwise) so please give us proper credit
when redistributing them elsewhere.</span></blockquote>
<br />
<a href="http://ash-benson.org/website/disclaimer/">Read full disclaimer...</a>
</div>



FOOTER.PHP
CODE
<div id="footer">
</div>
</div>

<?php wp_footer(); ?>

<center>
<img border="0" src="http://annakendrickweb.com/wordpress/wp-content/themes/ashleybenson/images/footer.jpg" width="960" height="59">
</center>

</body>
</html>



STYLE.CSS
CODE
/*

Theme Name: Ashley Benson #01
Theme Use: http://ash-benson.org/
Author: Yukiko {www.develop12.org}
Released: 12/12/2012
Version: 1


=============================================================================================================*/

body {
padding: 0;
margin: 0;
color: #383838;
font-style: normal;
font-family: Verdana, Arial, Tahoma;
background-color: #D7C2B1;
background-image: url('images/bg.jpg');
background-repeat: repeat-y;
background-position: center top;
}

#wrapper {
width: 982px;
margin: 0 auto;
position: relative;
}

#head {
width: 982px;
height: 445px;
margin: 0 auto;
position: relative;
}

@font-face {
font-family: Novecentowide-Medium;
src: url(fonts/Novecentowide-Medium);
src: local("Novecentowide-Medium"), url(fonts/Novecentowide-Medium.otf)format("opentype");
}

@font-face {
font-family: Novecentowide-Bold;
src: url(fonts/Novecentowide-Bold);
src: local("Novecentowide-Bold"), url(fonts/Novecentowide-Bold.otf)format("opentype");
}

a {
color: #9B603B;
text-decoration: none;
font-weight: bold;
}

a:hover {
color: #FFFFFF;
font-weight: normal;
text-decoration: underline;
}

h1 {
font-family: Novecentowide-Medium, Geneva, sans-serif;
text-align: left;
text-transform: uppercase;
}

h3 {
font-family: Novecentowide-Medium, Trebuchet Ms, Verdana;
text-align: left;
text-transform: uppercase;
}

textarea, select, input {
table-layout: fixed;
background-color: #E0DFDC;
border: 1px solid #D7D7D7;
padding: 7px;
margin-top: 3px;
font-family: Verdana, Geneva, sans-serif;
font-size: 9px;
color: #383838;
-moz-border-radius: 4px;
-border-radius: 4px;
-webkit-border-radius: 4px;
}

blockquote {
margin: 3px;
padding: 10px;
font-style: italic;
background-color: #F1F0EF;
-moz-border-radius: 4px;
-border-radius: 4px;
-webkit-border-radius: 4px;
}

/* --------SIDEBAR-LEFT-------- */

#sidebar {
margin-right: 24px;
margin-top: -365px;
position: relative;
clear: both;
float: right;
width: 270px;
}

.sidebartitle {
padding-left: 0px;
padding-top: 10px;
padding-bottom: 6px;
text-align: left;
background-color: none;
}

.sidebarcontent {
font-size: 9px;
font-family: Verdana, Tahoma;
color: #383838;
text-align: justify;
vertical-align: top;
padding: 0px;
line-height: 14px;
text-shadow: 1px 1px #ffffff;
background-color: transparent;
background-repeat: repeat-x;
}

.sidebarcontent b, .sidebarcontent strong, .sidebarcontent bold {
color: #494848;
}

.sidebarcontent u, .sidebarcontent underline {
color: #494848;
font-weight: bold;
}

.sidebarcontent i, .sidebarcontent em {
color: #9C623C;
text-decoration: none;
font-style: italic;
font-weight: normal;
}

.sidebarcontent a {
color: #C48544;
font-style: normal;
font-weight: bold;
}

.sidebarcontent a:hover {
color: #5B605A;
text-decoration: underline;
font-style: normal;
font-weight: bold;
}

.sidebarcontent img {
margin: 1px;
padding: 5px;
-moz-border-radius: 3px;
-border-radius: 3px;
-webkit-border-radius: 3px;
border: #D7D7D7 1px solid;
background-color: #fffff;
}

.sidebarcontent img:hover {
-moz-border-radius: 9px;
}

/* -----CONTENT-NEWS----- */

#content {
margin-left: -677px;
margin-top: -3088px;
position: relative;
clear: both;
float: left;
width: 655px;
}

.post-content {
width: 570px;
font-size: 9px;
font-family: Verdana,Tahoma;
color: #414043;
text-shadow: 1px 1px #ffffff;
text-align: justify;
padding: 6px;
line-height: 14px;
background-color: #EAE9E6;
}

.post-content i, .post-content em {
color: #D8A769;
text-decoration: none;
font-style: italic;
font-weight: normal;
}

.post-content b, .post-content bold {
color: #494848;
font-weight: bold;
}

.post-content a {
color: #9C623C;
text-decoration: none;
font-style: normal;
font-weight: bold;
}

.post-content a:hover {
color: #515151;
text-decoration: underline;
font-style: normal;
font-weight: bold;
}

.post-content img {
margin: 0px;
padding: 7px;
-moz-border-radius: 4px;
-border-radius: 4px;
-webkit-border-radius: 4px;
border: #D7D7D7 1px solid;
background-color: #ffffff;
}

.post-content img:hover {
-moz-border-radius: 12px;
}

td.posttitle h1 {
font-family: Novecentowide-Medium;
font-size: 20px;
letter-spacing: -2px;
color: #403B3B;
margin: 1px;
text-align: justify;
padding-left: 2px;
padding-top: 2px;
font-weight: bold;
text-transform: uppercase;
line-height: 15px;
text-shadow: 1px 1px #ffffff;
background: #EAE9E6;
}

td.posttitle h1 a {
text-transform: uppercase;
color: #38383B;
font-weight: bold;
}

td.posttitle h1 a:hover {
text-transform: uppercase;
color: #cd212b;
font-weight: bold;
text-decoration: none;
}

td.posttitle h3 {
font-family: Novecentowide-Bold;
font-size: 11px;
margin: 1px;
color: #403B3B;
letter-spacing: -2px;
text-align: justify;
padding-left: 2px;
text-transform: uppercase;
letter-spacing: 0px;
line-height: 15px;
font-weight: bold;
text-shadow: 1px 1px #ffffff;
}

td.posttitle h3 a {
color: #9B603B;
font-weight: bold;
text-decoration: none;
}

td.posttitle h3 a:hover {
color: #9B603B;
font-weight: bold;
text-decoration: underline;
}

td.posttitle {
width: 577px;
height: 64px;
background-color: #EAE9E6;
vertical-align: middle;
}

td.newsleft {
width: 10px;
background-color: #EAE9E6;
background-image: url('http://annakendrickweb.com/wordpress/wp-content/themes/ashleybenson/news_content/news_content_02.png');
background-repeat: repeat-y;
vertical-align: top;
}

td.newsright {
width: 10px;
background-color: #EAE9E6;
background-image: url('http://annakendrickweb.com/wordpress/wp-content/themes/ashleybenson/news_content/news_content_03.png');
background-repeat: repeat-y;
vertical-align: top;
}

td.newsdate {
width: 58px;
height: 64px;
background-color: #E0DFDC;
background-image: url('http://annakendrickweb.com/wordpress/wp-content/themes/ashleybenson/news_content/news_content_05.png');
background-repeat: no-repeat;
vertical-align: center;
text-align: center;
}

.month {
font-size: 19px;
text-shadow: 1px 1px 0 #9C623C;
letter-spacing: -1px;
color: #FFF;
display: block;
line-height: 13px;
font-weight: bold;
letter-spacing: 0px;
}

.day {
font-size: 21px;
text-shadow: 1px 1px 0 #9C623C;
letter-spacing: -1px;
color: #FFF;
display: block;
line-height: 15px;
font-weight: bold;
}

#footer {
height: 68px;
padding: 0px;
margin: 0 auto;
float: center;
}

/* --------WP-PAGES-------- */


#wp_page_numbers ul li {
display: inline;
}

.wp-pagenavi {
clear: both;
float: center;
padding: 5px;
font-size: 9px;
}

.wp-pagenavi a, .wp-pagenavi span {
text-decoration: none;
background-color: #EAE9E6;
border: 0px solid #1F1A17;
padding: 5px 5px;
margin: 2px;
-moz-border-radius: 3px;
border-radius: 3px;
-webkit-border-radius: 3px;
color: #414043;
}

.wp-pagenavi a:hover, .wp-pagenavi span.current {
border: 0px solid #d1c5a2;
background-color: #D8A769;
color: #FFFFFF;
-moz-border-radius: 3px;
border-radius: 3px;
-webkit-border-radius: 3px;
}

.wp-pagenavi span.current {
text-decoration: none;
background-color: #EAE9E6;
border: 0px solid #1F1A17;
padding: 5px 5px;
margin: 2px;
-moz-border-radius: 3px;
border-radius: 3px;
-webkit-border-radius: 3px;
color: #414043;
}

/* --------TWITTER-------- */

#twtr-widget-1 .twtr-bd, #twtr-widget-1 .twtr-timeline i a, #twtr-widget-1 .twtr-bd p {
color: #3B3B3B !important;
font-size: 9px;
font-family: Verdana;
line-height: 14px;
}

.twtr-widget .twtr-tweet {
border-bottom: 1px dashed #D7D7D7 !important;
}

.twtr-hd h3{display: none;}
.twtr-hd h4 a{display:none !important;}
img.twtr-profile-img {display:none !important;}
.twtr-ft span{display:none !important;}
.twtr-ft img{display:none !important;}
.twtr-ft{display: none !important;}
.twtr-hd{display: none !important;
}


Ich danke schon mal im vorraus





Mega Star
*********

Gruppe: 4FANS-Mitglieder
Mitglied seit: 12. Feb 2006
Beiträge: 5796
13. Dec 2012, 13:00
Link · · · · Zitat
Wenn du deinen Code verstehen würdest, dann hättest du die Lösung bereits wink.gif

Ein Anhaltspunkt:

CODE
#sidebar {
margin-right: 24px;
margin-top: -365px;
position: relative;
clear: both;
float: right;
width: 270px;
}

#content {
margin-left: -677px;
margin-top: -3088px;
position: relative;
clear: both;
float: left;
width: 655px;
}


Diese beiden Klassen musst du bearbeiten, dass es richtig angezeigt wird. Bspw. musst du das float:lleft/right vertauschen und auch die margin-Sachen anpassen.

Bearbeitet von imagine am 13. Dec 2012, 13:01


--------------------





Clubsänger/in
****

Gruppe: 4FANS-Mitglieder
Mitglied seit: 13. Nov 2007
Beiträge: 251
13. Dec 2012, 13:20
Link · · · · Zitat
Man das ist gar nicht so einfach wink.gif danke dir für deinen Tip habs nun hinbekommen und hoffentlich auch richtig verstanden irre.gif

Bearbeitet von Yukiko am 13. Dec 2012, 13:55





Clubsänger/in
****

Gruppe: 4FANS-Mitglieder
Mitglied seit: 04. Oct 2009
Beiträge: 384
19. Dec 2012, 10:29
Link · · · · Zitat
Ich habe ne Frage, wie immer aber ich hoffe Ihr könnt mir helfen:
Und zwar, bekomme ich meine Sidebar nicht von der Stelle!

Hier mein Code:
<DIV style="left: 100px; top: 500px; width: 327px; height: 900px; position: absolute;">

Was muss ich ändern?



--------------------





Clubsänger/in
****

Gruppe: 4FANS-Mitglieder
Mitglied seit: 13. Nov 2007
Beiträge: 251
07. Jan 2013, 14:23
Link · · · · Zitat
Ich hab auch nochmal eine Frage, und zwar wie bei meinem jetzigen Layout, wenn ich links und rechts eine Sidebar habe und den Content mittig, wie arbeite ich da am besten mit den float befhelen? also float left für die linke sidebar und float right für die rechte, welchen Befehl geb ich den aber dem Content?

Ausserdem hab ich ein Tutorial gefunden das das arbeiten mit 3 Boxen wiederrum ganz anders erklärt, welches Coding ist denn nun das beste?

http://www.html-seminar.de/css-absolute-po...ung-aufgabe.htm





Mega Star
*********

Gruppe: 4FANS-Mitglieder
Mitglied seit: 12. Feb 2006
Beiträge: 5796
07. Jan 2013, 18:10
Link · · · · Zitat
Ganz einfach: der linken Sidebar und dem Content gibst du ein float:left, der rechten float:right.


--------------------





4FANS-Team
*********

Gruppe: 4FANS-Admins
Mitglied seit: 10. Oct 2004
Beiträge: 9392
07. Jan 2013, 18:16
Link · · · · Zitat
QUOTE (Yukiko @ 07. Jan 2013, 14:23)
Ausserdem hab ich ein Tutorial gefunden das das arbeiten mit 3 Boxen wiederrum ganz anders erklärt, welches Coding ist denn nun das beste?

http://www.html-seminar.de/css-absolute-po...ung-aufgabe.htm

Da steht aber nichts von einem mittigen Layout, soweit ich es sehe ist es kein mittiges. Ein "richtig" oder "falsch" gibt es an sich nicht, deshalb gibt es oft mehrere Möglichkeiten, mit float halte ich es persönlich für am einfachsten.



Thema wird von 0 Benutzer(n) gelesen (0 Mitglieder, 0 Gäste und 0 Anonyme Benutzer)
 


Seiten: (2) 1 [2] 
Reply to this topic Start new topicStart Poll