html - 垂直分割页面

标签 html css

我需要像时间线这样的 facebook。该线将位于分页页的中心。这是我的 html

 <div id="top">
  <div class="left"></div>
  <div class"left"></div>
  <div class="right"><div>

  </div>

class left 的 div 会出现在行的左侧,class right 会出现在右侧。

我一直在寻找一段时间没有成功。有人知道吗?

最佳答案

<div class="right"></div> 上使用下面的类

.verticalSeparation {
    border-left: thick solid #ff0000;
}

关于html - 垂直分割页面,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28642080/

相关文章:

java - 清理 HTML 字符串

php - 如何根据单元格之一的值更改动态填充表格行的背景颜色?

html - Google Cloud Storage 上的网站配置没有错误页面

html - Div 底部的中心三 Angular 形

html - 如何使元素在悬停时可见?

css - 在 CSS 中强制横向

html - 试图调整整个页面的大小(IE 缩小一切)

HTML 表格尺寸在不同系统上受到干扰

css - 如何将布局与完整背景对齐?

html - Bootstrap : center the title on the navbar and move logout button right