Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

5
LINES

< > BotCompany Repo | #1032610 // pLikeDiv - make HTML div tag that has margins like a <p>

JavaX fragment (include) [tags: use-pretranspiled]

Transpiled version (4239L) is out of date.

sS pLikeDiv(O contents, O... _) {
  ret div(contents, params_stylePlus(_, "margin-top: 1em; margin-bottom: 1em"));
}

sS pLikeDiv() { ret pLikeDiv(""); }

Author comment

Began life as a copy of #1002441

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1032610
Snippet name: pLikeDiv - make HTML div tag that has margins like a <p>
Eternal ID of this version: #1032610/4
Text MD5: 6ab8f18518b82943155bedb7847a2147
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-09-24 23:56:45
Source code size: 157 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 79 / 116
Version history: 3 change(s)
Referenced in: [show references]