Antworten auf deine Fragen:
Neues Thema erstellen

[CSS + HTML] Rahmenproblem beim Blog

solart

Terraner

hallo coder,

ich habe ein kleines problem mit einem rahmen bei meinem blog.
wie am screen-shoot zu erkennen fehlt bei der titelleiste als auch beim footer im post die obere bzw untere linie.
wie bekomme ich das hin, dass diese wieder zu sehen ist. ich vermute das es entweder am css liegt oder aber an den ganzen div-tags, bin aber nicht sicher und erfahren genung den fehler zu finden.



HTML:
<!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" xml:lang="en" lang="en" dir="<$BlogLanguageDirection$>">

<head>
  <title><$BlogPageTitle$></title>

  <$BlogMetaData$>

  <style type="text/css">

body {
  background:#333;
  margin:0;
  padding:20px 10px;
  text-align:center;
  font:x-small/1.5em "Trebuchet MS",Verdana,Arial,Sans-serif;
  color:#333;
  font-size/* */:/**/small;
  font-size: /**/small;
  }


/* Page Structure
----------------------------------------------- */
/* The images which help create rounded corners depend on the 
   following widths and measurements. If you want to change 
   these measurements, the images will also need to change.
   */
@media all {
  #content {
    width:740px;
    margin:0 auto;
    text-align:left;
    }
  #main {
    width:485px;
    float:left;
    background:#fff no-repeat left bottom;
    margin:15px 0 0;
    padding:0 0 10px;
    color:#000;
    font-size:97%;
    line-height:1.5em;
    }
  #main2 {
    float:left;
    width:100%;
    padding:10px 0 0;
    }
  #main3 {
    padding:0;
    }
  #sidebar {
    width:240px;
    float:right;
    margin:15px 0 0;
    font-size:97%;
    line-height:1.5em;
    }
  }
@media handheld {
  #content {
    width:90%;
    }
  #main {
    width:100%;
    float:none;
    background:#fff;
    }
  #main2 {
    float:none;
    background:none;
    }
  #main3 {
    background:none;
    padding:0;
    }
  #sidebar {
    width:100%;
    float:none;
    }
  }


/* Links
----------------------------------------------- */
a:link {
  color:#258;
  }
a:visited {
  color:#666;
  }
a:hover {
  color:#c63;
  }
a img {
  border-width:0;
  }


/* Blog Header
----------------------------------------------- */
@media all {
  #header {
    background:#09c no-repeat left top;
    margin:0 0 0;
    padding:8px 0 0;
    color:#fff;
    }
  #header div {
    background:url
    padding:0 15px 8px;
    }
  }
@media handheld {
  #header {
    background:#456;
    }
  #header div {
    background:none;
    }
  }
#blog-title {
  margin:0;
  padding:10px 30px 5px;
  font-size:200%;
  line-height:1.2em;
  }
#blog-title a {
  text-decoration:none;
  color:#fff;
  }
#description {
  margin:0;
  padding:5px 30px 10px;
  font-size:94%;
  line-height:1.5em;
  }


/* Posts
----------------------------------------------- */
.date-header {
  margin:0 28px 0 43px;
  font-size:85%;
  line-height:2em;
  text-transform:uppercase;
  letter-spacing:.2em;
  color:#357;
  }
.post {
  margin:.3em 0 25px;
  padding:0 13px;

  border-width:1px 0;
  }
.post-title {
  margin:0;
  font-size:135%;
  line-height:1.5em;
  background:url("http://www.blogblog.com/rounders/icon_arrow.gif") no-repeat 10px .5em;
  background-color:#09c;
  display:block;
  border:1px solid #666;
  border-width:0 1px 1px;
  padding:2px 14px 2px 29px;
  color:#333;
  }
a.title-link, .post-title strong {
  text-decoration:none;
  display:block;
  }
a.title-link:hover {
  background-color:#ded;
  color:#000;
  }
.post-body {
  background-color:#999999;
  border:1px solid #666;
  border-width:0 1px 1px;
  border-bottom-color:#fff;
  padding:10px 14px 1px 29px;
  }
html>body .post-body {
  border-bottom-width:0;
  }
.post p {
  margin:0 0 .75em;
  }
p.post-footer {
  background:#9ff;
  margin:0;
  padding:2px 14px 2px 29px;
  border:1px solid #666;
  border-width:1px;
  border-bottom:1px solid #666;
  font-size:100%;
  line-height:1.5em;
  color:#666;
  text-align:right;
  }
html>body p.post-footer {
  border-bottom-color:transparent;
  }
p.post-footer em {
  display:block;
  float:left;
  text-align:left;
  font-style:normal;
  }
a.comment-link {
  /* IE5.0/Win doesn't apply padding to inline elements,
     so we hide these two declarations from it */
  background/* */:/**/url("http://www.blogblog.com/rounders/icon_comment.gif") no-repeat 0 45%;
  padding-left:14px;
  }
html>body a.comment-link {
  /* Respecified, for IE5/Mac's benefit */
  background:url("http://www.blogblog.com/rounders/icon_comment.gif") no-repeat 0 45%;
  padding-left:14px;
  }
.post img {
  margin:0 0 5px 0;
  padding:4px;
  border:1px solid #ccc;
  }
blockquote {
  margin:.75em 0;
  border:1px dotted #ccc;
  border-width:1px 0;
  padding:5px 15px;
  color:#666;
  }
.post blockquote p {
  margin:.5em 0;
  }


/* Comments
----------------------------------------------- */
#comments {
  margin:-25px 13px 0;
  border:1px dotted #ccc;
  border-width:0 1px 1px;
  padding:20px 0 15px 0;
  }
#comments h4 {
  margin:0 0 10px;
  padding:0 14px 2px 29px;
  border-bottom:1px dotted #ccc;
  font-size:120%;
  line-height:1.4em;
  color:#333;
  }
#comments-block {
  margin:0 15px 0 9px;
  }
.comment-data {
  background:url("http://www.blogblog.com/rounders/icon_comment.gif") no-repeat 2px .3em;
  margin:.5em 0;
  padding:0 0 0 20px;
  color:#666;
  }
.comment-poster {
  font-weight:bold;
  }
.comment-body {
  margin:0 0 1.25em;
  padding:0 0 0 20px;
  }
.comment-body p {
  margin:0 0 .5em;
  }
.comment-timestamp {
  margin:0 0 .5em;
  padding:0 0 .75em 20px;
  color:#666;
  }
.comment-timestamp a:link {
  color:#666;
  }
.deleted-comment {
  font-style:italic;
  color:gray;
  }
.paging-control-container {
  float: right;
  margin: 0px 6px 0px 0px;
  font-size: 80%;
}
.unneeded-paging-control {
  visibility: hidden;
}


/* Profile
----------------------------------------------- */
@media all {
  #profile-container {
    background:#cdc url("http://www.blogblog.com/rounders/corners_prof_bot.gif") no-repeat left bottom;
    margin:0 0 15px;
    padding:0 0 10px;
    color:#09c;
    }
  #profile-container h2 {
    background:url("http://www.blogblog.com/rounders/corners_prof_top.gif") no-repeat left top;
    padding:10px 15px .2em;
    margin:0;
    border-width:0;
    font-size:115%;
    line-height:1.5em;
    color:#234;
    }
  }
@media handheld {
  #profile-container {
    background:#cdc;
    }
  #profile-container h2 {
    background:none;
    }
  }
.profile-datablock {
  margin:0 15px .5em;
  border-top:1px dotted #aba;
  padding-top:8px;
  }
.profile-img {display:inline;}
.profile-img img {
  float:left;
  margin:0 10px 5px 0;
  border:4px solid #fff;
  }
.profile-data strong {
  display:block;
  }
#profile-container p {
  margin:0 15px .5em;
  }
#profile-container .profile-textblock {
  clear:left;
  }
#profile-container a {
  color:#258;
  }
.profile-link a {
  background:url("http://www.blogblog.com/rounders/icon_profile.gif") no-repeat 0 .1em;
  padding-left:15px;
  font-weight:bold;
  }
ul.profile-datablock {
  list-style-type:none;
  }


/* Sidebar Boxes
----------------------------------------------- */
@media all {
  .box {
    background:#fff no-repeat left top;
    margin:0 0 15px;
    padding:10px 0 0;
    color:#666;
    }
  .box2 {
    padding:0 13px 8px;
    }
  }
@media handheld {
  .box {
    background:#fff;
    }
  .box2 {
    background:none;
    }
  }
.sidebar-title {
  margin:0;
  padding:0 0 .2em;
  border-bottom:1px dotted #9b9;
  font-size:115%;
  line-height:1.5em;
  color:#333;
  }
