Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: div class reputation nit

by jcb (Parson)
on Sep 15, 2020 at 02:04 UTC ( #11121779=note: print w/replies, xml ) Need Help??


in reply to div class reputation nit

Now this is a change I can support and a step in the right direction towards using <div> for layout. The next step is to move the inline style attributes to a linked stylesheet so we can have different stylesheets for screen display, hardcopy, and mobile.

Instead of inline style, there should be a "base" stylesheet with: (if I remember CSS correctly)

.reputation { text-align: center; margin: 0 auto; }

Replies are listed 'Best First'.
Re^2: div class reputation nit
by Lady_Aleena (Curate) on Sep 15, 2020 at 12:35 UTC

    Agreed. I should have been more explicit about where I wanted the style for those elements to go. I did not mean for the style to be inline. All styles need to be in the css file, so our personal styles can be applied.

    Edit: div.reputation is in the common.css already, so this could be added to it, though it shares its style definitions with span.modvote.

    My OS is Debian 10 (Buster); my perl versions are 5.28.1 local and 5.16.3 or 5.30.0 on web host depending on the shebang.

    No matter how hysterical I get, my problems are not time sensitive. So, relax, have a cookie, and a very nice day!
    Lady Aleena

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2021-03-03 18:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favorite kind of desktop background is:











    Results (87 votes). Check out past polls.

    Notices?