Buttons


Documentation

To implement the Ionco button on the webpage, you must have the webpage document in HTML5.

The CSS style button file is inserted in the head tag at the top of the webpage document.

The Ionco button is styled with CSS style, the Ionco button file can be styled to your liking, you can change the button (size, fonts, colors and position) of the button on the web page.


View the position of the CSS style file in the webpage document


Good to know: The Ionco button has the position set on the webpage, for example the {margin-top: 150px;} button, or the {margin-left: 15px;} button.

To position the button to the (left, center and right) of the web page, please follow the tutorial documentation.

The Java Script button of the Ionco button is implemented in the head tag of the web page under the CSS style tag to work correctly.

If the Java Script file does not work on your site page, please check carefully that you have copied the Java Script file correctly.

In some cases, Java Script files may still work in the body tag on other web pages.


View the position of the Java Script file in the web page document


The Ionco button HTML file is implemented in the body tag, this is the body of the web page where the HTML files are inserted.

Example: file the button below: 


View the full button Ionco file


How do I change the position of the Button on the web page?

Users and even novice programmers often wonder if they have problems with positioning applications on the webpage. As everything seems to be an enigma, there is still a solution to all these problems.

The positioning of the button on the web page can be done (on the left, in the center and on the right) of the web page.


Good to know: To position the button on the web page we will use a programming file in Bootstrap, insert the file in the head tag of the web page, see the example below.


View file positioning in head tag: meta name/ link rel/ script src


Position the Bootstrap file in the header tag

We will create a (div class="container-fluid") file in three columns for positioning the button on the web page, for example (div class="col-lg-4").

These columns may change depending on (the size) of the button you want to change, for example (div class="col-lg-4"), or (div class="col-lg-6"), or (div class="col-lg-2").


Good to know: To make the button work properly, enter the (div class= "container-fluid") file in the body tag on the webpage.


View file container-fluid


Create the full button file in Bootstrap

If you look closely at the CSS style file in the button tag, the {margin-top: 100px;} or {margin-left: 15px;} properties are no longer present.

The {margin-left: 15px;} property will be permanently removed from the button tag and CSS style file.

I inserted the button file in (div class="container-fluid") on the middle column (div class="col-lg-4").

In the (div class="container-fluid") file you can also position the application to (the left or right) by entering the button file in (div class="col-lg-2").

Good to know: Creates a (div class="row") then add the desired number of columns, for example tags (div class="col-lg-4").

Note that numbers in columns are (written up to 12 numbers per row).

You can create different width columns for (mobile phones, tablets, and very large desktops).


View the complete file with the button positioning in the Bootstrap