SMF help :( - preCharge Forums
It shows that you are unregistered. Please register with us by clicking Here
preCharge Forums


Nav Green LeftNav Right
preCharge Forums > Website Design & Development > Programming » SMF help :(


Reply
Tcat Right
 
LinkBack Thread Tools Display Modes Tcat Right
Old 10-18-2006   #1 (permalink)
scoooooty
Senior Member
 
scoooooty's Avatar
 
Join Date: Aug 2006
Location: Victoria Australia
Age: 22
Posts: 360
Send a message via MSN to scoooooty
Default SMF help :(

I have been setting up a simple machines forum for one of my websites and I am having alot of trouble centering the menu with the rest of the forum.

The forum is located here: Mercness Enterprises Forum - Index

And this is the bit of code for the menu.

Code:
  <div class="menubar" style="width:780px";>
         <table border="0" cellspacing="0" cellpadding="0" width="100%">
            <tr>';
               // Show the menu here, according to the menu sub template.
                  template_menu();
      echo '
            </tr>
         </table>
      </div>
Any help greaty appreciated
__________________
www.tutocity.com - Free Website Templates And Tutorials - www.tutocity.com
scoooooty is offline   Reply With Quote


Old 10-18-2006   #2 (permalink)
GuyKels
Senior Member
 
Join Date: Oct 2006
Age: 22
Posts: 117
Default Re: SMF help :(

Why is the PHP codes and HTML codes mixed together? I don't work with SMF, but maybe you need to put the <? and ?> before and after the PHP code. Or, escape the quotes with a \.
GuyKels is offline   Reply With Quote

Old 10-18-2006   #3 (permalink)
Dana
Senior Member
 
Dana's Avatar
 
Join Date: Jul 2006
Location: Ontario, Canada
Posts: 1,198
Default Re: SMF help :(

Hey Scoooooty, I'm not sure how to answer this but you should join SMF Users Community and post your question there. That's a preCharge sponsored forum about SMF forums and there are a lot of smf webmasters there that share information.
Hope that helps,
Thanks,
Dana
__________________
Dana
~~~
"Do or do not. There is no try"-Yoda

The best forum ever:
http://www.precharge.net


http://feeds.feedburner.com/precharge.gif
Dana is offline   Reply With Quote

Old 10-18-2006   #4 (permalink)
Ajay
Senior Member
 
Ajay's Avatar
 
Join Date: Aug 2006
Age: 26
Posts: 755
Default Re: SMF help :(

@ scooty,

what is the menubar class in the stylesheet. Please post that
__________________
Ajay D'Souza

Techtites - Your daily dose of all things Tech!

MegaThemes | Sir Arthur Conan Doyle | I Sent This

WebberZone Domains
Ajay is offline   Reply With Quote

Old 10-18-2006   #5 (permalink)
m3talc0re
Senior Member
 
m3talc0re's Avatar
 
Join Date: Jul 2006
Location: Alabama, USA
Age: 25
Posts: 306
Send a message via ICQ to m3talc0re Send a message via AIM to m3talc0re Send a message via MSN to m3talc0re Send a message via Yahoo to m3talc0re
Default Re: SMF help :(

For one, is this your coding or the coding from that ugly ass DilberMC theme?

Code:
<div style="width: 100%; align="right" padding-top: 4px;" class="topbar2">
Should be:
Code:
<div style="width:100%;text-align:right;padding-top:4px;" class="topbar2">
As for your problem, try this:
Code:
<div style="width:100%;text-align:center;">
<div class="menubar" style="width:780px;">
         <table border="0" cellspacing="0" cellpadding="0" width="100%">
            <tr>';
// Shouldn't there be a containing div here?
// I know in the template files, the tab menu is started off with it's own table.
// Here, you've got like this:
// div/div/table/tr/table/tr/td/ which, that wont work.
               // Show the menu here, according to the menu sub template.
                  template_menu();
      echo '
            </tr>
         </table>
      </div>
</div>
__________________
"The real hell is your life gone wrong."
<---DONATIONS NEEDED, CLICK TO READ MORE--->
Quote:
Originally Posted by Dana View Post
oh no, you misunderstood me (stick your tongue back in, lol)...I found your post very informative but was referring to your first line only, hehee..
m3talc0re is offline   Reply With Quote

Old 10-19-2006   #6 (permalink)
scoooooty
Senior Member
 
scoooooty's Avatar
 
Join Date: Aug 2006
Location: Victoria Australia
Age: 22
Posts: 360
Send a message via MSN to scoooooty
Default Re: SMF help :(

lol thats what the DilberMC theme allready had. I dont find it that ugly though..

Im using it because it has the setup I am after, but im changing alot of it though.

thx for the help I will try it out.
__________________
www.tutocity.com - Free Website Templates And Tutorials - www.tutocity.com
scoooooty is offline   Reply With Quote

Old 10-19-2006   #7 (permalink)
scoooooty
Senior Member
 
scoooooty's Avatar
 
Join Date: Aug 2006
Location: Victoria Australia
Age: 22
Posts: 360
Send a message via MSN to scoooooty
Default Re: SMF help :(

It did work but only in Internet Explorer. It is to the left when veiwed in firefox..
__________________
www.tutocity.com - Free Website Templates And Tutorials - www.tutocity.com
scoooooty is offline   Reply With Quote

Old 10-19-2006   #8 (permalink)
m3talc0re
Senior Member
 
m3talc0re's Avatar
 
Join Date: Jul 2006
Location: Alabama, USA
Age: 25
Posts: 306
Send a message via ICQ to m3talc0re Send a message via AIM to m3talc0re Send a message via MSN to m3talc0re Send a message via Yahoo to m3talc0re
Default Re: SMF help :(

Wtf man... did the guy that made that theme not check it for bugs? I've noticed another coding error. This is in there, somewhere..
Code:
<table border="0" text-align:left; cellspacing="0" cellpadding="0" width="100%">
I don't know what to say about the firefox bug.
__________________
"The real hell is your life gone wrong."
<---DONATIONS NEEDED, CLICK TO READ MORE--->
Quote:
Originally Posted by Dana View Post
oh no, you misunderstood me (stick your tongue back in, lol)...I found your post very informative but was referring to your first line only, hehee..
m3talc0re is offline   Reply With Quote

Old 10-20-2006   #9 (permalink)
scoooooty
Senior Member
 
scoooooty's Avatar
 
Join Date: Aug 2006
Location: Victoria Australia
Age: 22
Posts: 360
Send a message via MSN to scoooooty
Default Re: SMF help :(

lol ok thankyou.
__________________
www.tutocity.com - Free Website Templates And Tutorials - www.tutocity.com
scoooooty is offline   Reply With Quote

Old 10-23-2006   #10 (permalink)
m3talc0re
Senior Member
 
m3talc0re's Avatar
 
Join Date: Jul 2006
Location: Alabama, USA
Age: 25
Posts: 306
Send a message via ICQ to m3talc0re Send a message via AIM to m3talc0re Send a message via MSN to m3talc0re Send a message via Yahoo to m3talc0re
Default Re: SMF help :(

Out of curiousity, try this:

Code:
<div class="hello" style="width:100%;text-align:center;">
		<div class="menubar" style="width:800px;">
Change to:
Code:
<div class="hello" style="text-align:center;">
		<div class="menubar" style="width:800px;">
Then see what happens.

Also remove the width: 100%; from the .menubar class in your style.css.
__________________
"The real hell is your life gone wrong."
<---DONATIONS NEEDED, CLICK TO READ MORE--->
Quote:
Originally Posted by Dana View Post
oh no, you misunderstood me (stick your tongue back in, lol)...I found your post very informative but was referring to your first line only, hehee..
m3talc0re is offline   Reply With Quote

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


footer left
All times are GMT. The time now is 04:58 AM.

DISCLAIMER: preCharge Risk Management is not responsible for any opinions, advice or comments expressed on the preCharge Community Forums.
preCharge® is a registered trademark of preCharge Risk Management | chargeback protection | Merchant Account Blog

Powered by vBulletin
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC6

Auto Loans | Mobile Phones | Loans | Image Hosting | Keeping Aquarium Fish

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49