How to Center my content locker/pic?
2015-02-19, 05:08 PM,
#1
Hi,


I have a content locker ( thanks to cpaelites ) that i've linked to a pic. One click content.

The thing is, I want it to be in the center of the "site" let me show u.

http: //s23 . postimg . org/vrd6nzsij/dxsas.jpg ( remove spaces )

my code is :

PHP Code:
<img onclick="call_locker();" src="REMOVED LINK TO PIC" style="cursor: pointer;" width="400" />
<
script src="https://filedictation.com/script_include.php?id=200993" type="text/javascript"></script> 

How can I center this picture?? its all to the lefts and looks so unproffestional when all other pics are in center.... :(

Also, the pic is not visible on the " edit " in blogger so i cant change position.

any ideas what code i should use here to center this?

Im not a good coder!! so please explain


thx
Reply
2015-02-19, 05:57 PM,
#2
Try putting the <img> inside the div and put a text-align:center in it. Try to use the code below.
Quote:<div style="text-align:center"><img onclick="call_locker();" src="REMOVED LINK TO PIC" style="cursor: pointer;" width="400" /></div>
<script src="https://filedictation.com/script_include.php?id=200993" type="text/javascript"></script>

Let me know if it works buddy.
Latest Thanks - View all

zwyxel(2015-02-19 06:04 PM) 
Reply
2015-02-19, 06:04 PM,
#3
(2015-02-19, 05:57 PM)binsanity Wrote: Try putting the <img> inside the div and put a text-align:center in it. Try to use the code below.
Quote:<div style="text-align:center"><img onclick="call_locker();" src="REMOVED LINK TO PIC" style="cursor: pointer;" width="400" /></div>
<script src="https://filedictation.com/script_include.php?id=200993" type="text/javascript"></script>

Let me know if it works buddy.

OMG !!! how can i thank you!! jesus i was fighting with this for hours!!!! thank you so so so so much! everything is perfect now!! thanks again
Reply
2015-02-19, 08:23 PM, (This post was last modified: 2015-02-19, 08:23 PM by Pratik_.)
#4
Alternatively instead of div styles, you can also using image styling property like this:

Code:
<img onclick="call_locker();" src="REMOVED LINK TO PIC" style="cursor: pointer; text-align: center;" width="400" />
<script src="https://filedictation.com/script_include.php?id=200993" type="text/javascript"></script>

But yes, what binsanity suggested works great too! :)
Reply
2015-02-19, 09:57 PM, (This post was last modified: 2015-02-19, 10:01 PM by HazeXtreme.)
#5
(2015-02-19, 06:04 PM)zwyxel Wrote:
(2015-02-19, 05:57 PM)binsanity Wrote: Try putting the <img> inside the div and put a text-align:center in it. Try to use the code below.
Quote:<div style="text-align:center"><img onclick="call_locker();" src="REMOVED LINK TO PIC" style="cursor: pointer;" width="400" /></div>
<script src="https://filedictation.com/script_include.php?id=200993" type="text/javascript"></script>

Let me know if it works buddy.

OMG !!! how can i thank you!! jesus i was fighting with this for hours!!!! thank you so so so so much! everything is perfect now!! thanks again

Happy to hear that buddy.

(2015-02-19, 08:23 PM)Pratik. Wrote: Alternatively instead of div styles, you can also using image styling property like this:

Code:
<img onclick="call_locker();" src="REMOVED LINK TO PIC" style="cursor: pointer; text-align: center;" width="400" />
<script src="https://filedictation.com/script_include.php?id=200993" type="text/javascript"></script>

But yes, what binsanity suggested works great too! :)

I don't think this will work buddy. You need to put it inside div to make it center. Just putting an text-align:center in img tag will not work.
Reply
2015-02-19, 10:27 PM,
#6
(2015-02-19, 09:57 PM)binsanity Wrote:
(2015-02-19, 06:04 PM)zwyxel Wrote:
(2015-02-19, 05:57 PM)binsanity Wrote: Try putting the <img> inside the div and put a text-align:center in it. Try to use the code below.
Quote:<div style="text-align:center"><img onclick="call_locker();" src="REMOVED LINK TO PIC" style="cursor: pointer;" width="400" /></div>
<script src="https://filedictation.com/script_include.php?id=200993" type="text/javascript"></script>

Let me know if it works buddy.

OMG !!! how can i thank you!! jesus i was fighting with this for hours!!!! thank you so so so so much! everything is perfect now!! thanks again

Happy to hear that buddy.

(2015-02-19, 08:23 PM)Pratik. Wrote: Alternatively instead of div styles, you can also using image styling property like this:

Code:
<img onclick="call_locker();" src="REMOVED LINK TO PIC" style="cursor: pointer; text-align: center;" width="400" />
<script src="https://filedictation.com/script_include.php?id=200993" type="text/javascript"></script>

But yes, what binsanity suggested works great too! :)

I don't think this will work buddy. You need to put it inside div to make it center. Just putting an text-align:center in img tag will not work.
My bad yes, you are definitely correct. Text align works when used in a css style block but not here. :)

However <center> tags would work.

Thanks for correcting me!
Reply
2015-02-19, 10:37 PM,
#7
(2015-02-19, 05:57 PM)binsanity Wrote: Try putting the <img> inside the div and put a text-align:center in it. Try to use the code below.
Quote:<div style="text-align:center"><img onclick="call_locker();" src="REMOVED LINK TO PIC" style="cursor: pointer;" width="400" /></div>
<script src="https://filedictation.com/script_include.php?id=200993" type="text/javascript"></script>

Let me know if it works buddy.

wow i think you are good at html please add me on skype :)
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  How can I make a Mediafire content locker ? TheSillyHat 4 181 2017-12-02, 12:56 AM
Last Post: lizha11
  Content Locking Video walterzingo 8 344 2017-12-01, 03:47 PM
Last Post: CharlieHarper
  refer locker cpa grip CONNOR_JAMES 0 87 2017-11-23, 09:11 AM
Last Post: CONNOR_JAMES
  Which CPA network offers the best content locker (gateway)? Young Earner 7 389 2017-11-17, 08:55 PM
Last Post: sudipda
  Please tell me Network name for this Content locker TrailBlazer 1 147 2017-11-11, 10:25 PM
Last Post: DEADZ





About Us | Contact Us | CPA Elites | Advertise | Stats | Staff Team

© 2013-2017 CPA Elites Ltd
Enhanced by MyBB and WallBB
Return to top