Advertisement:

Author Topic: Babylon theme: problem with the post table overstretching its boundary.  (Read 3775 times)

Offline Takeru ¥amamoto

  • Newbie
  • *
  • Posts: 6
I wasn't sure if this belonged somewhere in the Customizing SMF board or here, but since I didn't see any support threads in the Customizing SMF board, I decided to post here instead. If it belongs elsewhere, apologies in advance; feel free to move it to the correct board. ^^

I'm having a problem with the Babylon theme, and have been having this problem for quite a while now. When I modify the Babylon theme, the end result has a slight glitch in the thread index and within a thread, and I can't seem to figure it out.

Here are images of a thread, before and after modification of the Babylon theme (click on the images for an actual size view).

hxxp:img.photobucket.com/albums/v59/yamamoto114/Short%20Projects/Forum%20Posts/babylonboth.jpg [nonactive]

In case you don't see it, here is a zoomed-in view of the problem area.

hxxp:img.photobucket.com/albums/v59/yamamoto114/Short%20Projects/Forum%20Posts/babylonbeforeafter-1.jpg [nonactive]

As you can see, the table seems to overstretch its boundary. The border is missing from the posts index.

I've gone up the CSS stylesheet and compared it with the original Babylon style sheet (using a program that compares the CSS's line by line, too!), and I can't seem to figure out where the problem area lies. Has anyone else also had this problem before and figured out how to fix it? I have another friend of mine using SMF and he couldn't figure it out either.

Thanks in advance!
« Last Edit: March 27, 2008, 05:55:48 AM by Takeru ¥amamoto »

Offline Bulakbol

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,220
  • Gender: Male
  • JohnyB
Attach your Display.template.php and we'll take a look. Maybe a border="1" is needed.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Offline Takeru ¥amamoto

  • Newbie
  • *
  • Posts: 6
Here ya go. =)

Offline Bulakbol

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,220
  • Gender: Male
  • JohnyB
I'll take a look. I'll get back to you.

<EDIT>
Can't find anything wrong. I think it depends on the browser. It looks fine with opera and FF except IE. Try it.
</EDIT>
« Last Edit: March 27, 2008, 03:57:41 PM by JohnyB »
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Offline Takeru ¥amamoto

  • Newbie
  • *
  • Posts: 6
Well I'm using Firefox.

The only file I've edited thus far is the Style.css file. Can you go ahead and take a look at that and see if there's anything wrong?

Offline Bulakbol

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,220
  • Gender: Male
  • JohnyB
Here's a screencap using ff3b4, opera and maxthon (ie core). I think nothing is wrong.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Offline Takeru ¥amamoto

  • Newbie
  • *
  • Posts: 6
That's odd. Because it wasn't doing this before one of the more recent updates.

I'm pretty sure it's a problem, because it doesn't do that if I'm using the default Babylon theme without any changes to the CSS. The border is missing and the postbox background stretches past the header's border by a couple pixels.
« Last Edit: March 27, 2008, 11:51:35 PM by Takeru ¥amamoto »

Offline SleePy

  • Site Team Lead
  • SMF Master
  • *
  • Posts: 30,341
  • Gender: Male
  • Thats his happy face.
    • jdarwood007 on GitHub
    • @jdarwood on Twitter
    • SleePy Code - My personal site
It may be related to the different size image you are using for the topic icon.
to to change the size of the image to be a bit smaller or have the table it is in be a bit bigger.
Jeremy D — Site Team / SMF Developer
Support the SMF Support team!
Profiles:
GitHub