Solve the problem that SyntaxHighlighter Code does not wrap, syntaxhighlighter
Friends who use SyntaxHighlighter syntax to highlight plug-ins may have encountered the problem of code display without line breaks. This problem cannot be found on the Internet and has been bothering me for a long time, today we have solved it. The solution is actually simple. Let's talk about how to solve it. Frontend Resource Sharing
Open the shcoredefault.css file, find the definition of. syntaxhighlighter textarea, and add word-break: break-all! Important; it's OK, which means to force line feed display of the Code.
The line feed problem in the webpage code, but does not want to change it all the time
You have two questions :,
Layer 1 layer1is only pxs wide, and logo1.gif is also so wide, you add a picture behind it, the width is not enough, of course, it is squeezed down. It is like a row where no one can stand for two people, and the other can only stand behind
2.html labels, such as img, div, and table, are not in the same row by default. If you want to walk in the same row, you have to change.
Let me change it:
<Div id = "Layer1" style = "position: absolute; width: 400px; height: 75px; z-index: 1; left: 78px; top: 0px;">
<A href = "index. php">
</A>
</Div>
Does html not wrap code?
CSS is generally used to define a line break.
For example
<Div class = "f"> I don't wrap, I don't wrap line feed </div>
<Style>
. F
{
White-space: nowrap;
}
</Style>