EasyUI Forum
September 13, 2025, 02:15:23 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: linkbutton specific size  (Read 7577 times)
JeroenNL
Newbie
*
Posts: 37


View Profile
« on: July 17, 2015, 03:26:26 AM »

Hi,

I need my linkbuttons to be of a specific size: 70px width. I have no icons. Text needs to be centered. How can I achieve this?

Cheers,
Jeroen
Logged
battlezad
Newbie
*
Posts: 44


View Profile
« Reply #1 on: July 17, 2015, 03:48:30 AM »

<a href="#" class="easyui-linkbutton" data-options="width:70">Button</a>
Logged
JeroenNL
Newbie
*
Posts: 37


View Profile
« Reply #2 on: July 17, 2015, 04:36:54 AM »

Thanks for that, but I'm afraid that won't do the trick. Small text doesn't center vertically and larger text doesn't center horizontally. Give a try. It seems there's some padding on the left?
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!