1 ප්රශ්නය
sidebar area එකේ නෙවිගේෂන් බාර් එකේ පළල 270px; යි එහෙත් sidebar area background එක පලල අඩුයි ඒක වැඩි කරගන්න බැහැ කෝඩ් එක නැහැ
නෙවිගේෂන් බාර් කෝඩ් එක විතරයි තියෙන්නෙ
/* ------------------------------------- sidebar area */
/* sidebar */
#sidebarright {
float:right;
width: 270px;
color: #666666;
line-height: 160%;
position: relative;
display: block;
word-wrap: break-word;
2 ප්රශ්නය
ගොසිප් සයිට් එකේ තියෙනව වගෙ දැන්වීම් කෝඩ් හේඩර් ඩාර් එකේ දාල තියෙනවඑක හදා ගන්නෙ කොහොමද
3 ප්රශ්නය
පෝස්ට් වල පොන්ට එක වැඩිකරගන්න ඕනි 12X වගෙ අගයක් තියෙන්නෙ
4ප්රශ්නය
සුදුපාට background image එක පලලට පොඩ්ඩක් මදි ඒ කෝඩ එකක් නැහැ
5ප්රශ්නය
Layout එකේ post blog කොටස උඩට ගිහිල්ල පලලත් මදි
gossip templat eka
/* Use this with templates/template-twocol.html */
.section, .widget {
margin:0;
padding:0;
}
body {
background: #42afdc url(http://3.bp.blogspot.com/-wK27rJM0ZWg/UxcWONwZQGI/AAAAAAAALsA/IRNHHBu04AM/s1600/html-bg.gif) repeat-x;
font: 85%/160% Lora, Arial, Helvetica, sans-serif;
padding: 0px;
margin: 0px;
color: #333333;
}
a {
color: #44a1d0;
text-decoration: none;
}
a:visited {
color: #5EAFD7;
}
a:hover {
text-decoration: underline;
}
p {
margin: 0px 0px 15px;
}
img {
border: none;
}
ul {
margin: 5px 0px 15px;
padding-left: 20px;
}
ul li {
margin: 0px;
}
ol {
margin: 5px 0px 15px;
padding-left: 20px;
}
ul li {
margin: 0px;
}
form {
margin: 0px;
padding: 0px;
}
small {
font-size: 90%;
}
#pagedivwrap {
background: url(http://3.bp.blogspot.com/-AQJ8Jix8A3Y/UxcYnjWxV6I/AAAAAAAALxs/QZSgUogVeSA/s1600/main-bg.png) no-repeat center top;
}
#wrapper {
width: 770px;
margin: 0px auto;
position: relative;
}
/* ------------------------------------- header area */
#header {
height: 120px;
}
/* site title */
h1 {
position: absolute;
top: 40px;
left: 25px;
color: #FFFFFF;
margin: 0px;
padding: 0px;
font: normal 30px/100% "Trebuchet MS", Arial, sans-serif;
}
h1 a, h1 a:visited {
color: #FFFFFF;
text-decoration: none;
}
h1 a:hover {
color: #000000;
text-decoration: none;
}
.description {
position: absolute;
top: 77px;
left: 25px;
color: #000000;
font: 12px Lora, Arial, Helvetica, sans-serif;
}
/* search form */
#searchform {
position: absolute;
top: 0px;
right: 0px;
background: url(http://2.bp.blogspot.com/-ne0ZtqCNYnQ/UxcWbQcf7NI/AAAAAAAALvo/Lvg-vEV9gCI/s1600/searchform-bg.png) no-repeat right bottom;
height: 37px;
width: 210px;
}
#searchform #s{
background: #ffffff url(http://2.bp.blogspot.com/-ZhNFEgtp6Jw/UxcWNvZTmxI/AAAAAAAALrw/XbG2YR4AiuQ/s1600/form-field-bg.gif) no-repeat ;
height: 17px;
width: 148px;
margin: 6px 5px 0px 10px;
padding: 3px 7px 2px 5px;
color: #999999;
border: none;
}
#searchform #searchsubmit {
background: url(http://1.bp.blogspot.com/-I3O4wPViSQw/UxcWbDjwVTI/AAAAAAAALvk/ThGFn24_3TE/s1600/search-btn.png) no-repeat left top;
height: 24px;
width: 24px;
border: none;
text-indent: -999%;
line-height: 1px;
margin-top: 6px;
}
/* ------------------------------------- main content area */
#left-col {
width: 545px;
float: left;
margin-top: 11px;
}
/* main menu */
#navtopdiv {
background: url(http://1.bp.blogspot.com/-ph4QzF9wh0s/UxcWNY_3QeI/AAAAAAAALrs/s2yu6VIPDUo/s1600/content-top-bg.png) no-repeat left top;
height: 26px;
}
#navtopdiv ul{
list-style: none;
margin: 0px 0px 0px 25px;
padding: 0px;
font: bold 12px/100% Arial, Helvetica, sans-serif;
}
#navtopdiv ul li{
margin: 0px 1px 0px 0px;
padding: 0px;
float: left;
}
#navtopdiv ul li a{
padding: 5px 7px 6px 7px;
text-decoration: none;
color: #000000;
display: block;
}
#navtopdiv li a:visited{
text-decoration: none;
color: #000000;
}
#navtopdiv li a:hover, #navtopdiv .current_page_item a{
text-decoration: none;
background: #2e91c6 url(http://3.bp.blogspot.com/-bz_mtJVWfyw/UxcWX3mZIKI/AAAAAAAALuk/8gXPCC-CFR4/s1600/nav-item-hover.gif) repeat-x;
color: #ffffff;
}
/* sub menu */
#subnav {
background: #ecebeb;
}
#subnav ul {
margin: 0px;
padding: 3px 0px 18px 5px;
list-style: none;
font: 11px/100% Arial, Helvetica, sans-serif;
}
#subnav li {
border-right: 1px solid #D8D8D8;
padding: 0px 7px;
margin: 0px;
float: left;
}
#subnav li a, #subnav li a:visited, #subnav .page_item {
text-decoration: none;
color: #333333;
}
#subnav .current_page_item a, #subnav .current_page_item a:visited {
color: #3b9acc;
}
#subnav li a:hover {
text-decoration: none;
color: #3b9acc;
}
/* content */
#contentleftdiv {
padding: 15px 25px 15px 25px;
width: 495px;
background: #ffffff;
clear: both;
overflow: hidden;
word-wrap: break-word;
}
.post {
padding: 0 0 10px;
margin: 0;
clear: both;
overflow: hidden;
}
.post .bpostdate {
height: 50px;
width: 45px;
background: url(http://3.bp.blogspot.com/-JcqGf7KVyK0/UxcYkEhHIFI/AAAAAAAALxk/5TfmeWTQeiw/s1600/calendar.gif) no-repeat;
font: normal 22px Arial, Helvetica, sans-serif;
color: #666666;
text-align: center;
padding: 0px 2px 0 0;
line-height: 100%;
float: left;
}
.post .bpostdate span {
height: 16px;
display: block;
font: normal 11px Arial, Helvetica, sans-serif;
color: #ffffff;
text-align: center;
padding-top: 5px;
}
.bposttitle {
float: left;
margin-left: 10px;
width: 438px;
}
.postbpostdata {
font-size: 80%;
color: #999999;
}
.postbpostdata a, .postbpostdata a:visited {
color: #999999;
text-decoration: none;
}
.postbpostdata a:hover {
color: #44a1d0;
text-decoration: none;
}
.postbpostdata .bpostcategory{
background: url(http://2.bp.blogspot.com/-F7DEFNzAtfQ/UxcWQt6k2EI/AAAAAAAALss/Bc0WJX207XM/s1600/mini-category.gif) no-repeat;
padding-left: 18px;
float: left;
width: 290px;
}
.postbpostdata .bpostcomments{
background: url(http://4.bp.blogspot.com/-quXUFj4mt7k/UxcWR1LPhwI/AAAAAAAALtI/gjuBedD-890/s1600/mini-comment.gif) no-repeat;
padding-left: 18px;
float: right;
}
.mini-add-comment {
background: url(http://4.bp.blogspot.com/-Qao8dzc5H8U/UxcWSVAuKmI/AAAAAAAALtU/fQOZa5OgByw/s1600/mini-down-arrow.gif) no-repeat left center;
padding-left: 12px;
float: right;
}
.entry {
padding: 5px 0px 5px;
clear: both;
}
/* post title */
.bposttitle h2 {
color: #333333;
margin: 3px 0 2px;
padding-bottom: 4px;
font: bold 150%/100% Lustria, "Lucida Grande", Arial, sans-serif;
border-bottom: dotted 1px #CCCCCC;
}
.bposttitle h2 a, .bposttitle h2 a:visited {
color: #333333;
text-decoration: none;
}
.bposttitle h2 a:hover {
color: #44a1d0;
text-decoration: none;
}
h3 {
color: #666666;
margin: 5px 0px 5px;
font: bold 110%/110% "Lucida Grande", Arial, sans-serif;
}
/* ------------------------------------- footer area */
#footerbotdiv {
background: url(http://3.bp.blogspot.com/-4j2qlGP_p...AALro/L7GGKIJKf_4/s1600/content-bottom-bg.png) no-repeat;
padding: 25px 0px 0px 10px;
font-size: 87%;
color: #282828;
}
#footerbotdiv a, #footerbotdiv a:visited {
text-decoration: none;
color: #000000;
}
#footerbotdiv a:hover {
text-decoration: underline;
}
/* ------------------------------------- sidebar area */
/* sidebar */
#sidebarright {
float:right;
width: 210px;
color: #666666;
line-height: 160%;
position: relative;
display: block;
word-wrap: break-word;
}
#sidebarright .widget {
margin: 0;
padding: 0;
border: none;
clear: both;
position: relative;
display: block;
}
#sidebarright p {
margin: 0px 0px 15px;
}
#sidebarright .widget h2 {
margin: 0;
padding: 16px 24px 7px 10px;
background: url(http://4.bp.blogspot.com/-TAJm82d-kd0/UxcWcES6TZI/AAAAAAAALwA/_lzPmb7Vzec/s1600/sidep-handle.png) no-repeat 0 0;
}
#sidebarright .widget-content {
margin: 0;
padding: 5px 10px 9px 10px;
background: url(http://4.bp.blogspot.com/--3yPWqLIJ7I/UxcWbkynU4I/AAAAAAAALv0/47_VxmuOItQ/s1600/sidep-bottom.png) no-repeat 0 100%;
overflow: hidden;
}
#sidebarright h2 {
font: bold 12px/100% Arial, Helvetica, sans-serif;
color: #666666;
}
#sidebarright h2 a, #sidebarright h2 a:visited {
color: #666666;
}
#sidebarright h2 img {
vertical-align: middle;
}
#sidebarright a, #sidebarright a:visited {
color: #000000;
text-decoration:none;
}
#sidebarright a:hover, #sidebarright a:focus, #sidebarright a:active {
text-decoration:underline;
}
#sidebarright ul {
list-style: none;
margin: 0 ;
padding: 0 ;
}
#sidebarright ul li {
background: url(http://3.bp.blogspot.com/-ueRZiVlrOeo/UxcWL3vMZPI/AAAAAAAALrM/B1rnPrsP60g/s1600/bullet-orange.gif) no-repeat;
padding-left: 18px ;
}
#sidebarright ul li ul li {
background: url(http://4.bp.blogspot.com/-62TIYr8Foxs/UxcWLsRlqeI/AAAAAAAALrc/pA2LPpqYwQo/s1600/bullet-grey.gif) no-repeat;
padding-left: 12px ;
sidebar area එකේ නෙවිගේෂන් බාර් එකේ පළල 270px; යි එහෙත් sidebar area background එක පලල අඩුයි ඒක වැඩි කරගන්න බැහැ කෝඩ් එක නැහැ
නෙවිගේෂන් බාර් කෝඩ් එක විතරයි තියෙන්නෙ
/* ------------------------------------- sidebar area */
/* sidebar */
#sidebarright {
float:right;
width: 270px;
color: #666666;
line-height: 160%;
position: relative;
display: block;
word-wrap: break-word;
2 ප්රශ්නය
ගොසිප් සයිට් එකේ තියෙනව වගෙ දැන්වීම් කෝඩ් හේඩර් ඩාර් එකේ දාල තියෙනවඑක හදා ගන්නෙ කොහොමද
3 ප්රශ්නය
පෝස්ට් වල පොන්ට එක වැඩිකරගන්න ඕනි 12X වගෙ අගයක් තියෙන්නෙ
4ප්රශ්නය
සුදුපාට background image එක පලලට පොඩ්ඩක් මදි ඒ කෝඩ එකක් නැහැ
5ප්රශ්නය
Layout එකේ post blog කොටස උඩට ගිහිල්ල පලලත් මදි
gossip templat eka
/* Use this with templates/template-twocol.html */
.section, .widget {
margin:0;
padding:0;
}
body {
background: #42afdc url(http://3.bp.blogspot.com/-wK27rJM0ZWg/UxcWONwZQGI/AAAAAAAALsA/IRNHHBu04AM/s1600/html-bg.gif) repeat-x;
font: 85%/160% Lora, Arial, Helvetica, sans-serif;
padding: 0px;
margin: 0px;
color: #333333;
}
a {
color: #44a1d0;
text-decoration: none;
}
a:visited {
color: #5EAFD7;
}
a:hover {
text-decoration: underline;
}
p {
margin: 0px 0px 15px;
}
img {
border: none;
}
ul {
margin: 5px 0px 15px;
padding-left: 20px;
}
ul li {
margin: 0px;
}
ol {
margin: 5px 0px 15px;
padding-left: 20px;
}
ul li {
margin: 0px;
}
form {
margin: 0px;
padding: 0px;
}
small {
font-size: 90%;
}
#pagedivwrap {
background: url(http://3.bp.blogspot.com/-AQJ8Jix8A3Y/UxcYnjWxV6I/AAAAAAAALxs/QZSgUogVeSA/s1600/main-bg.png) no-repeat center top;
}
#wrapper {
width: 770px;
margin: 0px auto;
position: relative;
}
/* ------------------------------------- header area */
#header {
height: 120px;
}
/* site title */
h1 {
position: absolute;
top: 40px;
left: 25px;
color: #FFFFFF;
margin: 0px;
padding: 0px;
font: normal 30px/100% "Trebuchet MS", Arial, sans-serif;
}
h1 a, h1 a:visited {
color: #FFFFFF;
text-decoration: none;
}
h1 a:hover {
color: #000000;
text-decoration: none;
}
.description {
position: absolute;
top: 77px;
left: 25px;
color: #000000;
font: 12px Lora, Arial, Helvetica, sans-serif;
}
/* search form */
#searchform {
position: absolute;
top: 0px;
right: 0px;
background: url(http://2.bp.blogspot.com/-ne0ZtqCNYnQ/UxcWbQcf7NI/AAAAAAAALvo/Lvg-vEV9gCI/s1600/searchform-bg.png) no-repeat right bottom;
height: 37px;
width: 210px;
}
#searchform #s{
background: #ffffff url(http://2.bp.blogspot.com/-ZhNFEgtp6Jw/UxcWNvZTmxI/AAAAAAAALrw/XbG2YR4AiuQ/s1600/form-field-bg.gif) no-repeat ;
height: 17px;
width: 148px;
margin: 6px 5px 0px 10px;
padding: 3px 7px 2px 5px;
color: #999999;
border: none;
}
#searchform #searchsubmit {
background: url(http://1.bp.blogspot.com/-I3O4wPViSQw/UxcWbDjwVTI/AAAAAAAALvk/ThGFn24_3TE/s1600/search-btn.png) no-repeat left top;
height: 24px;
width: 24px;
border: none;
text-indent: -999%;
line-height: 1px;
margin-top: 6px;
}
/* ------------------------------------- main content area */
#left-col {
width: 545px;
float: left;
margin-top: 11px;
}
/* main menu */
#navtopdiv {
background: url(http://1.bp.blogspot.com/-ph4QzF9wh0s/UxcWNY_3QeI/AAAAAAAALrs/s2yu6VIPDUo/s1600/content-top-bg.png) no-repeat left top;
height: 26px;
}
#navtopdiv ul{
list-style: none;
margin: 0px 0px 0px 25px;
padding: 0px;
font: bold 12px/100% Arial, Helvetica, sans-serif;
}
#navtopdiv ul li{
margin: 0px 1px 0px 0px;
padding: 0px;
float: left;
}
#navtopdiv ul li a{
padding: 5px 7px 6px 7px;
text-decoration: none;
color: #000000;
display: block;
}
#navtopdiv li a:visited{
text-decoration: none;
color: #000000;
}
#navtopdiv li a:hover, #navtopdiv .current_page_item a{
text-decoration: none;
background: #2e91c6 url(http://3.bp.blogspot.com/-bz_mtJVWfyw/UxcWX3mZIKI/AAAAAAAALuk/8gXPCC-CFR4/s1600/nav-item-hover.gif) repeat-x;
color: #ffffff;
}
/* sub menu */
#subnav {
background: #ecebeb;
}
#subnav ul {
margin: 0px;
padding: 3px 0px 18px 5px;
list-style: none;
font: 11px/100% Arial, Helvetica, sans-serif;
}
#subnav li {
border-right: 1px solid #D8D8D8;
padding: 0px 7px;
margin: 0px;
float: left;
}
#subnav li a, #subnav li a:visited, #subnav .page_item {
text-decoration: none;
color: #333333;
}
#subnav .current_page_item a, #subnav .current_page_item a:visited {
color: #3b9acc;
}
#subnav li a:hover {
text-decoration: none;
color: #3b9acc;
}
/* content */
#contentleftdiv {
padding: 15px 25px 15px 25px;
width: 495px;
background: #ffffff;
clear: both;
overflow: hidden;
word-wrap: break-word;
}
.post {
padding: 0 0 10px;
margin: 0;
clear: both;
overflow: hidden;
}
.post .bpostdate {
height: 50px;
width: 45px;
background: url(http://3.bp.blogspot.com/-JcqGf7KVyK0/UxcYkEhHIFI/AAAAAAAALxk/5TfmeWTQeiw/s1600/calendar.gif) no-repeat;
font: normal 22px Arial, Helvetica, sans-serif;
color: #666666;
text-align: center;
padding: 0px 2px 0 0;
line-height: 100%;
float: left;
}
.post .bpostdate span {
height: 16px;
display: block;
font: normal 11px Arial, Helvetica, sans-serif;
color: #ffffff;
text-align: center;
padding-top: 5px;
}
.bposttitle {
float: left;
margin-left: 10px;
width: 438px;
}
.postbpostdata {
font-size: 80%;
color: #999999;
}
.postbpostdata a, .postbpostdata a:visited {
color: #999999;
text-decoration: none;
}
.postbpostdata a:hover {
color: #44a1d0;
text-decoration: none;
}
.postbpostdata .bpostcategory{
background: url(http://2.bp.blogspot.com/-F7DEFNzAtfQ/UxcWQt6k2EI/AAAAAAAALss/Bc0WJX207XM/s1600/mini-category.gif) no-repeat;
padding-left: 18px;
float: left;
width: 290px;
}
.postbpostdata .bpostcomments{
background: url(http://4.bp.blogspot.com/-quXUFj4mt7k/UxcWR1LPhwI/AAAAAAAALtI/gjuBedD-890/s1600/mini-comment.gif) no-repeat;
padding-left: 18px;
float: right;
}
.mini-add-comment {
background: url(http://4.bp.blogspot.com/-Qao8dzc5H8U/UxcWSVAuKmI/AAAAAAAALtU/fQOZa5OgByw/s1600/mini-down-arrow.gif) no-repeat left center;
padding-left: 12px;
float: right;
}
.entry {
padding: 5px 0px 5px;
clear: both;
}
/* post title */
.bposttitle h2 {
color: #333333;
margin: 3px 0 2px;
padding-bottom: 4px;
font: bold 150%/100% Lustria, "Lucida Grande", Arial, sans-serif;
border-bottom: dotted 1px #CCCCCC;
}
.bposttitle h2 a, .bposttitle h2 a:visited {
color: #333333;
text-decoration: none;
}
.bposttitle h2 a:hover {
color: #44a1d0;
text-decoration: none;
}
h3 {
color: #666666;
margin: 5px 0px 5px;
font: bold 110%/110% "Lucida Grande", Arial, sans-serif;
}
/* ------------------------------------- footer area */
#footerbotdiv {
background: url(http://3.bp.blogspot.com/-4j2qlGP_p...AALro/L7GGKIJKf_4/s1600/content-bottom-bg.png) no-repeat;
padding: 25px 0px 0px 10px;
font-size: 87%;
color: #282828;
}
#footerbotdiv a, #footerbotdiv a:visited {
text-decoration: none;
color: #000000;
}
#footerbotdiv a:hover {
text-decoration: underline;
}
/* ------------------------------------- sidebar area */
/* sidebar */
#sidebarright {
float:right;
width: 210px;
color: #666666;
line-height: 160%;
position: relative;
display: block;
word-wrap: break-word;
}
#sidebarright .widget {
margin: 0;
padding: 0;
border: none;
clear: both;
position: relative;
display: block;
}
#sidebarright p {
margin: 0px 0px 15px;
}
#sidebarright .widget h2 {
margin: 0;
padding: 16px 24px 7px 10px;
background: url(http://4.bp.blogspot.com/-TAJm82d-kd0/UxcWcES6TZI/AAAAAAAALwA/_lzPmb7Vzec/s1600/sidep-handle.png) no-repeat 0 0;
}
#sidebarright .widget-content {
margin: 0;
padding: 5px 10px 9px 10px;
background: url(http://4.bp.blogspot.com/--3yPWqLIJ7I/UxcWbkynU4I/AAAAAAAALv0/47_VxmuOItQ/s1600/sidep-bottom.png) no-repeat 0 100%;
overflow: hidden;
}
#sidebarright h2 {
font: bold 12px/100% Arial, Helvetica, sans-serif;
color: #666666;
}
#sidebarright h2 a, #sidebarright h2 a:visited {
color: #666666;
}
#sidebarright h2 img {
vertical-align: middle;
}
#sidebarright a, #sidebarright a:visited {
color: #000000;
text-decoration:none;
}
#sidebarright a:hover, #sidebarright a:focus, #sidebarright a:active {
text-decoration:underline;
}
#sidebarright ul {
list-style: none;
margin: 0 ;
padding: 0 ;
}
#sidebarright ul li {
background: url(http://3.bp.blogspot.com/-ueRZiVlrOeo/UxcWL3vMZPI/AAAAAAAALrM/B1rnPrsP60g/s1600/bullet-orange.gif) no-repeat;
padding-left: 18px ;
}
#sidebarright ul li ul li {
background: url(http://4.bp.blogspot.com/-62TIYr8Foxs/UxcWLsRlqeI/AAAAAAAALrc/pA2LPpqYwQo/s1600/bullet-grey.gif) no-repeat;
padding-left: 12px ;
Last edited:



