Hướng dẫn và share các mẫu blog của blogspot theo các chủ đề [Update thường xuyên]

Joined
Sep 5, 2012
Messages
272
Reactions
75
MR
0.000
Chat with me via Teams
bạn ơi làm như này thế nào vậy,tách riêng từng chủ đề. taoweb.jpg
 
Bạn ơi mình vào chỗ bố cục up ảnh thì nó choáng hết cả blog @@
và k biết phải khắc phục ntn View attachment 21997View attachment 21998
Do cậu để ảnh quá lớn thôi! Cậu chỉnh lại kích thước phù hợp là đc!

Code:
<img alt='Paradise' [COLOR="#FF0000"]height='712px'[/COLOR] ' id='Header1_headerimg' src='http://4.bp.blogspot.com/-kvRlx8r6WUw/UPqUAthJSfI/AAAAAAAAAFk/7LN4vZP34gw/s1600/123.png' [COLOR="#FF0000"]width='1600px'[/COLOR] />
 

lehai198x

Banned
Joined
Nov 17, 2012
Messages
347
Reactions
133
MR
0.000
Follow me on Facebook X.com Chat with me via Teams
Giúp mình cách tạo 4 widget 125x125 bên cột phải với,không phải tạo 1 widget với 4 ô 125x125 như trên mạng bảo đâu nhé bạn :D
 

chitatito

Junior
Joined
May 31, 2011
Messages
210
Reactions
106
MR
0.000
Giúp mình cách tạo 4 widget 125x125 bên cột phải với,không phải tạo 1 widget với 4 ô 125x125 như trên mạng bảo đâu nhé bạn :D

HTML:
#widgets125 {width: 300px; float: right; margin : 5px ;padding: 5px;}
.widget1 {width: 125px;margin: 5px}
.widget2 {width: 125px; margin: 5px}
.widget3 {width: 125px; margin: 5px}
.widget4 {width: 125px; margin: 5px }


        <!-- Sidebar widgets125 -->
        <div id='widget125'>

          <b:section  class='widget1' showaddelement='yes'>
<b:widget id='HTML66' locked='false' title='' type='HTML'>
<b:includable id='main'>
  <!-- only display title if it's non-empty -->
  <b:if cond='data:title != &quot;&quot;'>
    <h2 class='title'><data:title/></h2>
  </b:if>
  <div class='widget-content'>
    <data:content/>
  </div>

  <b:include name='quickedit'/>
</b:includable>
</b:widget>
       </b:section>

      <b:section  class='widget2' showaddelement='yes'>
<b:widget id='HTML77' locked='false' title='' type='HTML'>
<b:includable id='main'>
  <!-- only display title if it's non-empty -->
  <b:if cond='data:title != &quot;&quot;'>
    <h2 class='title'><data:title/></h2>
  </b:if>
  <div class='widget-content'>
    <data:content/>
  </div>

  <b:include name='quickedit'/>
</b:includable>
</b:widget>
       </b:section>

      <b:section  class='widget3' showaddelement='yes'>
<b:widget id='HTML88' locked='false' title='' type='HTML'>
<b:includable id='main'>
  <!-- only display title if it's non-empty -->
  <b:if cond='data:title != &quot;&quot;'>
    <h2 class='title'><data:title/></h2>
  </b:if>
  <div class='widget-content'>
    <data:content/>
  </div>

  <b:include name='quickedit'/>
</b:includable>
</b:widget>
       </b:section>

      <b:section  class='widget4' showaddelement='yes'>
<b:widget id='HTML99' locked='false' title='' type='HTML'>
<b:includable id='main'>
  <!-- only display title if it's non-empty -->
  <b:if cond='data:title != &quot;&quot;'>
    <h2 class='title'><data:title/></h2>
  </b:if>
  <div class='widget-content'>
    <data:content/>
  </div>

  <b:include name='quickedit'/>
</b:includable>
</b:widget>
       </b:section>
</div>
 
HTML:
#widgets125 {width: 300px; float: right; margin : 5px ;padding: 5px;}
.widget1 {width: 125px;margin: 5px}
.widget2 {width: 125px; margin: 5px}
.widget3 {width: 125px; margin: 5px}
.widget4 {width: 125px; margin: 5px }


        <!-- Sidebar widgets125 -->
        <div id='widget125'>

          <b:section  class='widget1' showaddelement='yes'>
<b:widget id='HTML66' locked='false' title='' type='HTML'>
<b:includable id='main'>
  <!-- only display title if it's non-empty -->
  <b:if cond='data:title != &quot;&quot;'>
    <h2 class='title'><data:title/></h2>
  </b:if>
  <div class='widget-content'>
    <data:content/>
  </div>

  <b:include name='quickedit'/>
</b:includable>
</b:widget>
       </b:section>

      <b:section  class='widget2' showaddelement='yes'>
