Middle Section and Container IE + OPERA

Kategori

<section class="discus-parallax bg-white">
    @{
        int card66Col = 2;
        int card66TotalRow = 2;
        int card66CategoryOrderNumber = 3;

        if (Partial.isCategoryOrderNumber(card66CategoryOrderNumber))
        {
            IEnumerable<Category> card66Category = Partial.CategorySubOrderNumber(card66CategoryOrderNumber, lang);
            Category categoryidno = Partial.Category(card66CategoryOrderNumber, lang);
            int card66Count = Convert.ToInt32(Math.Ceiling(card66Category.Count() / Convert.ToDouble(card66Col)));
            <div class="container-fluid" style="background-image:url('/Upload/File/2020/1/28/ttobg.png');color:white;text-align:center;padding-top:50px;background-repeat:repeat-x;">
                <div class="row">
                    <div class="col-md-12">
                        <h1 style="margin-bottom:100px;font-weight:bold;">@categoryidno.CategoryTitle.HtmlEncode()</h1>
                    </div>
                </div>
                <div class="container" style="color:black;">
                    @for (int componen = 0; componen < card66TotalRow; componen++)
                    {
                        <div class="row">
                            @foreach (Category comCategory in card66Category.Skip(componen * card66Col).Take(card66Col))
                            {
                                <div class="col-md-@(12 / card66Col) mb-5">
                                    <div style="background-color:#f2f2f2;padding:20px; height:100%;">
                                        <h3 style="color:#001162;">@comCategory.CategoryTitle.HtmlEncode()</h3>
                                        <p>
                                            @Partial.CategoryShortContent(comCategory.CategoryID, 105)
                                        </p>
                                    </div>
                                    <div class="" style="text-align:right;font-weight:bold;">
                                        <a href="@Partial.CategoryLink(comCategory.CategoryID)" style="color:#fff;background-color:#02276f;display:inline-block;padding:5px;">+</a>
                                        <a href="@Partial.CategoryLink(comCategory.CategoryID)" style="color:#fff;background-color:#fa2125;display:inline-block;padding:5px;">Detaylı İncele</a>
                                    </div>
                                </div>
                            }
                        </div>
                    }
                </div>
            </div>
        }
    }
</section>

Makale

<section class="discus-parallax bg-white">
    @{
        int card67Col = 2;
        int card67TotalRow = 2;
        int card67CategoryOrderNumber = 2;

        if (Partial.isCategoryOrderNumber(card67CategoryOrderNumber))
        {
            IEnumerable<Post>
            card67Posts = Partial.PostsOrderNumber(card67CategoryOrderNumber, 0, card67Col * card67TotalRow, Partial.Order.OrderBy, true, lang);
            Category categorytitle = Partial.Category(card67CategoryOrderNumber, lang);
            int card67Count = Convert.ToInt32(Math.Ceiling(card67Posts.Count() / Convert.ToDouble(card67Col)));
            <div class="container-fluid" style="background-image:url('/Upload/File/2020/1/28/ttobg.png');color:white;text-align:center;padding-top:50px;background-repeat:repeat-x;">
                <div class="row">
                    <div class="col-md-12">
                        <h1 style="margin-bottom:100px;font-weight:bold;">@categorytitle.CategoryTitle.HtmlEncode()</h1>
                    </div>
                </div>
                <div class="container" style="color:black;">
                    @for (int componen = 0; componen < card67Count; componen++)
                    {
                        <div class="row">
                            @foreach (Post comPost in card67Posts.Skip(componen * card67Col).Take(card67Col))
                            {
                                <div class="col-md-@(12 / card67Col) mb-5">
                                    <div style="background-color:#f2f2f2;padding:20px; height:100%;">
                                        <h3 style="color:#001162;">@comPost.PostTitle.HtmlEncode()</h3>
                                        <p>
                                            @Partial.PostShortContent(comPost.PostID, 105)
                                        </p>
                                    </div>
                                    <div class="" style="text-align:right;font-weight:bold;">
                                        <a href="@Partial.PostLink(comPost.PostID)" style="color:#fff;background-color:#02276f;display:inline-block;padding:5px;">+</a>
                                        <a href="@Partial.PostLink(comPost.PostID)" style="color:#fff;background-color:#fa2125;display:inline-block;padding:5px;">Detaylı İncele</a>
                                    </div>
                                </div>
                            }
                        </div>
                    }
                </div>
            </div>
        }
    }
</section>

http://www.antalyateknokent.com.tr/tr/antalya-teknokent-tto

İndex Bileşenleri