.box ul {
  margin:.5em 0 1.25em;
  padding:0 0px;
  list-style:none;
  }
.box ul li {
  background:url("http://www.blogblog.com/rounders/icon_arrow_sm.gif") no-repeat 2px .25em;
  margin:0;
  padding:0 0 3px 16px;
  margin-bottom:3px;
  border-bottom:1px dotted #eee;
  line-height:1.4em;
  }
.box p {
  margin:0 0 .6em;
  }


/* Footer
----------------------------------------------- */
#footer {
  clear:both;
  margin:0;
  padding:15px 0 0;
  }
@media all {
  #footer div {
    background:#09c no-repeat left top;
    padding:8px 0 0;
    color:#fff;
    }
  #footer div div {
    padding:0 15px 8px;
    }
  }
@media handheld {
  #footer div {
    background:#456;
    }
  #footer div div {
    background:none;
    }
  }
#footer hr {display:none;}
#footer p {margin:0;}
#footer a {color:#fff;}


/* Feeds
----------------------------------------------- */
#blogfeeds {
  }
#postfeeds {
  padding:0 15px 0;
  }
  </style>


</head>



<body>



<!-- Begin #content - Centers all content and provides edges for floated columns -->

<div id="content">



<!-- Blog Header -->

<div id="header"><div>

  <h1 id="blog-title">
    <ItemPage><a href="<$BlogURL$>"></ItemPage>
    <$BlogTitle$>
    <ItemPage></a></ItemPage>
  </h1>
  <p id="description"><$BlogDescription$></p>

</div></div>





<!-- Begin #main - Contains main-column blog content -->

<div id="main"><div id="main2"><div id="main3">

<Blogger>

    <BlogDateHeader>
  <h2 class="date-header"><$BlogDateHeaderDate$></h2>
  </BlogDateHeader>

         <!-- Begin .post -->

  <div class="post"><a name="<$BlogItemNumber$>"></a>

     <BlogItemTitle>
     <BlogItemUrl><a href="<$BlogItemUrl$>" title="external link" class="title-link"></BlogItemUrl>
    <h3 class="post-title">
     <$BlogItemTitle$>
    </h3>
     <BlogItemUrl></a></BlogItemUrl>
    </BlogItemTitle>

         <div class="post-body">

          <p>
      <$BlogItemBody$>
    </p>

        </div>

        <p class="post-footer">

      <em><$I18NPostedByAuthorNickname$> @ <a href="<$BlogItemPermalinkUrl$>" title="permanent link"><$BlogItemDateTime$></a></em> &nbsp;
      <BlogItemCommentsEnabled>
         <a class="comment-link" href="<$BlogItemCommentCreate$>"<$BlogItemCommentFormOnclick$>><span style="text-transform:lowercase"><$I18NNumComments$></span></a>
      </BlogItemCommentsEnabled><BlogItemBacklinksEnabled>
<a class="comment-link" href="<$BlogItemPermalinkUrl$>#links"><span style="text-transform:lowercase"><$I18NLinksToThisPost$></span></a>
</BlogItemBacklinksEnabled>
 <$BlogItemControl$>
    </p>
    <p>
    </div>

  <!-- End .post -->

        <!-- Begin #comments -->
 <ItemPage>

  <div id="comments">

    <BlogItemCommentsEnabled><a name="comments"></a>

        <h4><$I18NNumComments$>:</h4>

        <dl id="comments-block">
          <$CommentPager$>
      <BlogItemComments>

      <dt class="comment-data" id="<$BlogCommentAnchorName$>"><a name="<$BlogCommentAnchorName$>"></a>

        <$I18NAtCommentTimeWithPermalink$>,

        <$I18NCommentAuthorSaid$>

      </dt>

      <dd class="comment-body">

        <p><$BlogCommentBody$></p>
      <$BlogCommentDeleteIcon$>

      </dd>

      </BlogItemComments>
    <$CommentPager$>

    </dl>
        <p class="comment-timestamp">
    <$BlogItemCreate$>
    </p>
    <p id="postfeeds"><$BlogItemFeedLinks$></p>
    </BlogItemCommentsEnabled>        
    <BlogItemBacklinksEnabled>
    <a name="links"></a><h4><$I18NLinksToThisPost$>:</h4>
    <dl id="comments-block">
    <BlogItemBacklinks>
        <dt class="comment-title">
        <$BlogBacklinkControl$>
        <a href="<$BlogBacklinkURL$>" rel="nofollow"><$BlogBacklinkTitle$></a> <$BlogBacklinkDeleteIcon$>
        </dt>
        <dd class="comment-body"><$BlogBacklinkSnippet$>
        <br />
        <span class="comment-poster">
        <em><$I18NPostedByBacklinkAuthor$> @ <$BlogBacklinkDateTime$></em>
        </span>
        </dd>
    </BlogItemBacklinks>
    </dl>
    <p class="comment-timestamp"><$BlogItemBacklinkCreate$></p>
    </BlogItemBacklinksEnabled>


        <p style="padding-left:20px;">
    <a href="<$BlogURL$>">&lt;&lt; <$I18NHome$></a>
    </p>
    </div>

