• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Website

dydocan

dydocan
Joined
Jul 2, 2010
Messages
95
Reaction score
0
Hi, I have made a website who is linked to 2 websites but now I am making the buttons. Well I have made the buttons but I can't place the buttons they just show up on a random place how can I fix that? I want 1 button on the right side and 1 button on the left side but they just come up on a random place and I don't know how to fix that so somebody please help me>>

thanks in advance
 
Add the <a href~~> tags in a div form.

PHP:
<div align="left"><a href="page2.php>Text</a></div> <div align="right"><a href="page1.php>Text</a></div>

or try
PHP:
<div style="padding-left : 10px"><a href="page2.php></div>

Play bit with the vaules
 
well I have already made my on html code can you just tell me what I kind of have to change on to move the image to the right side here is my code>>

<a href="mywebsite" class="mywebsite" style="margin-right: 20px;">
<img src="main/tang.png" alt="mywebsite" />
 
Try add in style = padding-left: 10px(30px/100px/33%) and see how it looks like ( not margin :P )


HTML:
<div style="padding-left: 50px;">
<a href="mywebsite" class="mywebsite">
<img src="main/tang.png" alt="mywebsite" /> 
</a>
</div>
 
well this is working fine for me when I am doing this with 1 button but when I do this with 2 button it is messed up I can't control them what is wrong?

style="padding-left: 140px;"> is working fine no problem with that

style="padding-top: 140px;"> this is messed up i can't control it

I tried with this: style="padding-bottom: 140px;"> but that didn't work either

both style="padding-top: 140px;"> and style="padding-bottom: 140px;"> works fine until I do it with 2 buttons. when I only do it with 1 button no problem but when with 2 it's messed up
 
Back
Top