Bug squishing time!

  • Thread starter Thread starter Sage
  • 42 comments
  • 1,993 views
Jordan
It should always be on the right. I'm guessing you're using faultless Firefox?
It shows up left-justified and centered in Safari too. I figured out why... it's not technically being shown as left-centered or justified, but simply not right-aligned enough to appear that way. You split that row into two table cells, the left one being an empty non-breaking space (unless the "NEW" image shows up), the other has the search box in it (well, and a nested table, but let's forget that for the moment).

By typing in <td align="right"> for the table cell that holds the search box's table, you're specifying that the table cell itself be aligned to the right, not the contents. To actually specify that the contents be right-aligned, you need to use CSS and specify text-align: right. However, IE always misinterprets the align attribute when enclosed within an actual tag, because it applies this to all descendent elements within that tag, which it's not supposed to do... it's supposed to just align the tag itself. CSS is supposed to be applied to descendants – tag attributes are not. And even though align would seem linked to CSS, it's not.

The point being, Gecko and Konqueror browsers left-align the contents of the table cell. Now, I would just tell you to specify text-align: right for that table cell, but you've also nested a table within that cell, so I dunno how that would play out (especially since nesting tables is not allowed in XHTML). Just experiment with that a bit.

Fixed. [regarding the banners]
Not quite... you still forgot to put a period between "gtplanet" and "net". ;)

I noticed that...can't figure out what's causing it. Any ideas? [regarding the wacky right-side]
Well, damn, there are a lot of tables to wade through, but I'll try to figure it out. ;)
 
I'm not sure if this is a bug or not... I was deleting some old PM Receipts and after deleting them the site proceeded to take me to the Forum Index instead of back to my PM Inbox/Control Panel. Is that supposed to happen?
 
Well, damn, there are a lot of tables to wade through, but I'll try to figure it out.
Yeah, I kinda got carried away with the tables a little bit. :O GTP7 will be sooooo simple in comparison... But for now, I am completely stumped. I've installed Firefox and tested it out myself, tried forcing in div tags in there, set every table and cell alignment that I possibly could, set text alignment in CSS, and searched Google as hard as I could, yet I still can't figure out why that is happening. Can you think of anything else that I could check?

Not quite... you still forgot to put a period between "gtplanet" and "net".
OK, now it's fixed for real. :D

I'm not sure if this is a bug or not... I was deleting some old PM Receipts and after deleting them the site proceeded to take me to the Forum Index instead of back to my PM Inbox/Control Panel. Is that supposed to happen?
I don't know about that, I'd say that's normal.
 
While browsing GTP tonight, I noticed a tiny little glitch. Apparently in firefox and IE, the search box that appears in different spots at the top of forum indexes and threads rather than being centered as it is supposed to be.

In Firefox, I've noticed that it is aligned slightly to the left rather than being centered when viewing a thread. However, when viewing a thread index, it is offset right aligned at the end of thread title column. In IE, it appears on the right side of my screen completely in threads and when viewing a thread.

Attached are pictures of where the search box appears in Firefox and IE.

Not a huge deal, but definately a noticeable little quirk. I'm surprised Sage hasn't said something about this one.
 

Attachments

  • FirefoxLeftaligned.JPG
    FirefoxLeftaligned.JPG
    11.8 KB · Views: 8
  • Firefoxthreadtitlerightaligned.JPG
    Firefoxthreadtitlerightaligned.JPG
    8.6 KB · Views: 10
  • IErightaligned.JPG
    IErightaligned.JPG
    10.8 KB · Views: 11
It seems like Sage did point that out, but I've forgotten to take care of it. Should be fixed now. :)
 
Jordan
It seems like Sage did point that out, but I've forgotten to take care of it. Should be fixed now. :)

Nope, it is still right aligned for me, and I use IE. I don't care if it is on the right, but if it is supposed to be centered, then it isn't working right. Personally, I think it looks fine aligned on the right.
 
Jordan
It seems like Sage did point that out, but I've forgotten to take care of it. Should be fixed now. :)

Nope, now it's right-aligned in forum indexes in both firefox and IE (I'm assuming this is the correct way it should be). However, in threads it is centered in firefox while it is right-aligned in IE.
 
HTML:
<td align="right">
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="smallfont">
<tr>
<td> <form action="search.php" method="post">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td title="nohilite" class="smallfont">
<input type="hidden" name="s" value="" />
<input type="hidden" name="do" value="process" />
<input type="hidden" name="searchthread" value="1" />
<input type="hidden" name="showposts" value="1" />
<input type="hidden" name="searchthreadid" value="44209" /><b>Search:</b> <input type="text" class="bginput_small" name="query" size="20" /><!-- go button -->
<input type="image" src="/i/f/go.gif" border="0" align="absbottom" />
</td>
</tr>

I think it is supposed to be aligned on the right. I don't see a </td> until after the search form.

EDIT: You can find a few files with my page source code here - http://xthost.info/gtp/

I saved it in multiple formats because the only one I could get to show up as plain text was the rich text file. The other files it kept trying to render the actual page, rather than showing the code.
 
Right alignment in all browsers was my goal. :)
 
What about auto image resizing for someone who posts a pic larger than the user's current horizontal res? It was a good feature on another forum I used to visit...

edit: I suppose this isn't really a bug, but I reckoned this was better than starting a new thread about it...
 
Jordan
Right alignment in all browsers was my goal. :)

Ok, this is an extremely weird bug. If there is an "View First Unread Post" link, then the search box is centered in FF. Otherwise, it is left aligned but not completely. Looking at the source code, I think that this may have to do with the fact that the table cell that contains the "View First Unread Post" link is empty when it is not there(ie using an &nsbp to clear it).
 
Matrixhasu77
Ok, this is an extremely weird bug. If there is an "View First Unread Post" link, then the search box is centered in FF. Otherwise, it is left aligned but not completely. Looking at the source code, I think that this may have to do with the fact that the table cell that contains the "View First Unread Post" link is empty when it is not there(ie using an &nsbp to clear it).
Oh, right, I guess that would be a problem if I don't remember to make the changes to showthread as well!! :dunce: :O Should be right-aligned all the time now, but I may have overlooked something so please point anything else out should you find it.
 
Back