</ItemPage>

  <!-- End #comments -->

</Blogger>



</div></div></div>

<!-- End #main -->









<!-- Begin #sidebar -->

<div id="sidebar">

    <!-- Begin #profile-container -->

   <$BlogMemberProfile$>

  <!-- End #profile -->



    <!-- Begin .box -->

  <div class="box"><div class="box2"><div class="box3">
    
        <MainOrArchivePage>
  <h2 class="sidebar-title"><$I18NLinks$></h2>
    <ul>
        <li><a href="http://www.new-gfx-community.de/">New-GFX-Community</a></li>

  </ul>
  </MainOrArchivePage>

      <h2 class="sidebar-title"><$I18NPreviousPosts$></h2>
    <ul id="recently">
    <BloggerPreviousItems>
        <li><a href="<$BlogItemPermalinkURL$>"><$BlogPreviousItemTitle$></a></li>
     </BloggerPreviousItems>
  </ul>

    <MainOrArchivePage>
  <h2 class="sidebar-title"><$I18NArchives$></h2>
    <ul class="archive-list">
         <BloggerArchives>
        <li><a href="<$BlogArchiveURL$>"><$BlogArchiveName$></a></li>
      </BloggerArchives>
      <ArchivePage><li><a href="<$BlogURL$>"><$I18NCurrentPosts$></a></li></ArchivePage>

  </ul>
  </MainOrArchivePage>
      <p id="blogfeeds"><$BlogFeedsVertical$></p>

        <!--

    <p>This is a paragraph of text that could go in the sidebar.</p>

    -->

    </div></div></div>

  <!-- End .box -->




</div>

<!-- End #sidebar -->









<!-- Begin #footer -->

<div id="footer"><div><div><hr />



  <p><a href="http://www.blogger.com" style="text-decoration:none; font-size: 10px;">©2010 laughingGUY</a> &nbsp;</p>
  
  



</div></div></div>

<!-- End #footer -->








</div>

<!-- End #content -->



</body>

</html>
eine weiter frage dies bezüglich: ist es besser den ganzen css-code mit in die html-datei einzufügen oder eher extern als style-sheet zu belassen und über den link hinzufügen?
 

Mway

Aktives Mitglied

AW: [CSS + HTML] Rahmenproblem beim Blog

hab den Rand mal auf weiß gemacht damit du ihn siehst hoffe du meinst es so

HTML:
<!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" xml:lang="en" lang="en" dir="<$BlogLanguageDirection$>">

<head>
  <title><$BlogPageTitle$></title>

  <$BlogMetaData$>

  <style type="text/css">

body {
  background:#333;
  margin:0;
  padding:20px 10px;
  text-align:center;
  font:x-small/1.5em "Trebuchet MS",Verdana,Arial,Sans-serif;
  color:#333;
  font-size/* */:/**/small;
  font-size: /**/small;
  }


/* Page Structure
----------------------------------------------- */
/* The images which help create rounded corners depend on the 
   following widths and measurements. If you want to change 
   these measurements, the images will also need to change.
   */
@media all {
  #content {
    width:740px;
    margin:0 auto;
    text-align:left;
    border: 2px solid #FFF;
    }
  #main {
    width:485px;
    float:left;
    background:#fff no-repeat left bottom;
    margin:15px 0 0;
    padding:0 0 10px;
    color:#000;
    font-size:97%;
    line-height:1.5em;
    }
  #main2 {
    float:left;
    width:100%;
    padding:10px 0 0;
    }
  #main3 {
    padding:0;
    }
  #sidebar {
    width:240px;
    float:right;
    margin:15px 0 0;
    font-size:97%;
    line-height:1.5em;
    }
  }
