GregFest Posted March 9, 2011 Posted March 9, 2011 i have a question, i am woundering how one would put the engery, exp and such bars up top next to the banner, i have try to do some my self and once again i failed at this part, if anyone could help i would really appreciate it once again i thank the mwg members. Quote
Kieran-R Posted March 9, 2011 Posted March 9, 2011 You should look at a few CSS tutorials. Once you know CSS to a decent extent, then doing this would be no problem. Quote
sniko Posted March 9, 2011 Posted March 9, 2011 I see where you could be going wrong as (No offence intended) the header is a little to much and 'structured' as such. But take Kieran-R's advice :) -sniko Quote
Maniak Posted March 9, 2011 Posted March 9, 2011 You don't really need CSS, as you could do it with a Simple HTML table.. Quote
GregFest Posted March 9, 2011 Author Posted March 9, 2011 i tried the whole html table and, all my bars ended up on one side and words on other Quote
Maniak Posted March 9, 2011 Posted March 9, 2011 This is VERY basic, could be modified in several different ways... <?php echo '<table width="100%"><tr> <td width="25%"> <table width="100%"><tr> <td>[b]Username:[/b] '.stripslashes($ir['username']).' Keep adding and then the info you want here</td> </tr></table> </td><td width="50%"> [img=images/mainLogo.jpg] </td><td width="25%"> <table width="100%"><tr> <td>[b]Energy:[/b] [img=greenbar.png][img=redbar.png] Keep adding and then the bars you want here</td> </tr></table> </td></tr> </table>'; ?> You probably don't need the <table> within the <td> tags, but, it's just an example :).. Hope this helped :). Quote
GregFest Posted March 10, 2011 Author Posted March 10, 2011 thank you so much i was on the track just was missing all </tr></table> </td><td width="50%"> Quote
lucky3809 Posted March 10, 2011 Posted March 10, 2011 css is better imo. all you would have need to add was class='blah' to the bar img tag or put the class in a tag... Quote
Maniak Posted March 10, 2011 Posted March 10, 2011 Agreed, lucky3809.. I was explaining how to do it by way of a Table.. Feel free to show him how to do it by CSS :) Quote
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.