phpBBHacks.com - Trying to build a new menu, need help with css. Please
Talk martial arts at KarateForums.com
StatsForums Home   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in
FAQFAQ   SearchSearch   MemberlistMemberlist   TutorialsTutorials   ContactContact Us
Username:    Password:
Remember Me?    
   I Lost My Password!
Bookmark and Share
Post new topic   Reply to topic    phpBBHacks.com Support Forums Forum Index -> phpBB 2 Template and Design Support
 See a User Guidelines violation? Please contact us.
Author Message

hyperionx
New User

Joined: 07 Nov 2006
Posts: 3

PostPosted: April 16th 2010, 1:09 pm    Post subject: Trying to build a new menu, need help with css. Please Reply with quote

Alright so I have a phpbb2 forum that is bridged with coppermine photo gallery. So I thought I'd made a menu that looks the same on both pages. Easier said than done it seems.

The table seem to have some sort of padding on the top on phpbb2 and not on coppermine. I'm guessing that its something in the css because it seems that more tables on the forum have the same look.
I want to do something about it. I'd rather leave everything be except for that table for the menu but changing them all would ba an option aswell. I just want the menus to look the same.

I want to turn this:
http://i43.tinypic.com/mltkdy.jpg
Into this:
http://i44.tinypic.com/fdhziw.jpg

I used the same code for both pages:
Code:
<table width="852px" border="0" align="center" cellpadding="2" cellspacing="0">

<td valign="top" style="border: 1px solid #666666;background-color:#d1d7dc;">
         
      &nbsp;&nbsp;<a href="../index.php" class="mainmenu"><b>Forum</b></a>&nbsp;&nbsp;<a href="index.php" class="mainmenu"><b>Bildgalleri</b></a>&nbsp;&nbsp;<a href="../garage.php" class="mainmenu"><b>Garage</b></a>&nbsp;&nbsp;<a href="../cal_lite.php" class="mainmenu"><b>Kalender</b></a>&nbsp;&nbsp;<a href="../kontakt.php" class="mainmenu"><b>Kontakt</b></a>&nbsp;&nbsp;
           
   </td>
        </table>


Yeah I know it might be ugly but I'm a newbie. That is why I desperately need your help.
Is there anything I can do about this?
Back to top
View user's profile Send private message

Dogs and Things
Well Known User

Joined: 11 Sep 2006
Posts: 189

PostPosted: April 16th 2010, 1:45 pm    Post subject: Reply with quote

In the code you posted I notice you forgot to add <tr></tr>.
You code should look like
Code:
<table width="852px" border="0" align="center" cellpadding="2" cellspacing="0">
   <tr>
      <td valign="top" style="border: 1px solid #666666;background-color:#d1d7dc;">
         &nbsp;&nbsp;<a href="../index.php" class="mainmenu"><b>Forum</b></a>&nbsp;&nbsp;<a href="index.php" class="mainmenu"><b>Bildgalleri</b></a>&nbsp;&nbsp;<a href="../garage.php" class="mainmenu"><b>Garage</b></a>&nbsp;&nbsp;<a href="../cal_lite.php" class="mainmenu"><b>Kalender</b></a>&nbsp;&nbsp;<a href="../kontakt.php" class="mainmenu"><b>Kontakt</b></a>&nbsp;&nbsp;
      </td>
   </tr>
</table>


I donīt know if that will fix your issue but it is the first thing you should change.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    phpBBHacks.com Support Forums Forum Index -> phpBB 2 Template and Design Support All times are GMT - 6 Hours
Page 1 of 1
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Links: Big Message Boards - Free JavaScript - phpBB2 - phpbb styles - Suporte phpBB - phpBB Česky - phpBB Turkiye - phpBBArabia.com - phpBB-fr.com - Romanian phpBB online community - phpBB-TW.net - phpBBservice.nl - phpBB Brasil - phpBB Portugal - phpBBpersian.com

Network: iFroggy Hosting - PhotoshopForums.com - Managing Online Forums - ManagingCommunities.com - CommunityAdmins.com - KarateForums.com - Bad Boy Blog - SodaRatings.com - Patrick O'Keefe

< Advertising - Contact Us - Disclosure Policy - Staff - User Guidelines >

Copyright © 2001-2012. iFroggy Network, phpBBHacks.com. All Rights Reserved. Privacy Policy. We Support phpBBHacks.com (of course!).
Powered by phpBB © phpBB Group. phpBB SEO. We are in no way affiliated with the phpBB Group. phpBB is copyright to the phpBB Group.