@media handheld {
  #content {
    width:90%;
    }
  #main {
    width:100%;
    float:none;
    background:#fff;
    }
  #main2 {
    float:none;
    background:none;
    }
  #main3 {
    background:none;
    padding:0;
    }
  #sidebar {
    width:100%;
    float:none;
    }
  }


/* Links
----------------------------------------------- */
a:link {
  color:#258;
  }
a:visited {
  color:#666;
  }
a:hover {
  color:#c63;
  }
a img {
  border-width:0;
  }


/* Blog Header
----------------------------------------------- */
@media all {
  #header {
    background:#09c no-repeat left top;
    margin:0 0 0;
    padding:8px 0 0;
    color:#fff;
    }
  #header div {
    background:url
    padding:0 15px 8px;
    }
  }
@media handheld {
  #header {
    background:#456;
    }
  #header div {
    background:none;
    }
  }
#blog-title {
  margin:0;
  padding:10px 30px 5px;
  font-size:200%;
  line-height:1.2em;
  }
#blog-title a {
  text-decoration:none;
  color:#fff;
  }
#description {
  margin:0;
  padding:5px 30px 10px;
  font-size:94%;
  line-height:1.5em;
  }


/* Posts
----------------------------------------------- */
.date-header {
  margin:0 28px 0 43px;
  font-size:85%;
  line-height:2em;
  text-transform:uppercase;
  letter-spacing:.2em;
  color:#357;
  }
.post {
  margin:.3em 0 25px;
  padding:0 13px;

  border-width:1px 0;
  }
.post-title {
  margin:0;
  font-size:135%;
  line-height:1.5em;
  background:url("http://www.blogblog.com/rounders/icon_arrow.gif") no-repeat 10px .5em;
  background-color:#09c;
  display:block;
  border:1px solid #666;
  border-width:0 1px 1px;
  padding:2px 14px 2px 29px;
  color:#333;
  }
a.title-link, .post-title strong {
  text-decoration:none;
  display:block;
  }
a.title-link:hover {
  background-color:#ded;
  color:#000;
  }
.post-body {
  background-color:#999999;
  border:1px solid #666;
  border-width:0 1px 1px;
  border-bottom-color:#fff;
  padding:10px 14px 1px 29px;
  }
html>body .post-body {
  border-bottom-width:0;
  }
.post p {
  margin:0 0 .75em;
  }
p.post-footer {
  background:#9ff;
  margin:0;
  padding:2px 14px 2px 29px;
  border:1px solid #666;
  border-width:1px;
  border-bottom:1px solid #666;
  font-size:100%;
  line-height:1.5em;
  color:#666;
  text-align:right;
  }
html>body p.post-footer {
  border-bottom-color:transparent;
  }
p.post-footer em {
  display:block;
  float:left;
  text-align:left;
  font-style:normal;
  }
a.comment-link {
  /* IE5.0/Win doesn't apply padding to inline elements,
     so we hide these two declarations from it */
  background/* */:/**/url("http://www.blogblog.com/rounders/icon_comment.gif") no-repeat 0 45%;
  padding-left:14px;
  }
html>body a.comment-link {
  /* Respecified, for IE5/Mac's benefit */
  background:url("http://www.blogblog.com/rounders/icon_comment.gif") no-repeat 0 45%;
  padding-left:14px;
  }
.post img {
  margin:0 0 5px 0;
  padding:4px;
  border:1px solid #ccc;
  }
blockquote {
  margin:.75em 0;
  border:1px dotted #ccc;
  border-width:1px 0;
  padding:5px 15px;
  color:#666;
  }
.post blockquote p {
  margin:.5em 0;
  }


/* Comments
----------------------------------------------- */
#comments {
  margin:-25px 13px 0;
  border:1px dotted #ccc;
  border-width:0 1px 1px;
  padding:20px 0 15px 0;
  }
#comments h4 {
  margin:0 0 10px;
  padding:0 14px 2px 29px;
  border-bottom:1px dotted #ccc;
  font-size:120%;
  line-height:1.4em;
  color:#333;
  }
#comments-block {
  margin:0 15px 0 9px;
  }
.comment-data {
  background:url("http://www.blogblog.com/rounders/icon_comment.gif") no-repeat 2px .3em;
  margin:.5em 0;
  padding:0 0 0 20px;
  color:#666;
  }
