Welcome Guest, Not a member yet? Register   Sign In
How to create my own form of input
#1

Hello. I have a problem how to create proper form. This is my code without Codeigniter:

Code:
<div class="smallTile">
<a href="adminPanel.php" class="tilelink"><span class="glyphicon glyphicon-cog " ></span><br/>Settings</a>
</div>

Could someone help me out?
Reply
#2

(07-12-2015, 10:16 AM)Krisov333 Wrote: Hello. I have a problem how to create proper form. This is my code without Codeigniter:





Code:
<div class="smallTile">
<a href="adminPanel.php" class="tilelink"><span class="glyphicon glyphicon-cog " ></span><br/>Settings</a>
</div>

Could someone help me out?

Assuming that you are using bootstrap make sure you are linking bootstrap's main css file the right way.

Then try with one bootstrap native glyphicon first.

Follow bootstrap's documentation here http://getbootstrap.com/components/

It works fine on CI.

Something like this

Code:
<h2>Star Glyph</h2>

<p>Star icon: <span class="glyphicon glyphicon-star"></span></p>  

<p>Star icon as a link:
       <a href="#">
         <span class="glyphicon glyphicon-star"></span>
       </a>
</p>

<p>Star icon on a button:
       <button type="button" class="btn btn-default btn-sm">
         <span class="glyphicon glyphicon-star"></span> Star
       </button>
</p>

<p>Star icon on a styled link button:
       <a href="#" class="btn btn-info btn-lg">
         <span class="glyphicon glyphicon-star"></span> Star
       </a>
</p>
Reply
#3

(07-12-2015, 02:28 PM)Mel9pr Wrote:
(07-12-2015, 10:16 AM)Krisov333 Wrote: Hello. I have a problem how to create proper form. This is my code without Codeigniter:





Code:
<div class="smallTile">
<a href="adminPanel.php" class="tilelink"><span class="glyphicon glyphicon-cog " ></span><br/>Settings</a>
</div>

Could someone help me out?

Assuming that you are using bootstrap make sure you are linking bootstrap's main css file the right way.

Then try with one bootstrap native glyphicon first.

Follow bootstrap's documentation here http://getbootstrap.com/components/

It works fine on CI.

Something like this

Code:
<h2>Star Glyph</h2>

<p>Star icon: <span class="glyphicon glyphicon-star"></span></p>  

<p>Star icon as a link:
       <a href="#">
         <span class="glyphicon glyphicon-star"></span>
       </a>
</p>

<p>Star icon on a button:
       <button type="button" class="btn btn-default btn-sm">
         <span class="glyphicon glyphicon-star"></span> Star
       </button>
</p>

<p>Star icon on a styled link button:
       <a href="#" class="btn btn-info btn-lg">
         <span class="glyphicon glyphicon-star"></span> Star
       </a>
</p>

Agreed with Mel9pr, there might be an issue with your main CSS. Glyphicon is also a good option if that fails.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB