Pages: 1
Posted on 09-10-11, 09:55 pm
Fuzzy
Full mod

Karma: 1183
Posts: 176/785
Since: 06-28-11
I really don't like how quote boxes are handled in this board software. They work just fine, but for layout purposes they are hard to use.

- There aren't separate classes for the "Posted by" text and the actual quote itself.
- <hr>s are added, so if you don't want them, you have to change their visibility in your layout.
- Then if you actually want to have an <hr> in the quote it doesn't show up.

The code gets unnecessarily complex for this a quote box with separated title and content like this:
Posted by Sample quote
Sample

Quote

Posted on 09-10-11, 10:03 pm
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 9979
Posts: 831/4456
Since: 06-08-11
So, how would you suggest changing it?

If you come up with a great alternative I can probably apply it to the board
Posted on 09-10-11, 10:15 pm
Fuzzy
Full mod

Karma: 1183
Posts: 177/785
Since: 06-28-11
[quote=Quote poster]Quote text[/quote]
Should be converted to
&lt;div class="quote"&gt; <div class="header">Quote poster</div> <div class="content"> Quote text </div&gt;&lt;/div>

Or something similar to that, that doesn't involve <hr>s and allows separate styling of header and content.
Posted on 09-10-11, 10:40 pm
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 9979
Posts: 832/4456
Since: 06-08-11
Done!

div, classes: quote, quoteheader and quotecontent.
Here's the CSS that's applied to them by default

/* [Quote] stuff */ td.post div.quote { padding: 4px; margin-top: 4px; margin-bottom:4px; margin-left:50px; margin-right:10px; } td.post div.quote div.quotecontent { padding:4px; margin-top:4px; border-top: 1px solid white; border-bottom: 1px solid white; } td.post div.quote div.quoteheader { font-size:10px; font-style:italic; }

Posted on 09-11-11, 09:46 pm (rev. 1)
Fuzzy
Full mod

Karma: 1183
Posts: 178/785
Since: 06-28-11
Thanks!

All existing layouts will have to be slightly altered to take this into account, but it is a really simple change.
For anyone who wants to, just change "blockquote" to ".quote" in your layout.

Edit:
I just noticed a minor error with the quote boxes.

When viewing posts on the new reply page, they just show up as plain text. The styles aren't being applied to them for some reason.
Posted on 09-12-11, 01:04 pm
AxewAxew

Karma: 673
Posts: 52/583
Since: 07-02-11
Funfact: All your gripes about the normal ABXD quoteboxes can be fixed using clever CSS3 selectors.
Posted on 09-14-11, 05:11 pm
☭ coffee and cream


Karma: 10398
Posts: 119/2766
Since: 06-26-11
Clever CSS3 selectors that break under IE

Not like I'd care, tho. My whole layout must break like shit under IE. Like most layouts here.


But yeah. IDK why, but those <hr> tags feel old to me. And the quoteboxes are inspired from the AB1 ones so uh... new quoteboxes needed
_________________________
Kuribo64 - RH-fucking-cafe - Kafuka

zrghij
Posted on 09-15-11, 02:07 pm
Tananananana~ That's Life Experience!

Karma: 124
Posts: 137/170
Since: 07-18-11
Posted by Mega-Mario
Clever CSS3 selectors that break under IE


Seriously who uses that anymore...?
_________________________
~Tana-Chan~ Check out my YouTube channel! - Steam: Dark_FusionX

Posted on 09-15-11, 02:14 pm (rev. 2 by ImageBot on 11-21-16, 02:08 am)
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 9979
Posts: 861/4456
Since: 06-08-11
You're asking WHO uses IE? Well, 11% of our visitors use IE.
Yes, shit happens.

http://nsmbhd.net/get.php?id=105
Posted on 09-15-11, 02:16 pm (rev. 1 by ImageBot on 11-21-16, 02:08 am)
Tananananana~ That's Life Experience!

Karma: 124
Posts: 138/170
Since: 07-18-11
Posted by Dirbaio
You're asking WHO uses IE? Well, 11% of our visitors use IE.
Yes, shit happens.

http://nsmbhd.net/get.php?id=105

Permission to laugh?
_________________________
~Tana-Chan~ Check out my YouTube channel! - Steam: Dark_FusionX

Posted on 09-15-11, 02:22 pm (rev. 1 by ImageBot on 11-21-16, 02:08 am)
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 9979
Posts: 863/4456
Since: 06-08-11
Posted by Tana~
Posted by Dirbaio
You're asking WHO uses IE? Well, 11% of our visitors use IE.
Yes, shit happens.

http://nsmbhd.net/get.php?id=105

Permission to laugh?


Completely. That's what I did too when I saw that.
Pages: 1