<b:widget id='HTML77' locked='false' title='' type='HTML'>
<b:includable id='main'>
  <!-- only display title if it's non-empty -->
  <b:if cond='data:title != &quot;&quot;'>
    <h2 class='title'><data:title/></h2>
  </b:if>
  <div class='widget-content'>
    <data:content/>
  </div>

  <b:include name='quickedit'/>
</b:includable>
</b:widget>
       </b:section>

      <b:section  class='widget3' showaddelement='yes'>
<b:widget id='HTML88' locked='false' title='' type='HTML'>
<b:includable id='main'>
  <!-- only display title if it's non-empty -->
  <b:if cond='data:title != &quot;&quot;'>
    <h2 class='title'><data:title/></h2>
  </b:if>
  <div class='widget-content'>
    <data:content/>
  </div>

  <b:include name='quickedit'/>
</b:includable>
</b:widget>
       </b:section>

      <b:section  class='widget4' showaddelement='yes'>
<b:widget id='HTML99' locked='false' title='' type='HTML'>
<b:includable id='main'>
  <!-- only display title if it's non-empty -->
  <b:if cond='data:title != &quot;&quot;'>
    <h2 class='title'><data:title/></h2>
  </b:if>
  <div class='widget-content'>
    <data:content/>
  </div>

  <b:include name='quickedit'/>
</b:includable>
</b:widget>
       </b:section>
</div>
Chèn vào đâu vậy bạn :binhsua10:
 
Chèn vào đâu vậy bạn :binhsua10:

PHP:
#widgets125 {width: 300px; float: right; margin : 5px ;padding: 5px;}
.widget1 {width: 125px;margin: 5px}
.widget2 {width: 125px; margin: 5px}
.widget3 {width: 125px; margin: 5px}
.widget4 {width: 125px; margin: 5px }

Chèn vào CSS nhé, tìm ]]></b:skin> và chèn đoạn kia vào trước nó

PHP:
 <!-- Sidebar widgets125 -->
        <div id='widget125'>

          <b:section  class='widget1' showaddelement='yes'>
<b:widget id='HTML66' locked='false' title='' type='HTML'>
<b:includable id='main'>
  <!-- only display title if it's non-empty -->
  <b:if cond='data:title != &quot;&quot;'>
    <h2 class='title'><data:title/></h2>
  </b:if>
  <div class='widget-content'>
    <data:content/>
  </div>

  <b:include name='quickedit'/>
</b:includable>
</b:widget>
       </b:section>

      <b:section  class='widget2' showaddelement='yes'>
<b:widget id='HTML77' locked='false' title='' type='HTML'>
<b:includable id='main'>
  <!-- only display title if it's non-empty -->
  <b:if cond='data:title != &quot;&quot;'>
    <h2 class='title'><data:title/></h2>
  </b:if>
  <div class='widget-content'>
    <data:content/>
  </div>

  <b:include name='quickedit'/>
</b:includable>
</b:widget>
       </b:section>

      <b:section  class='widget3' showaddelement='yes'>
<b:widget id='HTML88' locked='false' title='' type='HTML'>
<b:includable id='main'>
  <!-- only display title if it's non-empty -->
  <b:if cond='data:title != &quot;&quot;'>
    <h2 class='title'><data:title/></h2>
  </b:if>
  <div class='widget-content'>
    <data:content/>
  </div>

  <b:include name='quickedit'/>
</b:includable>
</b:widget>
       </b:section>

      <b:section  class='widget4' showaddelement='yes'>
<b:widget id='HTML99' locked='false' title='' type='HTML'>
<b:includable id='main'>
  <!-- only display title if it's non-empty -->
  <b:if cond='data:title != &quot;&quot;'>
    <h2 class='title'><data:title/></h2>
  </b:if>
  <div class='widget-content'>
    <data:content/>
  </div>

  <b:include name='quickedit'/>
</b:includable>
</b:widget>
       </b:section>
</div>

Chèn trước đoạn <div class='sidebar'> hoặc <div id='sidebar'> tùy từng theme của bạn
 
Mình chèn cái của bạn kia trước cái bạn bảo thì nó báo lỗi
"One of the sections is missing the required id attribute. Every section should have a unique id."
:binhsua10:
Mình onl đt nên k biết bạn kia đưa ntn. Còn code đó cậy phải chèn vào sau cái tớ bảo mới chính xác...
 

TrafficServices

Vip
Verified
Joined
Mar 16, 2012
Messages
2,530
Reactions
1,849
MR
0.691
Chat with me via Yahoo Messenger
Không hiểu sao phần bài viết của mình nó nhỏ quá. Bạn nào có cách kéo rộng ra ko giúp với. Thanks! yahoo: quantri_captchavietnam
aa_zps8e18afe9.png
 

Announcements

Forum statistics

Threads
434,245
Messages
7,321,772
Members
185,512
Latest member
Raca
Back
Top Bottom