Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

multiple lines in button

 
saikrishna cinux
Ranch Hand
Posts: 689
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,

i need to display the button(Non Image) lable in 2 lines using css

i have some solutions(non-standard)
I googled for the solution but ain't getting the exact.


please help me out

here is my non-standard solutions




second solution is
placing this tag

 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64629
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by saikrishna cinux:
second solution is
placing this tag



Does this not work?
 
saikrishna cinux
Ranch Hand
Posts: 689
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Bear Bibeault:


Does this not work?


yes it worked fine

but i it's not a standar solution to use it because it is dependent on browser

any way i got one solution using css and div tag
but this is also providing some problem

div tag is like a layer in browser.
wheni am using this code i am able to see th ebutton with multiple lines(2 lines) but its overlapping on the other text


please help me out

here is my code



please provide me perfect solution if anybody worked previously on this issue.


thanks a lot in advance
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic