1
safir
small problem with style !
  • 2008/12/27 13:01

  • safir

  • Just popping in

  • Posts: 24

  • Since: 2007/4/4 4


hi

i use etnews theme and when i made a news block , i have a space between block border and text like the image :

Resized Image


this is my css . can someone told me which code most be edit for removing this space ?
body {
    
color#000;
    
margin0;
    
padding0;
    
font-familyArialHelveticasans-serif;
    
font-size9pt;
}

table {
    
width100%;
}

table td {
    
padding0;
    
border-width0;
    
vertical-aligntop;
}

h1 {font-size140%;}
h2 {font-size130%;}
h3 {font-size120%;}
h4 {font-size100%;}
h5 {font-size90%;}
h6 {font-size80%;}


h1h2h3h4h5h6 {
    
padding0px;
    
margin0px;
}



img
{    
    
border0px;
}

a
{
    
color#BA3232;
    
text-decorationnone;
    
font-weightnormal;
}
a:hover
{
    
color#D90005;
    
text-decorationunderline;
}
ul
{
    
margin2px;
    
padding1px;
    list-
styledecimal inside;
    
text-alignleft;
}
li
{
    
margin-left2px;
    list-
stylesquare inside;
    
color#ADA06D;
}

.
item
{
    
border-bottom1px solid #cccccc;
    
margin-bottom10px;
}
.
itemInfo
{
    
font-size90%;
}
.
itemHead
{
    
color#8c0003;
    
font-size160%;
    
font-weightbold;
}
.
itemTitle a
{
    
font-weightbold;
    
color#8c0003;
}

.
itemPoster, .itemPostDate, .itemStats {}

.
itemBody {}
.
itemText {}
.
itemFoot
{
    
text-alignright;
    
padding-bottom8px;
    
padding-top5px;
    
color#840000;
}

.
itemAdminLink, .itemPermaLink
{
    
font-size90%;
}

#leftcolumn
{
    
width165px;
    
border-right1px solid #CACACC;
    
padding-top8px;
    
padding-right5px;
}

#leftcolumn div.blockTitle {
    
color#ffffff;
    
background-color#737373;
    
padding3px 5px;
}
#leftcolumn div.blockContent
{
    
padding3px 12px;
    
margin-bottom8px;
    
border1px solid #737373;
}

#leftcolumn2 {
    
width250px;
    
padding8px;
}

#leftcolumn2 div.blockTitle {
    
color#FFFFFF;
    
background-color#8c0003;
    
padding3px 5px;
}

#leftcolumn2 div.blockContent {
    
padding-top5px;
    
padding-bottom15px;
}
#centercolumn { padding: 8px;}

#centercolumn th {}

.centercol {}

.
centercol .blockTitle {
    
color#FFFFFF;
    
background-color#B19E72;
    
padding3px 5px;
}

.
centercol .blockContent {
    
padding-top5px;
    
margin-bottom15px;
}

#centerCcolumn, #bottomCcolumn {}
#centerLcolumn, #bottomLcolumn {width: 50%; padding: 0px 8px 0px 0px; }
#centerRcolumn,  #bottomRcolumn {width: 50%; padding: 0px 0px 0px 8px; border-left: 1px solid #CACACC;}

div#content {
    
text-alignleft;
    
padding-top8px;
    
padding-bottom8px;
}

#rightcolumn
{
    
width165px;
    
border-left1px solid #CACACC;
    
padding-top8px;
}

#rightcolumn div.blockTitle
{
    
color#8c0003;
    
padding3px 5px;
}
#rightcolumn div.blockContent
{
    
padding-bottom15px;
    
padding-left8px;
}

#mainmenu a
{
    
displayblock;
    
padding3px;
    
font-weightnormal;
    
color#000000;
    
border-bottom1px solid #CACACC;
}

#mainmenu a.menuTop {}

#mainmenu a.menuMain
{
    
padding-left3px;
    
font-weightnormal;
}
#mainmenu a.menuSub
{
    
padding-left20px;
}
#mainmenu a:hover
{
    
color#ffffff;
    
background-color#8C0003;
    
text-decorationnone;
}
#usermenu a
{
    
displayblock;
    
padding3px;
    
font-weightnormal;
    
color#000000;
    
border-bottom1px solid #CACACC;
}
#usermenu a:hover
{
    
color#ffffff;
    
background-color#8C0003;
    
text-decorationnone;
}
#usermenu a.highlight
{
    
background-color#2979C9;
    
color#FFFFFF;
}

th
{
    
background-color#D1C6AB;
    
color#7B6A44;
    
padding3px 5px;
    
vertical-alignmiddle;
    
font-size120%;
}

.
head
{
    
background-color#EEE;
    
padding4px;
    
font-weightbold;
}
.
eventr.even td, .oddtr.odd td
{
    
padding4px;
    
background-color#F8F8F8;
}

.
foot
{
    
padding3px;
    
font-weightnormal;
}

