ColdK Posted October 24, 2008 Share Posted October 24, 2008 Hi I Done My Own Header With 2 Menus But Im Troubled With One Thing You See The Way The <hr> is the only all the way to the right how do i do it all to the left aswell ? i want it so its all taken all the space in the middle so it hasnt got that unused space on the laft Quote Link to comment Share on other sites More sharing options...
ColdK Posted October 24, 2008 Author Share Posted October 24, 2008 Re: Header ? see the way its out of pace in the game content ? Quote Link to comment Share on other sites More sharing options...
Solid Snake Posted October 24, 2008 Share Posted October 24, 2008 Re: Header ? try adding a new one like this im not sure if it works but its worth a shot <left><hr></left> <right><hr></right> like i said im not sure if it will work and also im ONLY JUST learning html so im not just sure how you put left and right justify but give it a shot :D Quote Link to comment Share on other sites More sharing options...
Solid Snake Posted October 24, 2008 Share Posted October 24, 2008 Re: Header ? oh and another thing you could also attempt to table it and use <centre></centre> tags to do it :D Quote Link to comment Share on other sites More sharing options...
ColdK Posted October 24, 2008 Author Share Posted October 24, 2008 Re: Header ? here is the main center content print <<<OUT <center> [img=title.jpg] <table width=100% border=0 class=table> <tr> <th wdith=50%>[url="donator.php>Donate</a></th>"]<a href=voting.php>Vote[/url]</th> </tr> </table> <center><table width="100%" border="0" cellpadding="0" cellspacing="0"></center> <tr> <td width="25%" valign="top"> OUT; if($ir['fedjail']) { $q=$db->query("SELECT * FROM fedjail WHERE fed_userid=$userid"); $r=$db->fetch_row($q); die("[b]<font color=red size=+1>You have been put in the {$set['game_name']} Federal Jail for {$r['fed_days']} day(s). Reason: {$r['fed_reason']}</font>[/b]</body></html>"); } if(file_exists('ipbans/'.$IP)) { die("[b]<font color=red size=+1>Your IP has been banned from {$set['game_name']}, there is no way around this.</font>[/b]</body></html>"); } } can anyone try to get it to use all the space that is needed and center Quote Link to comment Share on other sites More sharing options...
Solid Snake Posted October 24, 2008 Share Posted October 24, 2008 Re: Header ? hmmm you could try this print <<<OUT <center> [img=title.jpg] <table width=100% border=0 class=table> <tr> <th wdith=50%>[url="donator.php>Donate</a></th>"]<a href=voting.php>Vote[/url]</th> </tr> </table> <center><table width="100%" border="0" cellpadding="0" cellspacing="0"></center> <tr> <td width="25%" valign="top"> OUT; if($ir['fedjail']) { $q=$db->query("SELECT * FROM fedjail WHERE fed_userid=$userid"); $r=$db->fetch_row($q); die("[b]<font color=red size=+1>You have been put in the {$set['game_name']} Federal Jail for {$r['fed_days']} day(s). Reason: {$r['fed_reason']}</font>[/b]</body></html>"); } if(file_exists('ipbans/'.$IP)) { die("[b]<font color=red size=+1>Your IP has been banned from {$set['game_name']}, there is no way around this.</font>[/b]</body></html>"); } }</centre> If not try this print <<<OUT [img=title.jpg] <table width=100% border=0 class=table><centre> <tr> <th wdith=50%>[url="donator.php>Donate</a></th>"]<a href=voting.php>Vote[/url]</th> </tr></centre> </table> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="25%" valign="top"> OUT; if($ir['fedjail']) { $q=$db->query("SELECT * FROM fedjail WHERE fed_userid=$userid"); $r=$db->fetch_row($q); die("[b]<font color=red size=+1>You have been put in the {$set['game_name']} Federal Jail for {$r['fed_days']} day(s). Reason: {$r['fed_reason']}</font>[/b]</body></html>"); } if(file_exists('ipbans/'.$IP)) { die("[b]<font color=red size=+1>Your IP has been banned from {$set['game_name']}, there is no way around this.</font>[/b]</body></html>"); } } Quote Link to comment Share on other sites More sharing options...
ColdK Posted October 24, 2008 Author Share Posted October 24, 2008 Re: Header ? 1st one error and 2nd one it centerd eveything except the game content if any one fixes this i will give them $20 Quote Link to comment Share on other sites More sharing options...
Solid Snake Posted October 24, 2008 Share Posted October 24, 2008 Re: Header ? getting there the reason its centered everything is because the centre function wasnt used properley :D let me try again print <<<OUT [img=title.jpg] <table width=100% border=0 class=table> <tr> <th wdith=50%>[url="donator.php>Donate</a></th>"]<a href=voting.php>Vote[/url]</th> </tr> </table> <table width="100%" border="0" cellpadding="0" cellspacing="0"><centre> <tr> <td width="25%" valign="top"> OUT; if($ir['fedjail']) { $q=$db->query("SELECT * FROM fedjail WHERE fed_userid=$userid"); $r=$db->fetch_row($q); die("[b]<font color=red size=+1>You have been put in the {$set['game_name']} Federal Jail for {$r['fed_days']} day(s). Reason: {$r['fed_reason']}</font>[/b]</body></html>"); } if(file_exists('ipbans/'.$IP)) { die("[b]<font color=red size=+1>Your IP has been banned from {$set['game_name']}, there is no way around this.</table></font>[/b]</centre></body></html>"); } } Quote Link to comment Share on other sites More sharing options...
Solid Snake Posted October 24, 2008 Share Posted October 24, 2008 Re: Header ? i added a table end to it as it had <table blah blah> but no </table> Quote Link to comment Share on other sites More sharing options...
Tezza` Posted October 24, 2008 Share Posted October 24, 2008 Re: Header ? Try reducing the size on the left mainmenu and it should go all the way across. Quote Link to comment Share on other sites More sharing options...
radio_active Posted October 24, 2008 Share Posted October 24, 2008 Re: Header ? Yeah as tezza said, i think you reduce this bit. <table width="100%" border="0" cellpadding="0" cellspacing="0"><centre> <tr> <td width="[b]25%[/b]" valign="top"> Either that or increase the size of your right menu Quote Link to comment Share on other sites More sharing options...
Silver Posted October 24, 2008 Share Posted October 24, 2008 Re: Header ? yea as the other guys said you need to reduce the left column width a bit so it's exactly the same width as the menu heading images - it should work then Quote Link to comment Share on other sites More sharing options...
John1 Posted October 24, 2008 Share Posted October 24, 2008 Re: Header ? Yeah as tezza said, i think you reduce this bit. <table width="100%" border="0" cellpadding="0" cellspacing="0"><centre> <tr> <td width="[b]25%[/b]" valign="top"> Either that or increase the size of your right menu where you find <table width="100%" border="0" cellpadding="0" cellspacing="0"> go and add in align=centre after <table <table align=center width="100%" border="0" cellpadding="0" cellspacing="0"> this should work as i have used it on games that i run which had the same problem Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.