[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vip /vp / vr / w / wg / wsg / wsr / x / y ] [Search | Home]
4Archive logo
I need some custom CSS to make 4chan X wrap...
If images are not shown try to refresh the page. If you like this website, please disable any AdBlock software!

You are currently reading a thread in /wsr/ - Worksafe Requests

Thread replies: 6
Thread images: 1
File: 1431754233452.png (494 KB, 1990x873) Image search: [iqdb] [SauceNao] [Google]
1431754233452.png
494 KB, 1990x873
I need some custom CSS to make 4chan X wrap long posts down to 75% width. Should look like pic related afterwards.
>>
>>42319
That isn't your screenshot?
>>
>>42319
Try this:

div.postContainer.opContainer /*opening post*/
{
display: inline-block !important;
width: 100% !important;
}

div.thread div.reply /*replies in thread*/
{
display: inline-block;
width: 50%;
vertical-align: top;
word-wrap: break-word;
}
>>
>>42327

Oops you said 75%, try this instead:

div.postContainer.opContainer /*opening post*/
{
display: inline-block !important;
width: 75% !important;
word-wrap: break-word; /*guess what this does*/
}

div.thread div.reply /*replies in thread*/
{
display: inline-block;
width: 75%;
vertical-align: top;
word-wrap: break-word;
}
>>
>>42325
It is my screenshot. If you're confused about the filename, it's a setting in 4chan X.

>>42328
Cheers mate. How the hell did you figure out what the individual divs were?
>>
>>42334
You don't know how to identify website elements?
Thread replies: 6
Thread images: 1
Thread DB ID: 466157



[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vip /vp / vr / w / wg / wsg / wsr / x / y] [Search | Home]

[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vip /vp / vr / w / wg / wsg / wsr / x / y] [Search | Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the shown content originated from that site. This means that 4Archive shows their content, archived. If you need information for a Poster - contact them.
If a post contains personal/copyrighted/illegal content, then use the post's [Report] link! If a post is not removed within 24h contact me at [email protected] with the post's information.