Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

<readmore> for [Anonymous Monk] renders with a background, how about only an outline?

by Anonymous Monk
on Jun 06, 2012 at 03:59 UTC ( #974632=monkdiscuss: print w/ replies, xml ) Need Help??

Hi

 <readmore> tags for Anonymous Monk renders with a background (#eee) how about only an outline?

Compare with background

 <readmore> tags for Anonymous Monk renders with a background (#eee) how about only an outline?

 <readmore> tags for Anonymous Monk renders with a background (#eee) how about only an outline?

With outline only

 <readmore> tags for Anonymous Monk renders with a background (#eee) how about only an outline?

 <readmore> tags for Anonymous Monk renders with a background (#eee) how about only an outline?

As an author of a node, I can understand wanting indication of what is in readmore tags, but as a reader of nodes I don't need that information -- does anyone?

A different background seems rather drastic (interferes with readability, esp in Tutorials ), I think outline is enough indication

Thanks

Comment on <readmore> for [Anonymous Monk] renders with a background, how about only an outline?
Select or Download Code
Re: <readmore> for [Anonymous Monk] renders with a background, how about only an outline?
by thomas895 (Friar) on Jun 06, 2012 at 07:41 UTC

    If it bothers you, change it in your CSS, by adding something like so:

    div.readmore { background-color: inherit; border: solid 1px #333; padding: 3px; /** Add a little space, or the line is against the f +irst and last character **/ }

    Of course, you must be a registered user for this to work.

    ~Thomas~
    confess( "I offer no guarantees on my code." );

      Of course, you must be a registered user for this to work.

      My suggestion was to edit /css/common.css and replace

      div.readmore {background-color: #eee;}
      with
      div.readmore { border: medium solid #000; }

      I'm using a similar CSS rule that adds a green bar on the left hand side of readmored content. Note that I'm using a black background with bright grey text the color might not work well on a bright background.

      div.readmore { background-color: transparent; padding-left: 2px; borde +r-left-width: 2px; border-left-color: #080; border-left-style: solid +}

      Here's a readmore and a snapshot of my whole user CSS.

Re: <readmore> for [Anonymous Monk] renders with a background, how about only an outline?
by Happy-the-monk (Monsignor) on Jun 06, 2012 at 13:07 UTC

    While I like your node, it looks good, seems to be well researched, is well reasoned, concise and well written;
    I also like the current behaviour of the site. I cannot find any compelling objective reason for this, but wouldn't mind not seeing it change.

    On the other hand, this is not a matter of importance, or is it?

    Cheers, Sören

        Whether or not visually distinguishing a <readmore> block is desirable or effective is, I think, a matter of personal taste and style settings.

        But as for why How (Not) To Ask A Question uses a <readmore> or why PerlMonks for the Absolute Beginner does not, there is actually no good reason to. Tutorials (of which those are two) never show <readmore> blocks collapsed as in other sections. The only possible effect is to give the block visual distinction (as is being argued in this thread). That being the only possible use, I would argue that one may as well use <table>s (or <div>s) to blockify one's writeup.

        I reckon we are the only monastery ever to have a dungeon stuffed with 16,000 zombies.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: monkdiscuss [id://974632]
Approved by kcott
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2014-04-20 12:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (485 votes), past polls