.comment-poster {
  font-weight:bold;
  }
.comment-body {
  margin:0 0 1.25em;
  padding:0 0 0 20px;
  }
.comment-body p {
  margin:0 0 .5em;
  }
.comment-timestamp {
  margin:0 0 .5em;
  padding:0 0 .75em 20px;
  color:#666;
  }
.comment-timestamp a:link {
  color:#666;
  }
.deleted-comment {
  font-style:italic;
  color:gray;
  }
.paging-control-container {
  float: right;
  margin: 0px 6px 0px 0px;
  font-size: 80%;
}
.unneeded-paging-control {
  visibility: hidden;
}


/* Profile
----------------------------------------------- */
@media all {
  #profile-container {
    background:#cdc url("http://www.blogblog.com/rounders/corners_prof_bot.gif") no-repeat left bottom;
    margin:0 0 15px;
    padding:0 0 10px;
    color:#09c;
    }
  #profile-container h2 {
    background:url("http://www.blogblog.com/rounders/corners_prof_top.gif") no-repeat left top;
    padding:10px 15px .2em;
    margin:0;
    border-width:0;
    font-size:115%;
    line-height:1.5em;
    color:#234;
    }
  }
@media handheld {
  #profile-container {
    background:#cdc;
    }
  #profile-container h2 {
    background:none;
    }
  }
.profile-datablock {
  margin:0 15px .5em;
  border-top:1px dotted #aba;
  padding-top:8px;
  }
.profile-img {display:inline;}
.profile-img img {
  float:left;
  margin:0 10px 5px 0;
  border:4px solid #fff;
  }
.profile-data strong {
  display:block;
  }
#profile-container p {
  margin:0 15px .5em;
  }
#profile-container .profile-textblock {
  clear:left;
  }
#profile-container a {
  color:#258;
  }
.profile-link a {
  background:url("http://www.blogblog.com/rounders/icon_profile.gif") no-repeat 0 .1em;
  padding-left:15px;
  font-weight:bold;
  }
ul.profile-datablock {
  list-style-type:none;
  }


/* Sidebar Boxes
----------------------------------------------- */
@media all {
  .box {
    background:#fff no-repeat left top;
    margin:0 0 15px;
    padding:10px 0 0;
    color:#666;
    }
  .box2 {
    padding:0 13px 8px;
    }
  }
@media handheld {
  .box {
    background:#fff;
    }
  .box2 {
    background:none;
    }
  }
.sidebar-title {
  margin:0;
  padding:0 0 .2em;
  border-bottom:1px dotted #9b9;
  font-size:115%;
  line-height:1.5em;
  color:#333;
  }
.box ul {
  margin:.5em 0 1.25em;
  padding:0 0px;
  list-style:none;
  }
.box ul li {
  background:url("http://www.blogblog.com/rounders/icon_arrow_sm.gif") no-repeat 2px .25em;
  margin:0;
  padding:0 0 3px 16px;
  margin-bottom:3px;
  border-bottom:1px dotted #eee;
  line-height:1.4em;
  }
.box p {
  margin:0 0 .6em;
  }


/* Footer
----------------------------------------------- */
#footer {
  clear:both;
  margin:0;
  padding:15px 0 0;
  }
@media all {
  #footer div {
    background:#09c no-repeat left top;
    padding:8px 0 0;
    color:#fff;
    }
  #footer div div {
    padding:0 15px 8px;
    }
  }
@media handheld {
  #footer div {
    background:#456;
    }
  #footer div div {
    background:none;
    }
  }
#footer hr {display:none;}
#footer p {margin:0;}
#footer a {color:#fff;}


/* Feeds
----------------------------------------------- */
#blogfeeds {
  }
#postfeeds {
  padding:0 15px 0;
  }
  </style>


</head>



<body>



<!-- Begin #content - Centers all content and provides edges for floated columns -->

<div id="content">



<!-- Blog Header -->

<div id="header"><div>

  <h1 id="blog-title">
    <ItemPage><a href="<$BlogURL$>"></ItemPage>
    <$BlogTitle$>
    <ItemPage></a></ItemPage>
  </h1>
  <p id="description"><$BlogDescription$></p>

</div></div>





<!-- Begin #main - Contains main-column blog content -->

<div id="main"><div id="main2"><div id="main3">

