کد زیر را جایگزین محتوای فایل NewsDetails.css کنید:
بهتر است قبل از این کار از فایل خود یک نسخه پشتیبان تهیه کنید.
input
{
font-family:Tahoma;
font-size:9pt;
}
.NewsDetHolder
{
float:right;
width:532px;
background-color:#fff;
margin-bottom:5px;
}
.NewsDetTopBg
{
float:right;
width:534px;
background:url(images/DetNewsTopBg.gif);
width:532px;
height:9px;
}
.NewsDetMidd
{
float:right;
background:#F3F4F4;
width:512px;
height:auto;
padding:10px 10px 0px 10px;
line-height:19px;
border:2px solid #EAE9E9;
-moz-border-radius:3px;
-o-border-radius:3px;
-webkit-border-radius:3px;
border-radius:3px;
}
.NewsDetBottomBg
{
float:right;
width:534px;
background:url(images/DetNewsBottomBg.gif);
width:532px;
height:9px;
}
.DetNewsMainBox
{
width:512px;
float:right;
}
.DetNewsMainBox img
{
max-width:512px;
}
.DetNewsTopBox
{
width:512px;
margin-bottom:10px;
float:right;
}
.DetNewsImg
{
width:258px;
height:190px;
overflow:hidden;
border:#d1d1d1 1px solid;
float:left;
padding:4px 4px 4px 3px;
*padding:4px;
text-align:center;
margin-right:3px;
background-color:#ffffff;
}
.ImgBox
{
width:258px;
height:190px;
overflow:hidden;
text-align:center;
direction:ltr;
}
.ImgBox img {
height:190px;
width:258px;
}
.DetNewsTopText
{
width:240px;
float:right;
padding-bottom:15px;
}
.DetNewsTopText h1 { color:#022e75;font-weight:bold;font-size:16px;margin:5px 0px;padding:0px;line-height:22px}
.DetNewsTopText h2 {font-weight:normal;font-size:11px;font-family:Tahoma!important;margin:0px;padding:0px}
.DetNewsTopText h3 {font-weight:normal;font-size:11px;font-family:Tahoma!important;margin:0px;padding:0px}
h4{font-family:Tahoma!important;font-weight:normal;font-size:11px;margin:0px;padding:0px}
.DetNewsTopText p {text-align:justify;}
.DetNewsTopText p a{color:#999;}
.NewsBody
{
width:100%;
text-align:right;
line-height:16px;
float:right
}
.NewsInfoHolder
{
width:531px;
float:right;
margin-bottom:5px;
background:#C2D8EB;
border:1px solid #A0C2E1;
-moz-border-radius:3px;
-o-border-radius:3px;
-webkit-border-radius:3px;
border-radius:3px;
}
.NewsInfoTopBg
{
width:531px;
height:8px;
float:right;
background-image:url(images/NewsInfoTopBg.gif);
}
.NewsInfoMidd
{
width:531px;
float:right;
background-image:url(images/NewsInfoMiddBg.gif);
background-repeat:repeat-y;
height:25px;
line-height:25px;
}
.NewsInfoBottomBg
{
width:531px;
height:6px;
float:right;
background:url(images/NewsInfoBottomBg.gif) bottom;
}
.NewsInfoText
{
width:530px;
float:right;
margin-top:-2px;
}
.DateText
{
background-image:url(images/DateTimeIcon.gif);
background-position:60px 0px;
padding-right:23px;
height:21px;
float:right;
width:60px;
padding-top:3px;
background-repeat:no-repeat;
}
.Date
{
padding-top:3px;
display:inline-block;
direction:ltr;
height:21px;
float:right;
}
.PrintIcon
{
background-image:url(images/Print.gif);
background-position:0px 0px;
padding-right:5px;
height:17px;
float:right;
padding-top:3px;
width:80px;
background-repeat:no-repeat;
margin:0 15px 0 0;
}
.PrintLink,.PrintLink:visited
{
color:#333;
float:right;
margin:2px;
}
.PrintLink:hover {color:#999;}
.SocialNetworkHolder
{
width:195px;
float:left;
text-align:left;
margin:-10px 0px 0px 5px;
}
.SocialNetworkItem
{
float:left;
margin-right:2px;
}
.RelatedNewsItem
{
width:500px;
background-image:url(images/NewsBullet.gif);
background-position:503px 6px;
background-repeat:no-repeat;
padding:3px 15px 0px 0px;
float:right;
}
.RelatedNewsItem a:link,.RelatedNewsItem a:visited { color:#000;}
.RelatedNewsItem a:hover { color:#999;}
.NoteSilderHolder
{
width:534px;
float:right;
margin-top:5px;
height:auto;
}
.FormTabHolder
{
float:right;
height:25px;
*float:none;
width:532px;
background-image:url(images/TabHolderBg.gif);
}
.FormBoxHolder
{
width:532px;
float:right;
}
.FormBoxMidd,.FormBoxMidd2
{
float:right;
width:532px;
background-image:url(images/comNewsMiddBg.gif);
}
.FormTabRightBg
{
width:6px;
cursor:pointer;
float:right;
height:25px;
display:block;
}
.OneTabHolder .FormTabRightBg
{
float:right;
height:25px;
width:6px;
background-image:url(images/TabRightBg.gif);
background-repeat:no-repeat;
display:block;
cursor:default;
}
.OneTabHolder .FormTabMiddBg
{
float:right;
height:25px;
background-image:url(images/TabMiddBg.gif);
background-repeat:repeat;
display:block;
background-color:#fff;
cursor:default;
}
.OneTabHolder .FormTabLeftBg
{
float:right;
height:25px;
width:6px;
background-image:url(images/TabLeftBg.gif);
background-repeat:no-repeat;
display:block;
cursor:default;
}
.FormTabMiddBg
{
float:right;
height:25px;
display:block;
cursor:pointer;
}
.FormTabMiddBg h5
{
color:#444;
margin-top:2px;
}
.FormTabLeftBg
{
float:right;
height:25px;
cursor:pointer;
width:6px;
display:block;
}
.SelectedRightTab
{
float:right;
height:25px;
width:6px;
background-image:url(images/TabRightBg.gif);
background-repeat:no-repeat;
display:block;
cursor:default;
}
.SelectedMiddTab
{
float:right;
height:25px;
background-image:url(images/TabMiddBg.gif);
background-repeat:repeat;
display:block;
background-color:#fff;
cursor:default;
}
.SelectedLeftTab
{
float:right;
height:25px;
width:6px;
background-image:url(images/TabLeftBg.gif);
background-repeat:no-repeat;
display:block;
cursor:default;
}
.Namelbl
{
direction:ltr;
display:block;
float:right;
}
.CmForm,.SendNewsForm
{
float:right;
margin:15px 15px 0px 15px;
}
.txtName,.Email,.txtWebsit,.YourName,.Sender,.Reciver
{
border:1px solid #ccc;
background-color:#ececec;
width:300px;
}
.Email,.txtWebsit
{
direction:ltr;
}
.CommentInput,.Dsecription
{
border:1px solid #ccc;
background-color:#ececec;
width:500px;
text-align:right;
direction:rtl;
height:80px;
resize:vertical;
text-align:right;
font-family:Tahoma; font-size:8pt;
overflow:auto;
padding:2px;
}
.Capcha,.CapchaNews
{
border:1px solid #ccc;
background-color:#ececec;
width:20px;
direction:ltr;
float:right;
margin:0px 10px 0px 10px;
}
.CommentBtn,.SendNewsBtn,.CancelBtn,.ProblemBtn
{
width:56px;
height:18px;
text-align:center;
color:#fff;
padding:6px;
float:left;
background-image:url(images/CMBtn.gif);
background-repeat:no-repeat;
cursor:pointer;
}
.CommentBtn:hove {color:Yellow;}
.CapchaAlert
{
margin-top:4px;
}
.RedBorder
{
border:1px solid
}
.Red {color:Red;}
.CMLoader,.SendNewsLoader,.CMLoaderPr
{
display:none;
float:left;
margin:7px 5px 0px 5px;
width:16px;
height:16px;
}
.lblMsg,.lblSendPrMsg
{
color:Red;
float:right
}
.FilmPlaeyrHolder
{
width:500px;
float:right;
position:relative;
margin:5px;
}
.ImagePlayerPlay
{
position :absolute;
cursor:pointer;
right:200px;
top:150px;
}
.AttachCaption
{
width:487px;
margin-top:10px;
text-align:right;
border:1px solid #c0c0c0;
background-color:#d1d1d1;
float:right;
direction:rtl;
padding:5px;
display:none;
margin-right:5px;
}
.AttachCaption.haveAtach
{
display:block;
}
.AttachCaption a
{
color: #008BCE;
}
.NewWidth {width:510px;}
/*-----------------------------------------PhotoSlider----------------------------------*/
.PhotoDetHolder
{
width:492px;
float:right;
padding: 0px 10px 10px 10px;
background:#333;
text-align:center;
margin:10px 0px 10px 0px;
}
.PhotoSliderHolder
{
width:490px;
height:370px;
float:right;
position:relative;
border:1px solid #c0c0c0;
text-align:center;
direction:ltr;
overflow:hidden;
}
.PhotoSliderHolder img {height:370px}
.SliderRightControlBtn
{
width:30px;
height:30px;
position:absolute;
background-image:url(images/SliderRightControlBtn.png);
background-position:center;
background-repeat:no-repeat;
right:15px;
top:200px;
cursor:pointer;
}
.SliderLeftControlBtn
{
width:30px;
cursor:pointer;
height:30px;
position:absolute;
background-image:url(images/SliderLeftControlBtn.png);
left:15px;
top:200px;
background-position:center;
background-repeat:no-repeat;
}
.PhotoListHolder
{
width:820px;
margin-top:15px;
float:right;
}
.PhotoListTopBg
{
width:100%;
height:7px;
float:right;
background-image:url(images/PhotoDetItemsBoxTopBg.png);
background-repeat:no-repeat;
}
.PhotoListMiddBg
{
width:100%;
float:right;
background-image:url(images/PhotoDetItemsBoxMiddBg.png);
}
.PhotoListBottomBg
{
width:100%;
height:38px;
float:right;
background-image:url(images/PhotoDetItemsBoxBottBg.png);
background-repeat:no-repeat;
}
.PhotoListTitle
{
width:800px;
background-position:right;
margin-right:15px;
height:55px;
float:right;
background-image:url(images/PhotoListTitle.gif);
background-repeat:no-repeat;
}
.PhotoSliderTextHolder
{
width:260px;
float:right;
margin-right:10px;
}
.PhotoRooTitr
{
font-size:8pt;
color:#778;
}
.PhotoTitr
{
color:#3183cc;
}
.SliderToolsHolder
{
float:right;
width:100%;
margin-top:5px;
}
.SliderToolsHolderAjax
{
background-image:url(images/5.gif);
background-position:right;
background-repeat:no-repeat;
}
.PhotoCaption { color:#fff;width:490px;text-align:right;padding-top:5px;float:right;}
.DownloadPic
{
width:100px;
height:21px;
color:#fff;
float:left;
padding-top:5px;
}
.DownloadPic a:link,.DownloadPic a:visited {color:#fff;}
.DownloadPic a:hover {color:Yellow;}
.PhotoLoca,.PhotoDate
{
font-size:8pt;
display:inline-block;
color:#3183cc;
margin-bottom:3px;
}
.PhotoTime
{
direction:ltr;
width:100px;
color:#3183cc;
font-size:8pt;
display:inline-block;
}
.PhotoListItemsHolder
{
width:480px;
float:right;
padding:5px 0px 5px 5px;
margin-right:5px;
text-align:left;
}
.PhotoListItems
{
width:66px;
height:48px;
border:#aaa 2px solid;
direction:ltr;
float:right;
overflow:hidden;
margin:5px;
cursor:pointer;
float:left;
filter:alpha(opacity=50); opacity:0.5;
text-align:center;
}
.PhotoListItems:hover { filter:alpha(opacity=100); opacity:1;}
.PhotoListItems img { height:48px;}
.SelectedPic
{
filter:alpha(opacity=100);
opacity:1;
}
.Space
{
height:80px;
float:right;
width:100%;
}
.SliderCnt
{
color:#fff;
float:left;
padding:0px 0px 5px 0px;
cursor:pointer;
}
.SliderCnt:hover
{
color:Yellow;
text-decoration:underline;
}
.ShareIcon
{
float:left;
margin:10px 5px 5px 5px;
}
.NewsKeywordsHolder
{
width:500px;
margin:5px 0px 5px 0px;
float:right;
padding-right:10px;
}
.NewsKeywordsHolder a{font-family:'byekan';font-weight:normal; color:#6d6c97; font-size:13px;}
.NewsKeywordsHolder a:hover{color:#aaa;}
.KeywordCss0{ font-size:13px;}
.KeywordCss1{ font-size:15px;}
.KeywordCss2{ font-size:17px;}
.KeywordCss3{ font-size:19px;}
.KeywordCss4{ font-size:21px;}
.KeywordCss5{ font-size:23px;}
/* NEW */
.cmSlidBtn
{
float:left;
background-image:url(images/4.png);
background-repeat:no-repeat;
width:22px;
height:22px;
cursor:pointer;
display:none;
}
.cmSlidBtnSel
{
background-image:url(images/5.png);
background-repeat:no-repeat;
}
.PosHolder
{
height:22px;
float:left;
margin:0px 2px;
cursor:pointer;
}
.Pos-L
{
width:22px;
height:22px;
float:left;
background-image:url(images/Pos-L.png);
background-repeat:no-repeat;
}
.Pos-M
{
height:22px;
float:left;
background-image:url(images/Pos-M.png);
background-repeat:repeat-x;
padding:2px 5px 0px 5px;
font-family:B Nazanin,Nazanin,Times New Roman;
font-weight:bold;
font-size:13px;
}
.Pos-R
{
width:7px;
height:22px;
float:left;
background-image:url(images/Pos-R.png);
background-repeat:no-repeat;
}
.Neg-L
{
width:22px;
height:22px;
float:left;
background-image:url(images/Neg-L.png);
background-repeat:no-repeat;
}
.Neg-M
{
height:22px;
float:left;
background-image:url(images/Neg-M.png);
background-repeat:repeat-x;
padding:2px 5px 0px 5px;
font-family:B Nazanin,Nazanin,Times New Roman;
font-weight:bold;
font-size:13px;
}
.Neg-R
{
width:7px;
height:22px;
float:left;
background-image:url(images/Neg-R.png);
background-repeat:no-repeat;
}
.btnans
{
width:81px;
height:20px;
float:left;
margin:0px 2px;
background-image:url(images/3.png);
background-repeat:no-repeat;
font-family:B Nazanin,Nazanin,Times New Roman;
font-weight:bold;
font-size:12px;
text-align:center;
margin-top:1px;
cursor:pointer;
color:#fff;
}
.btnans:hover
{
color:#555;
}
.CommentItemsHolder
{
margin:5px;
*width:500px;
padding:5px;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f6f6f6', endColorstr='#ffffff');
background: -moz-linear-gradient(center top , #f6f6f6, #ffffff);
background: -webkit-gradient(linear, left top, left bottom, from(#f6f6f6), to(#ffffff));
border:solid 1px #ccc;
border-radius:6px;
}
.CommentItemsHolder:hover
{
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f6f6f6');
background: -moz-linear-gradient(center top , #ffffff, #f6f6f6);
background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#f6f6f6));
}
.infoHolder
{
border:solid 1px #ddd;
padding:3px;
background-color:#fff;
border-radius:3px;
margin-bottom:8px;
height:21px;
}
.voteHolder
{
float:left;
position:relative;
}
.CMDateBox
{
float:right;
margin-right:4px;
margin-top:2px;
}
.CMName
{
color:#000666;
float:right;
margin-top:2px;
max-width:150px;
overflow:hidden;
height:16px;
*height:19px;
}
.CMDate
{
color:#889;
direction:ltr;
padding:2px 0px 2px 0px;
display:inline-block;
}
.cmloader
{
float:left;
margin-top:3px;
margin-left:3px;
display:none;
}
.cmMessageBox
{
font-size:11px;
color:#256cb6;
text-align:center;
background-color:#ececec;
display:none;
border-radius:5px;
border:1px solid #aaa;
font-weight:normal;
direction:rtl;
padding:5px;
position:absolute;
top:-28px;
left:10px;
width:165px;
}
.CMText
{
text-align:justify;
color:#333;
line-height:18px;
margin-bottom:5px;
}
.answerBox .voteHolder
{
display:none;
}
.answerBox .ansTitle
{
display:block;
border-bottom:solid 1px #fcb918;
color:#fcb918;
margin:8px 12px;
padding-bottom:3px;
padding-right:2px;
width:45px;
}
.notifiBox input
{
float:right;
}
.notifiBox span
{
color:#333;
margin-top:1px;
}
.AdvertDet
{
width:530px;
float:right;
}
.AdvertItem2
{
width:100%;
margin-bottom:5px;
}
.PrintLinkTop
{
width:100%;text-align:left;float:left;
margin-top:-14px;
margin-bottom:3px;
}
.PrintLinkTop a
{
font-size:8pt;
color:#aaa;
display:inline-block;
padding-bottom:2px;
}
.PrintLinkTop a:hover { color:#8754aa; }
.ShowEmail
{
color:Green;font-weight:normal;margin-right:5px; float:right;display:inline-block;font-family:Tahoma;font-size:18px;cursor:pointer;
position:relative;margin-top:-3px;
}
.dNon { display:none; }
.ShowEmailTooltip
{
font-size:11px;
color:#256cb6;
text-align:center;
background-color:#ececec;
display:none;
border-radius:5px;
border:1px solid #aaa;
font-weight:normal;
direction:rtl;
padding:4px;
position:absolute;
top:-30px;
left:-40px;
}
.CMTitle
{
width:520px;
height:25px;
color:#022e75;
text-align:right;
direction:rtl;
padding:1px 10px 0px 0px;
float:right;
background-color:#e5eef3;
border-bottom:1px solid #ddd;
margin-bottom:3px;
}
.CMTitle h3 { display:inline-block; }
.CmLoader
{
float:left;
background-color:Yellow;
margin:3px 0px 2px 10px;
color:red;
padding:2px 3px 2px 5px;
display:none;
}
.CmLoaderImg { float:right; text-align:right; margin-left:3px; width:15px; }
.CmLoader span { float:right; }
.CmMsg
{
float:left;
margin:2px 0px 2px 10px;
color:Green;
padding:0px 3px 2px 5px;
display:none;
}
.CmMsgImg { float:right; text-align:right; margin-left:3px; width:20px; }
.CmMsg span { float:right; margin-top:3px}
.CommentItemsHolder.AnswerBg
{
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#dddddd');
background: -moz-linear-gradient(center top , #ffffff, #dddddd);
background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#dddddd));
}
.fbLikeHolder
{
border:none;
overflow:hidden;
width:90px;
height:21px;
margin-top:7px;
float:right;
background-color:transparent;
}
.gplusHolder
{
border:none;
overflow:hidden;
width:67px;
height:25px;
margin-top:8px;
float:left;
background-color:transparent;
}
.NoVote .PosHolder { display:none; }
.NoComment .btnans { display:none; }
.likeBox
{
float:left;
width:45px;
height:16px;
border:solid 1px #ccc;
padding:0px 3px 3px 3px;
border-radius:4px;
cursor:pointer;
margin:1px 2px;
text-align:right;
font-size:16px;
color:#fff;
font-weight:bold;
font-family:Arial;
margin-top:-1px;
*margin-top:0px;
}
.likeBox.isLike
{
background: #59588f url(images/like.png) no-repeat 3px center;
}
.likeBox.isDislike
{
background: #59588f url(images/dislike.png) no-repeat 3px center;
display:none;
}
.likeBox:hover
{
background-color:#c0ccff;
border-color:#c0ccff;
color:#022e75;
}
.likeNewsBox
{
width:80px;
height:28px;
cursor:pointer;
margin:-2px 2px;
text-align:right;
font-size:10px;
color:#333;
float:right;
}
.likeNewsBox.isLike
{
background:url(images/like.png) no-repeat right;
}
.likeNewsBox.isDislike
{
background:url(images/dislike.png) no-repeat right;
}
.VOteTOnewsHolder { float:left; width:250px; margin-top:-2px; }
.VoteHolder { position:relative; width:100%; float:right; }
.disableDiv { position:absolute; width:100%; display:none; height:100%; z-index:1000;left:0px; top:0px; background:url(images/none.gif);}
.rate1,.rate2,.rate3,.rate4,.rate5
{
width:20px;
height:20px;
background-image:url(images/rating32Null.png);
cursor:pointer;
float:left;
}
.Sel
{
width:14px;
height:20px;
cursor:pointer;
}
.Rating
{
width:14px;
height:20px;
background-image:url(images/rating32.png);
}
.RatingNull
{
width:20px;
height:20px;
background-image:url(images/rating32Null.png);
cursor:pointer;
}
.RateTitle
{
float:right;
padding:3px 0px;
font-size:9pt;
}
.ratingHolder
{
float:right;
text-align:right;
margin-right:5px;
}
.attention { float:left; }
.attention a:link,.attention a:visited { background:url(images/050.png); background-position:99% center; background-repeat:no-repeat; border-radius:5px;
padding:8px 20px 8px 10px; display:inline-block;background-color:#59588f; color:#fff;}
.cmInfoHolder
{
display:none;
padding:1%;
margin:2% 0%;
border-radius:10px; background:#fff; box-shadow: 3px 3px 5px 6px #666;
-moz-box-shadow: 3px 3px 5px 6px #666; -webkit-box-shadow: 3px 3px 5px 6px #666;
border:1px solid #d5d5d5;
}
.cmInfoHolder h3 { border-radius:5px; background:#39386D; color:#fff; display:block; padding:3px 5px; }
.cmInfoHolder div { display:block; padding:3px 18px 3px 0px; background:url(images/BgPic/NewsBullet.gif);
background-position:98% 8px; background-repeat:no-repeat; }