Sign Up for OSTraining

Welcome, Guest
Username: Password: Remember me

TOPIC: Make an HTML login link a button or text

Make an HTML login link a button or text 1 year 3 weeks ago #47443

  • arosscpa
  • arosscpa's Avatar
  • OFFLINE
  • OSTarlet
  • Posts: 48
  • Karma: 0
Another person on this projects wants to free up the space presently taken up by the CB Login module on the home page. I have figured how to put the HTML link in a position at the top or the template. Now I want to turn the raw html into "pretty" text or a button. Can some one point me in the right direction? My site is www.fihf.org.

(Given this question, should I do the template course next, or the HTML and CSS courses next?)

Thanks,

Allen Ross
Please become a member of OSTraining to reply to this post.

Make an HTML login link a button or text 1 year 3 weeks ago #47462

  • Nick
  • Nick's Avatar
  • OFFLINE
  • Administrator
  • Posts: 17179
  • Thank you received: 444
  • Karma: 63
Hi Allen,

A really easy way is to just add a button class to the <a> tag and allow your template to control it. For example:
<a class="button" href="/component/comprofiler/registers.html">Please Login or Register</a>

You could do either the Template course or the HTML and CSS courses next :)

Kind regards,
Nick
Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

Sign Up for OSTraining

Copyright 2013 Open Source Training, LLC. All rights reserved.