<Blogger>

    <BlogDateHeader>
  <h2 class="date-header"><$BlogDateHeaderDate$></h2>
  </BlogDateHeader>

         <!-- Begin .post -->

  <div class="post"><a name="<$BlogItemNumber$>"></a>

     <BlogItemTitle>
     <BlogItemUrl><a href="<$BlogItemUrl$>" title="external link" class="title-link"></BlogItemUrl>
    <h3 class="post-title">
     <$BlogItemTitle$>
    </h3>
     <BlogItemUrl></a></BlogItemUrl>
    </BlogItemTitle>

         <div class="post-body">

          <p>
      <$BlogItemBody$>
    </p>

        </div>

        <p class="post-footer">

      <em><$I18NPostedByAuthorNickname$> @ <a href="<$BlogItemPermalinkUrl$>" title="permanent link"><$BlogItemDateTime$></a></em> &nbsp;
      <BlogItemCommentsEnabled>
         <a class="comment-link" href="<$BlogItemCommentCreate$>"<$BlogItemCommentFormOnclick$>><span style="text-transform:lowercase"><$I18NNumComments$></span></a>
      </BlogItemCommentsEnabled><BlogItemBacklinksEnabled>
<a class="comment-link" href="<$BlogItemPermalinkUrl$>#links"><span style="text-transform:lowercase"><$I18NLinksToThisPost$></span></a>
</BlogItemBacklinksEnabled>
 <$BlogItemControl$>
    </p>
    <p>
    </div>

  <!-- End .post -->

        <!-- Begin #comments -->
 <ItemPage>

  <div id="comments">

    <BlogItemCommentsEnabled><a name="comments"></a>

        <h4><$I18NNumComments$>:</h4>

        <dl id="comments-block">
          <$CommentPager$>
      <BlogItemComments>

      <dt class="comment-data" id="<$BlogCommentAnchorName$>"><a name="<$BlogCommentAnchorName$>"></a>

        <$I18NAtCommentTimeWithPermalink$>,

        <$I18NCommentAuthorSaid$>

      </dt>

      <dd class="comment-body">

        <p><$BlogCommentBody$></p>
      <$BlogCommentDeleteIcon$>

      </dd>

      </BlogItemComments>
    <$CommentPager$>

    </dl>
        <p class="comment-timestamp">
    <$BlogItemCreate$>
    </p>
    <p id="postfeeds"><$BlogItemFeedLinks$></p>
    </BlogItemCommentsEnabled>        
    <BlogItemBacklinksEnabled>
    <a name="links"></a><h4><$I18NLinksToThisPost$>:</h4>
    <dl id="comments-block">
    <BlogItemBacklinks>
        <dt class="comment-title">
        <$BlogBacklinkControl$>
        <a href="<$BlogBacklinkURL$>" rel="nofollow"><$BlogBacklinkTitle$></a> <$BlogBacklinkDeleteIcon$>
        </dt>
        <dd class="comment-body"><$BlogBacklinkSnippet$>
        <br />
        <span class="comment-poster">
        <em><$I18NPostedByBacklinkAuthor$> @ <$BlogBacklinkDateTime$></em>
        </span>
        </dd>
    </BlogItemBacklinks>
    </dl>
    <p class="comment-timestamp"><$BlogItemBacklinkCreate$></p>
    </BlogItemBacklinksEnabled>


        <p style="padding-left:20px;">
    <a href="<$BlogURL$>">&lt;&lt; <$I18NHome$></a>
    </p>
    </div>

</ItemPage>

  <!-- End #comments -->

</Blogger>



</div></div></div>

<!-- End #main -->









<!-- Begin #sidebar -->

<div id="sidebar">

    <!-- Begin #profile-container -->

   <$BlogMemberProfile$>

  <!-- End #profile -->



    <!-- Begin .box -->

  <div class="box"><div class="box2"><div class="box3">
    
        <MainOrArchivePage>
  <h2 class="sidebar-title"><$I18NLinks$></h2>
    <ul>
        <li><a href="http://www.new-gfx-community.de/">New-GFX-Community</a></li>

  </ul>
  </MainOrArchivePage>

      <h2 class="sidebar-title"><$I18NPreviousPosts$></h2>
    <ul id="recently">
    <BloggerPreviousItems>
        <li><a href="<$BlogItemPermalinkURL$>"><$BlogPreviousItemTitle$></a></li>
     </BloggerPreviousItems>
  </ul>

    <MainOrArchivePage>
  <h2 class="sidebar-title"><$I18NArchives$></h2>
    <ul class="archive-list">
         <BloggerArchives>
        <li><a href="<$BlogArchiveURL$>"><$BlogArchiveName$></a></li>
      </BloggerArchives>
      <ArchivePage><li><a href="<$BlogURL$>"><$I18NCurrentPosts$></a></li></ArchivePage>

  </ul>
  </MainOrArchivePage>
      <p id="blogfeeds"><$BlogFeedsVertical$></p>

        <!--

    <p>This is a paragraph of text that could go in the sidebar.</p>

    -->

    </div></div></div>

  <!-- End .box -->




