O'Reilly logo

Python 3 Web Development Beginner's Guide by Michel Anders

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action styling the buttons

The work done by tasklist.js is mainly concerned with styling the<button> elements and adding tooltips and inline labels to<input> elements. The results so far are shown in the following screenshot:

Time for action styling the buttons

What just happened?

As can be seen in the first line of tasklist.js (code starts on the next page), the work to be done is scheduled after loading the complete document by passing it to jQuery's $(document).ready() function.

The first step is to add to any element with a header class the ui-widget and ui-widget-header classes as well. This will cause these elements to be styled in a way that is consistent with the chosen ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required