Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 35
0 members and 35 guests
No Members online
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
Online Degree - search for 1000+ online degrees, online colleges & online universities.
Tattoo - we are a group of tattoo enthusiasts

Go Back   Nukemods Forum > nukemods releases > Theme packs

Reply
 
LinkBack Thread Tools Display Modes
Centering the Logo in subBlack
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 3
Join Date: Aug 2006
Centering the Logo in subBlack - 08-14-2006, 03:12 PM

I'm having problems getting a logo to center up in the subBlack theme.

Here's the relevant code snip from header.html,

Quote:
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td bgcolor="#000000"><table width="100%" border="0" cellspacing="2" cellpadding="0">
<tr>
<td bgcolor="#212121"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="60%" height="85">[img]themes/subBlack/images/logo.jpg[/img] </td>
<td width="40%" height="85" align="right">$showbanners </td>
</tr>
</table></td>

The section that I believe should contain the logo if I want to center it is,

Quote:
<td bgcolor="#212121"><table width="100%" border="0" cellspacing="0" cellpadding="0">
That's the area of the page that spans the entire width of the top. However, if I place the image there and set align="center", it still appears at the left of the page.

Any ideas?
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
Junior Member
 
Status: Offline
Posts: 242
Join Date: May 2005
08-14-2006, 08:36 PM

try setting
<div align="center"> around the current html tags where the logo is.

Code:
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td bgcolor="#000000"><table width="100%" border="0" cellspacing="2" cellpadding="0">
<tr>
<td bgcolor="#212121"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="60%" height="85"><div align="center">[img]themes/subBlack/images/logo.jpg[/img] </div></td>
<td width="40%" height="85" align="right">$showbanners </td>
</tr>
</table></td>
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: Centering the Logo in subBlack
Old
  (#3 (permalink))
Super Moderator
 
Duke's Avatar
 
Status: Offline
Posts: 1,016
Join Date: Dec 2005
Location: Under your bed
Re: Centering the Logo in subBlack - 08-14-2006, 08:54 PM

Code:
<table width="100%" border="0" cellspacing="0" cellpadding="2">
  <tr>
    <td bgcolor="#000000"><table width="100%" border="0" cellspacing="2" cellpadding="0">
        <tr>
          <td bgcolor="#212121"><table width="100%" border="0" cellspacing="0" cellpadding="0">                                     
              <tr>
                <td width="60%" height="85">[img]themes/subBlack/images/logo.jpg[/img] </td>
                <td width="40%" height="85" align="right">$showbanners </td>
              </tr>
            </table></td>
Can you please provide a link to your website?

Personally, I'm a little confused with what your asking for here. Do you want a background image that spans the width of the header regardless of screen resolution <width="100%"> or are you simply trying to align a smaller image in the header?

This is just one possible example: If you are trying to align a smaller image in the center you will need to change this (assuming your not going to show banners):

Code:
<tr>
      <td width="60%" height="85">[img]themes/subBlack/images/logo.jpg[/img]</td>
      <td width="40%" height="85" align="right">$showbanners </td>
</tr>
TO

Code:
<tr>
     <td width="100%" height="85">[img]themes/subBlack/images/logo.jpg[/img]</td>
</tr>
What is the size of the image your trying to place and will it rez up cleanly depending on your users screen resolution?




My Daughter Rules!
  Send a message via AIM to Duke  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#4 (permalink))
Junior Member
 
Status: Offline
Posts: 3
Join Date: Aug 2006
08-15-2006, 11:21 AM

This is what I ended up doing to center the image.

Code:
<table width="100%" border="0" cellspacing="0" cellpadding="2">
  <tr>
    <td bgcolor="#000000"><table width="100%" border="0" cellspacing="2" cellpadding="0">
        <tr>
          <td bgcolor="#212121"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="100%" height="85" align="center">[img]themes/subBlack/images/logo.jpg[/img] </td>
                <td width="40%" height="85" align="right">$showbanners </td>
              </tr>
            </table></td>
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#5 (permalink))
Junior Member
 
Status: Offline
Posts: 13
Join Date: Sep 2006
10-06-2006, 02:53 PM

This code does not seem to work in subBlack3d. The second 40% cell removes the right side blocks from the rest of the page. Has anyone gotten this to work in that theme?
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Centering the logo in subBlack3dBlue theme shazymay2 Nuke 7.x - Themes 2 09-03-2006 12:24 PM
Centering a logo in the MidnightXP Theme princessmegi Site design 5 06-15-2005 09:13 PM
Centering Logo.jpg bucho Nuke 7.x - Themes 8 03-25-2005 11:09 AM
centering logo? Krutch Nuke 7.x - Themes 2 12-05-2004 06:52 PM
Logo help, subBlack Nyx Logo requests 6 11-30-2002 11:58 AM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.0

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