</div>

<!-- End #sidebar -->









<!-- Begin #footer -->

<div id="footer"><div><div><hr />



  <p><a href="http://www.blogger.com" style="text-decoration:none; font-size: 10px;">©2010 laughingGUY</a> &nbsp;</p>
  
  



</div></div></div>

<!-- End #footer -->








</div>

<!-- End #content -->



</body>

</html>







Hab einfach der #content einen Rahmen zugewisen. Zu deiner Frage ich würde so eine große CSS immer in eine externe Datei schreiben.
 
Zuletzt bearbeitet von einem Moderator:

lexip

Nicht mehr ganz neu hier

AW: [CSS + HTML] Rahmenproblem beim Blog

hier kannst die ccs border in der Anwendung gucken :
CSS Border
Das stimmt in dem #div main bei Dir wohl nicht.
Ansonsten css besser extern- dann wirds gecached und Seitenaktualisierung über externe css einfacher
 

solart

Terraner

AW: [CSS + HTML] Rahmenproblem beim Blog

danke für eure tipps und hilfsbereitschaft.

, du hast mich etwas missverstanden bzw ich hab mich nicht richtig erklärt ;). ich meinte den bereich den ich am bild rot umrandet habe. der ist offen also ohne rand und sollte einen haben.

dann werde ich denn css-bereich auslagern, danke euch nochmals.

e//:

ich habe den fehler gefunden und zwar wie folgt:

ich habe mir noch mal alle css bereiche für die formatierung der post angeschaut.
der bereich im css-script der für die rahmen-formatierung (border-width) zuständig ist sah wie folgt ausgesehen:

HTML:
.post-title {
  margin:0;
  font-size:135%;
  line-height:1.5em;
  background:url("http://www.blogblog.com/rounders/icon_arrow.gif") no-repeat 10px .5em;
  background-color:#09c;
  display:block;
  border:1px solid #666;
  border-width:0 1px 1px;
  padding:2px 14px 2px 29px;
  color:#333;
  }
ich habe jetzt bemerkt, dass hier der obere bereich auf null ist:

HTML:
border-width:0 1px 1px;
diesen habe ich wie folgt geändert und der rahmen ist oben geschlossen, so wie ich es haben wollte:

HTML:
border-width:1px 1px 1px;
beim post-footer habe ich das entfernt und der rahmen ist vorhanden, die restliche formatierung ist wie oben beschrieben:

HTML:
html>body p.post-footer {
  border-bottom-color:transparent;
  }
viell. hilft es ja mal dem einen oder anderen.

greetz
 
Zuletzt bearbeitet:
Bilder bitte hier hochladen und danach über das Bild-Icon (Direktlink vorher kopieren) platzieren.
Antworten auf deine Fragen:
Neues Thema erstellen

Willkommen auf PSD-Tutorials.de

In unseren Foren vernetzt du dich mit anderen Personen, um dich rund um die Themen Fotografie, Grafik, Gestaltung, Bildbearbeitung und 3D auszutauschen. Außerdem schalten wir für dich regelmäßig kostenlose Inhalte frei. Liebe Grüße senden dir die PSD-Gründer Stefan und Matthias Petri aus Waren an der Müritz. Hier erfährst du mehr über uns.

Stefan und Matthias Petri von PSD-Tutorials.de

Nächster neuer Gratisinhalt

03
Stunden
:
:
25
Minuten
:
:
19
Sekunden

Neueste Themen & Antworten

Flatrate für Tutorials, Assets, Vorlagen

Zurzeit aktive Besucher

Statistik des Forums

Themen
118.635
Beiträge
1.538.450
Mitglieder
67.557
Neuestes Mitglied
Charal
Oben