如何在两个Bootstrap列之间直接添加两行?(How to add two rows straight between two Bootstrap columns?)
我想要一行直接添加两行。
喜欢这张图片。
之后,我将bootstrap分为两个
col-md-8
和col-md-4
。在
col-md-8
我继续划分为col-md-3
包含<hr>
标记,col-md-9
包含<h4>
文本和所有内容。在
col-md-4
>中,它将创建为col-md-12
。 在这列中,我不需要在任何列中划分<hr>
。接下来,我使用
<hr>
标签添加文本。 所以,在两列中它不直。我的代码是这样的:
div.hr_tinkhuyenmai{ height: 1px; width: 10%; background-color: #ffa800; } div.title_tinkhuyenmai{ font-family: tahoma; display: flex; align-items: center; justify-content: left; } div.group_title_hr{ font-size: 20px; font-family: roboto_regular; display: flex; align-items: center; justify-content: right margin-top: 20px; } div.title_child_breakingnews{ width: 10%; float: right } div.hr_child_breakingnews{ width: 30%; height: 1px; background-color: #ffa800; }
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"/> <div class="container-fluid remove_padding" style="background-color: #f8f8f8;margin-top: 20px"> <div class="row"> <div class="col-md-12"> <div class="col-md-8"> <div class="title_tinkhuyenmai"> <div class="col-md-3 hr_tinkhuyenmai"></div> <div class="col-md-9"> <h4>TIN KHUYẾN MÃI</h4> </div> </div> </div> <div class="col-md-4"> <div class="group_title_hr col-md-12"> <div class="title_child_breakingnews text-right">TIN NỔI BẬT</div> <div class="hr_child_breakingnews text-right"></div> </div> </div> </div> </div> </div>
I want two rows I added straight in a line.
Like this image.
After, I divide bootstrap to two
col-md-8
andcol-md-4
.In
col-md-8
I continues divide tocol-md-3
contain<hr>
tag andcol-md-9
contain<h4>
text and all content.In
col-md-4
> it will create tocol-md-12
. In this columns, I don't need divide<hr>
in any columns.Next, I add text with
<hr>
tag. So, in two columns it not straight.My code like this:
div.hr_tinkhuyenmai{ height: 1px; width: 10%; background-color: #ffa800; } div.title_tinkhuyenmai{ font-family: tahoma; display: flex; align-items: center; justify-content: left; } div.group_title_hr{ font-size: 20px; font-family: roboto_regular; display: flex; align-items: center; justify-content: right margin-top: 20px; } div.title_child_breakingnews{ width: 10%; float: right } div.hr_child_breakingnews{ width: 30%; height: 1px; background-color: #ffa800; }
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"/> <div class="container-fluid remove_padding" style="background-color: #f8f8f8;margin-top: 20px"> <div class="row"> <div class="col-md-12"> <div class="col-md-8"> <div class="title_tinkhuyenmai"> <div class="col-md-3 hr_tinkhuyenmai"></div> <div class="col-md-9"> <h4>TIN KHUYẾN MÃI</h4> </div> </div> </div> <div class="col-md-4"> <div class="group_title_hr col-md-12"> <div class="title_child_breakingnews text-right">TIN NỔI BẬT</div> <div class="hr_child_breakingnews text-right"></div> </div> </div> </div> </div> </div>
原文:https://stackoverflow.com/questions/39265001
最满意答案
这不是文件大小,而是超过Tesseract限制的图像大小(尺寸)。 我用Tesseract识别16MB图像没有问题。 尝试调整大小或重新调整图像,然后重试。
It's not the file size but rather the image size (dimension) that exceeds Tesseract limits. I have no problems with Tesseract recognizing 16MB image. Try resize or rescale your image and try again.
相关问答
更多-
我的猜测是存在没有正确记录的GhostscriptException,并且这导致了NullPointerException: https://github.com/nguyenq/tess4j/blob/212d72bc2ec8b3a4d4f5a18f1eb01a0622fc5521/src/main/java/net/sourceforge/tess4j/util/PdfUtilities.java#L107 106 } catch (GhostscriptException e) { 10 ...
-
该错误表明您的培训失败=>您在培训期间忽略了一些错误消息。 That error indicates your training failed => you overlooked some error message during training.
-
与Tesseract路径错误(Path error with Tesseract)[2023-08-01]
从pytesseract github页面 tessdata_dir_config = '--tessdata-dir ""' # Example config: '--tessdata-dir "C:\\Program Files (x86)\\Tesseract-OCR\\tessdata"' # It's important to add double quotes around the dir path. pytessera ... -
具有iOS和Swift的Tesseract OCR返回错误或乱码(Tesseract OCR w/ iOS & Swift returns error or gibberish)[2023-05-13]
偶然发现了这个教程: http ://www.raywenderlich.com/93276/implementing-tesseract-ocr-ios 碰巧提到缩放图像。 他们选择最大尺寸为640.我将我的照片视为640x480,所以我认为我不需要缩放它们,但我认为这段代码基本上重绘了图像。 出于某种原因,现在我的照片OCR相当不错。 我仍然需要处理较小文本的图像处理,但它适用于大文本。 通过这个缩放功能运行我的图像,我很高兴。 func scaleImage(image: UIImage, max ... -
Tesseract 3.03编译错误:未在此范围内声明'select'(Tesseract 3.03 compile error: 'select' was not declared in this scope)[2022-03-07]
在这里找到了一个教程 如评论中所述: 尝试在“configure”文件中将“c ++ 11”替换为“gnu ++ 11”,然后重新运行此脚本。 I finally complete the compilation in a full Linux environment. -
如何处理Tesseract OCR 4.0 iOS Swift中的致命错误(How to handle Fatal Error in Tesseract OCR 4.0 iOS Swift)[2023-11-20]
UIImageView上的image是UIImage可选的,这意味着它可以有一个值(包含图像)或者它可以是nil 。 所以,当你说: let ocrSample = myImageView.image 你的ocrSample现在是一个UIImage可选项,然后你必须在使用它之前解开它。 当你说: tesseract.image = ocrSample!.fixOrientation().g8_blackAndWhite() 你用力展开你的ocrSample ! ,这意味着你告诉编译器只需打开并使用可选项 ... -
这不是文件大小,而是超过Tesseract限制的图像大小(尺寸)。 我用Tesseract识别16MB图像没有问题。 尝试调整大小或重新调整图像,然后重试。 It's not the file size but rather the image size (dimension) that exceeds Tesseract limits. I have no problems with Tesseract recognizing 16MB image. Try resize or rescale your ...
-
您需要tessdata\configs文件夹下的tessdata\configs文件。 You need the configs files under tessdata\configs folder.
-
要显示文本,您必须更改: ocr.Init(@"C:\Program Files (x86)\Tesseract-OCR", "eng", true); 至: ocr.Init(@"C:\Program Files (x86)\Tesseract-OCR", "eng", false); To get the text to display you have to change: ocr.Init(@"C:\Program Files (x86)\Tesseract-OCR", "eng", true) ...
-
Tesseract和Php ocr(Tesseract and Php ocr)[2022-02-20]
你应该尝试让它在没有PHP的情况下运行,也就是说,从ms windows CLI界面运行它(ms-dos提示符)。 之后,您只需将您在CLI中输入的内容放入PHP运行时,通过CLI或其他一些IPC机制运行它,最后使用PHP变量对其进行参数化。 例如,如果在CLI中您将会输入 ipconfig /all 要获得系统的IP配置,那么在PHP中,您只需使用: '; echo exec('ipconfig /all'); echo ''; 回到你的问题,如果你在CL ...