我无法按照我想要的方式创建横幅区域。我该怎么做?

I can't create the banner area the way I want. How can I do it?

他们让我编辑横幅区域。我的实习生和前端知识不是很好。我在下面张贴的照片中的横幅是两张独立的照片。我必须以相同的值拟合产品图片,并为每张照片单独提供 link。但是我无法在脑海中创建布局,也不知道该怎么做。如果您能提供一个想法,我将不胜感激。

这是应该的顺序:

我是这样做的:

这里需要把产品的照片单独放上去,到上面的时候单独links。我对他们没有问题,但我不能用这种方式下订单。目前一共两张照片,所以不是单独的产品,都是一张照片。如果您能告诉我如何做到这一点,我将不胜感激。

HTML代码:

@{
    Layout = null;
}
<link href="~/Content/bscarousel.css" rel="stylesheet" />
<script src="~/Scripts/Home/Slider.js"></script>

<div ng-controller="SliderController">
    <div>
 <table border="0" bordercolor="#aaa" cellspacing="0" cellpadding="0" style="background-color:#4C8C9E;">
                <tr>
                    <td>
                        <a href="https://www.arkadasgrup.com/ListeArama/311/Seri">
                            <img class="img-responsive" src="~/images/ShamanKing.jpg" width="60%" height="120px;" /><p style="color:white;">Shaman King</p>
                        </a>
                    </td>
                      .
                      .
                      .
                </td>
            </tr>
        </table>
    </div>
</div>

如何整理所有照片?我想让它们都一样大,但我做不到。

Css:

.carousel {
  position: relative;
}

.carousel-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-item {
  position: relative;
  display: none;
  align-items: center;
  width: 100%;
  @include transition($carousel-transition);
  backface-visibility: hidden;
  perspective: 1000px;
}

.carousel-item.active,
.carousel-item-next,
.carousel-item-prev {
  display: block;
}

.carousel-item-next,
.carousel-item-prev {
  position: absolute;
  top: 0;
}


.carousel-item-next.carousel-item-left,
.carousel-item-prev.carousel-item-right {
  transform: translateX(0);

  @supports (transform-style: preserve-3d) {
    transform: translate3d(0, 0, 0);
  }
}

.carousel-indicators {
  position: absolute;
  right: 0;
  bottom: 10px;
  left: 0;
  z-index: 15;
  display: flex;
  justify-content: center;
  padding-left: 0; // override <ol> default
  margin-right: $carousel-control-width;
  margin-left: $carousel-control-width;
  list-style: none;

  li {
    position: relative;
    flex: 0 1 auto;
    width: $carousel-indicator-width;
    height: $carousel-indicator-height;
    margin-right: $carousel-indicator-spacer;
    margin-left: $carousel-indicator-spacer;
    text-indent: -999px;
    background-color: rgba($carousel-indicator-active-bg, .5);

    &::before {
      position: absolute;
      top: -10px;
      left: 0;
      display: inline-block;
      width: 100%;
      height: 10px;
      content: "";
    }
    &::after {
      position: absolute;
      bottom: -10px;
      left: 0;
      display: inline-block;
      width: 100%;
      height: 10px;
      content: "";
    }
  }

  .active {
    background-color: $carousel-indicator-active-bg;
  }
}

.carousel-caption {
  position: absolute;
  right: ((100% - $carousel-caption-width) / 2);
  bottom: 20px;
  left: ((100% - $carousel-caption-width) / 2);
  z-index: 10;
  padding-top: 20px;
  padding-bottom: 20px;
  color: $carousel-caption-color;
  text-align: center;
}

鉴于没有可重现的代码,很难理解您的 question/problem。

如果您的目标是以均匀间距并排显示多个项目,您可以这样做:

HTML:

<div class="items">
  <img src="...">
  <img src="...">
  ...
</div>

CSS:

.items {
  display: flex;
  justify-content: space-evenly; /* this gives even space between items as shown in your image in the question */
}

.items img {
  width: 100px; /* you may want to define a fixed with here so that they all look the same */
}