Template issues with Kareha in Futaba mode (7)

1 Name: Anonymous : 2005-12-21 01:50 ID:UZyx3YVs [Del]

As I mentioned in the main W&K 3.0.0 thread, I had been making a number of modifications to Kareha's mode_image template and CSS to more closely resemble the current incarnation of Futaba. Many are also for trimming the script, so ultimately they're inconsequential or invisible. I feel I've made all the necessary changes in those respects, but there are still various issues in the final product that probably have more to do with wakautils and part of the main script as well.

Here's what it looks like right now: http://pyc.h8r.net/ (may contain questionable material)
template file: http://pyc.h8r.net/templates.txt
Futaba CSS: http://pyc.h8r.net/css/futaba.css

The four visible problems are:

  • The rules list is indented when it should be left-aligned and is too far from the rest of the "postarea" table.
  • Quotes are indented out of place compared to the rest of the post text. Also, I must have done something to remove styling of quoted text. :(
  • The reply table cells have too much space below the reply text.
  • The page list at the bottom of each main page has too much space at each vertical end, causing widget buttons to align at the top. Also, the list isn't as close to the final <hr /> element as it should be.

I noticed that the do_wakabamark and do_spans functions include certain HTML tags like ul, ol, li, p, pre, code, etc. I'm not very good with Perl (yet), but I'm aware that all these are probably for proper functionality, security, or robustness and as such I should not touch them.

So the dilemma is: can I remedy these issues without tearing necessary code out of the core scripts?

2 Name: !WAHa.06x36 : 2005-12-21 04:58 ID:/YBsw9Fz [Del]

Most of that sounds like CSS issues, or at least things you can fix by editing the CSS.

3 Name: Anonymous : 2005-12-21 10:40 ID:UZyx3YVs [Del]

>>2
I'm well aware of using margin and padding elements, but I was hoping for a way to remedy the above issues without the need for CSS hackery.

4 Name: !WAHa.06x36 : 2005-12-21 10:48 ID:/YBsw9Fz [Del]

Margins and paddings are different between HTML 4.0 and strict XHTML. There's already CSS hackery in futaba.css to more closely follow the original Futaba look.

5 Name: bbv : 2006-01-31 22:18 ID:X6cSX0zE (Image: 473x287 gif, 8 kb) [Del]

src/1138771115494.gif: 473x287, 8 kb

bbbbv

6 Name: !WAHa.06x36 : 2006-02-01 04:44 ID:Heaven [Del]

>>5 wins the Most Nonsensical Post award! GJ!

7 Name: Anonymous : 2006-02-12 10:21 ID:Heaven [Del]

I recently discovered that the issue with the space in the reply table cells was actually just a Firefox bug that was fixed in 1.5. :o

Name: Link:
Leave these fields empty (spam trap):
More options...
Verification: