» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 63
0 members and 63 guests
No Members online
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
Web Hosting - web hosting, dedicated servers and web design services
Online Degree - search for 1000+ online degrees, online colleges & online universities.
tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas electricity - save on electric rates
buy Rimonabant - Help dieters achieve significant weight loss without having to slog in the gym

Register Now! Contact Us

About this Page
This is a discussion on Centering the Logo in subBlack within the Theme packs forums, part of the nukemods releases category; I'm having problems getting a logo to center up in the subBlack theme. Here's the relevant code snip ...



Go Back   Nukemods Forum » nukemods releases » Theme packs

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-14-2006, 03:12 PM
Junior Member
 
Join Date: Aug 2006
Posts: 3
Centering the Logo in subBlack
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
  #2 (permalink)  
Old 08-14-2006, 08:36 PM
Junior Member
 
Join Date: May 2005
Posts: 242
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>
__________________
http://www.barefootski.com/nuke/Attempt.gif
Education is the discovery of our ignorance
READ THIS!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 08-14-2006, 08:54 PM
Duke's Avatar
Super Moderator
 
Join Date: Dec 2005
Location: Under your bed
Posts: 998
Send a message via AIM to Duke
Re: Centering the Logo in subBlack
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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 08-15-2006, 11:21 AM
Junior Member
 
Join Date: Aug 2006
Posts: 3
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
  #5 (permalink)  
Old 10-06-2006, 02:53 PM
Junior Member
 
Join Date: Sep 2006
Posts: 13
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


All times are GMT -5. The time now is 07:47 PM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.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