Jump to the post that solved this thread.
Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 11 Years, 1 Week ago CodeBlock max-width
#1
Solved: 11 Years, 1 Week ago
How to make codeblock not to go beyond postbit post width?

I have added max-width: 99%; to .codeblock code but PHP code is not affected?????
#2
Solved: 11 Years, 1 Week ago
<snip>

Real Kenny does the real magic below Big Grin
#3
Solved: 11 Years, 1 Week ago
What should I do with this code please how it works???? How to add it to my theme?
#4
Solved: 11 Years, 1 Week ago
Simply add this to your codeblock class in the global.css

word-break: break-word;
Regards from Germany
#5
Solved: 11 Years, 1 Week ago
.codeblock {
	background: #fff;
	border: 1px solid #ccc;
	padding: 4px;
	word-break: break-word;
}

Doesn't make any difference!

Hold on this one works!!!

word-break: break-all

@effone thanks baby for your help
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)