div.errorMsg
{
    
background-color#FFCCCC;
    
text-aligncenter;
    
border-top1px solid #DDDDFF;
    
border-left1px solid #DDDDFF;
    
border-right1px solid #AAAAAA;
    
border-bottom1px solid #AAAAAA;
    
font-weightbold;
    
padding10px;
}
div.confirmMsg
{
    
background-color#DDFFDF;
    
color#136C99;
    
text-aligncenter;
    
border-top1px solid #DDDDFF;
    
border-left1px solid #DDDDFF;
    
border-right1px solid #AAAAAA;
    
border-bottom1px solid #AAAAAA;
    
font-weightbold;
    
padding10px;
}
div.resultMsg
{
    
background-color#CCCCCC;
    
color#333333;
    
text-aligncenter;
    
border-top1px solid silver;
    
border-left1px solid silver;
    
font-weightbold;
    
border-right1px solid #666666;
    
border-bottom1px solid #666666;
    
padding10px;
}
div.xoopsCode
{
    
background#FFFFFF;
    
border1px inset #000080;
    
font-family"Courier New",Courier,monospace;
    
padding0px 6px 6px 6px;
}
div.xoopsQuote
{
    
background#FFFFFF;
    
border1px inset #000080;
    
font-family"Courier New",Courier,monospace;
    
padding0px 6px 6px 6px;
}
.
comTitle
{
    
font-weightbold;
    
margin-bottom2px;
}
.
comText
{
    
padding2px;
}
.
comUserStat
{
    
font-size10px;
    
color#2F5376;
    
font-weightbold;
    
background-color#ffffff;
    
margin2px;
    
padding2px;
}
.
comUserStatCaption
{
    
font-weightnormal;
}
.
comUserStatus
{
    
margin-left2px;
    
margin-top10px;
    
color#2F5376;
    
font-weightbold;
    
font-size10px;
}
.
comUserRank
{
    
margin2px;
}
.
comUserRankText
{
    
font-size10px;
    
font-weightbold;
}
.
comUserRankImg
{
    
border0;
}
.
comUserImg
{
    
margin2px;
}
.
comDate
{
    
font-weightnormal;
    
font-stylenormal;
    
font-sizesmall;
}
.
comDateCaption
{
    
font-weightbold;
    
font-stylenormal;
    
colorWhite;
}


input
{
    
color#000000;
    
font-size90%;
    
background-color#FFFFFF;
    
border1px solid #cfcfcf;
    
margin-top3px;
}


.
main {
    
width95%;
    
background-color#FFFFFF;
}

textarea {
    
font-familyVerdanaArialHelveticasans-serif;
    
font-size9pt;
    
width90%;
}


#headerbarleft, #headerbarright, #headerbarcenter {
    
text-aligncenter;
    
vertical-alignmiddle;
    
font-weightbold;
    
border-bottom-width8px;
    
border-bottom-stylesolid;
    
border-bottom-color#8c0003;
}

#headerbarcenter {}
#headerbarright {}


#topMenu {
    
background-color#737373;
    
border-top-width1px;
    
border-top-stylesolid;
    
border-top-color#FFFFFF;
    
border-bottom-width1px;
    
border-bottom-stylesolid;
    
border-bottom-color#FFFFFF;
    
font-size80%;
}
#topMenu td {
    
text-aligncenter;
    
border-right-width1px;
    
border-right-stylesolid;
    
border-right-color#FFFFFF;
}

#topMenu td a {
    
displayblock;
    
text-aligncenter;
    
color#FFF;
    
padding-top4px;
    
padding-bottom4px;
    
text-transformuppercase;
    
font-weightbold;
}
#topMenu td a:hover {
    
text-decorationnone;
    
background-color#8c0003;
}

#userSection {
    
background-color#cacacc;
    
padding3px 10px;
}

#footer {
    
font-size90%;
    
color#818181;
    
text-aligncenter;
    
margin-top15px;
    
margin-bottom15px;
    
padding-right10px;
    
padding-left10px;
    
border-top-width1px;
    
border-top-stylesolid;
    
border-top-color#E4E4E4;
    
padding-top20px;
    
padding-bottom20px;
}

#headerbanner {
    
text-aligncenter;
    
margin-top10px;
    
margin-bottom10px;
}

2
kris_fr
Re: small problem with style !
  • 2008/12/27 14:26

  • kris_fr

  • Theme Designer

  • Posts: 1009

  • Since: 2005/12/31


Hi,

left or right column ?

@++

3
safir
Re: small problem with style !
  • 2008/12/27 16:00

  • safir

  • Just popping in

  • Posts: 24

  • Since: 2007/4/4 4


hi
both of them pls !
thanks for reply

4
kris_fr
Re: small problem with style !
  • 2008/12/27 17:32

  • kris_fr

  • Theme Designer

  • Posts: 1009

  • Since: 2005/12/31


#leftcolumn div.blockContent 

    
padding3px 4px
    
margin-bottom8px
    
border1px solid #737373; 
}

and
#leftcolumn2 { 
    
width250px
    
padding3px
}

Login

Username:
Password:

Lost Password? Register now!

Who's Online

65 user(s) are online (46 user(s) are browsing Support Forums)


Members: 0


Guests: 65


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jun 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits