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

3
LINES

< > BotCompany Repo | #1036633 // htablecenter - HTML center horizontally using table (similar to hfullcenter)

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

Libraryless. Click here for Pure Java version (10790L/59K).

1  
sS htablecenter(O contents, O... _) {
2  
  ret tag table(tr(td(contents, align := 'center, valign := 'top)), paramsPlus(_, width := "100%"));
3  
}

Author comment

Began life as a copy of #1011051

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): elmgxqgtpvxh, mqqgnosmbjvj, wnsclhtenguj

No comments. add comment

Snippet ID: #1036633
Snippet name: htablecenter - HTML center horizontally using table (similar to hfullcenter)
Eternal ID of this version: #1036633/2
Text MD5: 549473190f07dac7ecad2e8456b2af16
Transpilation MD5: 3f07b9dc3f571ae0a7d9167d4dd7e7b8
Author: stefan
Category: javax / html
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2023-07-14 23:58:29
Source code size: 142 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 121 / 174
Version history: 1 change(s)
Referenced in: [show references]