Author Topic: Fixing highlight alignment  (Read 11756 times)

0 Members and 1 Guest are viewing this topic.

Offline Sushi

  • Art Critic
  • 211
Fixing highlight alignment
The highlight alignment is all messed up on the main page, at least when using recent Firefox versions. You've probably noticed it: instead of the 4 highlights being on an even grid, the third and fourth ones are on their own rows.

An easy fix:

Update the .forum_highlights CSS class to have height: 11.5em and background-color: #222222. Looks much better.

I can't say how this affects Internet Explorer since it currently doesn't work on this system.

 

Offline headdie

  • i don't use punctuation lol
  • 212
  • Lawful Neutral with a Chaotic outook
    • Skype
    • Twitter
    • Headdie on Deviant Art
Re: Fixing highlight alignment
just had a look on mine and looks like it might be a global problem

Browser: Chrome
Resolution: 1280 x 960

[attachment deleted by admin]
Minister of Interstellar Affairs Sol Union - Retired
quote General Battuta - "FRED is canon!"
Contact me at [email protected]
My Release Thread, Old Release Thread, Celestial Objects Thread, My rubbish attempts at art

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: Fixing highlight alignment
That alignment issue has been around for ages.  JAD text is long pushing the entry below it down.  The easy fix is to either add space to the entry next to it to make it even or get the pitchforks and torches out after Axem until he comes up with a shorter description. 
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

Offline Sushi

  • Art Critic
  • 211
Re: Fixing highlight alignment
That alignment issue has been around for ages.  JAD text is long pushing the entry below it down.  The easy fix is to either add space to the entry next to it to make it even or get the pitchforks and torches out after Axem until he comes up with a shorter description. 

Or, we fix the page rendering to handle different text lengths more effectively...

 

Offline Shade

  • 211
Re: Fixing highlight alignment
Yes... Axem. Blame Axem.

Changed the text to unbreak the main page until this issue is resolved.
Report FS_Open bugs with Mantis  |  Find the latest FS_Open builds Here  |  Interested in FRED? Check out the Wiki's FRED Portal | Diaspora: Website / Forums
"Oooooooooooooooooooooooooooooooooooooooh ****ing great. 2200 references to entry->index and no idea which is the one that ****ed up" - Karajorma
"We are all agreed that your theory is crazy. The question that divides us is whether it is crazy enough to have a chance of being correct." - Niels Bohr
<Cobra|> You play this mission too intelligently.

 
 

Offline Goober5000

  • HLP Loremaster
  • 214
    • Goober5000 Productions
Re: Fixing highlight alignment
Or, we fix the page rendering to handle different text lengths more effectively...
This is the core issue.  The highlights will only line up correctly if they have the same height.  The height is determined by the number of lines of text in the highlight.  And unfortunately, the number of lines of text varies with screen resolution.

 

Offline Sushi

  • Art Critic
  • 211
Re: Fixing highlight alignment
Or, we fix the page rendering to handle different text lengths more effectively...
This is the core issue.  The highlights will only line up correctly if they have the same height.  The height is determined by the number of lines of text in the highlight.  And unfortunately, the number of lines of text varies with screen resolution.

With screen resolution? How? It may depend on your font size, but that's different. :) And if you use em sizes, you can be pretty independent of that too.

Another option is to render the highlights using tables (or divs acting like tables) instead of rendering them as an unordered list.

 

Offline NGTM-1R

  • I reject your reality and substitute my own
  • 213
  • Syndral Active. 0410.
Re: Fixing highlight alignment
And unfortunately, the number of lines of text varies with screen resolution.

You must mean something different, because then it would vary if I resized the window. Which it does not.
"Load sabot. Target Zaku, direct front!"

A Feddie Story

 

Offline Goober5000

  • HLP Loremaster
  • 214
    • Goober5000 Productions
Re: Fixing highlight alignment
It did for me.  Granted I didn't physically resize the window, I viewed it on another computer with a different resolution.

 

Offline Androgeos Exeunt

  • Captain Oblivious
  • 212
  • Prevents attraction.
    • Wordpress.com Blog
Re: Fixing highlight alignment
It looks fine on my end, or has it been fixedmodified already?

On a slightly related note, does any regular HLPer visit the main page anyway? I usually just jump to unread replies and navigate from there.

[attachment deleted by admin]
My blog

Quote: Tuesday, 3 October 2023 0133 UTC +8, #general
MP-Ryan
Oh you still believe in fairy tales like Santa, the Easter Bunny, and free market competition principles?

 

Offline headdie

  • i don't use punctuation lol
  • 212
  • Lawful Neutral with a Chaotic outook
    • Skype
    • Twitter
    • Headdie on Deviant Art
Re: Fixing highlight alignment
only have bookmarks for the forum and the wiki here, thing is though it's not realy for the benefit of those of us who are members already its really for the ppl looking for the FS2 community to give them a nice welcoming front from which they start to slowly navigate what the community has to offer
Minister of Interstellar Affairs Sol Union - Retired
quote General Battuta - "FRED is canon!"
Contact me at [email protected]
My Release Thread, Old Release Thread, Celestial Objects Thread, My rubbish attempts at art

 

Offline Satellight

  • 27
  • Star Dreamer
Re: Fixing highlight alignment
It looks fine on my end, or has it been fixedmodified already?

On a slightly related note, does any regular HLPer visit the main page anyway? I usually just jump to unread replies and navigate from there.

But before being regular users, we came here as guests  :D First page = first impression.

I remember mine was : How professionnal it looks !  :yes:
Never far away from HLP and from a computer with an installed FreeSpace.

 

Offline Shade

  • 211
Re: Fixing highlight alignment
It looks fine on my end, or has it been fixedmodified already?
I shortened the text in the highlight itself to unbreak the main page, at least for some resolutions. I don't think the actual issue has been dealt with, though.
Report FS_Open bugs with Mantis  |  Find the latest FS_Open builds Here  |  Interested in FRED? Check out the Wiki's FRED Portal | Diaspora: Website / Forums
"Oooooooooooooooooooooooooooooooooooooooh ****ing great. 2200 references to entry->index and no idea which is the one that ****ed up" - Karajorma
"We are all agreed that your theory is crazy. The question that divides us is whether it is crazy enough to have a chance of being correct." - Niels Bohr
<Cobra|> You play this mission too intelligently.

 

Offline Sushi

  • Art Critic
  • 211
Re: Fixing highlight alignment
It looks fine on my end, or has it been fixedmodified already?
I shortened the text in the highlight itself to unbreak the main page, at least for some resolutions. I don't think the actual issue has been dealt with, though.

Again, it's not about screen resolution. That's not going to affect this. Specific browsers may render it slightly differently, and different font settings will also move things around a bit.

As I pointed out earlier, a tabular layout (instead of a flow-based one) wouldn't have this problem. That's my favored solution for now, although I'd probably settle for increased awareness among whoever makes the highlights (test that page to make sure it looks right)!

  

Offline Goober5000

  • HLP Loremaster
  • 214
    • Goober5000 Productions
Re: Fixing highlight alignment
If someone posts an HTML patch, I'll add it to the main page.

 

Offline Androgeos Exeunt

  • Captain Oblivious
  • 212
  • Prevents attraction.
    • Wordpress.com Blog
Re: Fixing highlight alignment
I remember mine was : How professionnal it looks !  :yes:

My first impression of the main page was a website that's probably a lot larger than my first impression tells me (which it is).
My blog

Quote: Tuesday, 3 October 2023 0133 UTC +8, #general
MP-Ryan
Oh you still believe in fairy tales like Santa, the Easter Bunny, and free market competition principles?

 

Offline CommanderDJ

  • Software engineer
  • 210
Re: Fixing highlight alignment
Bump for great justice. This is apparently still a problem. Any progress on this?

[attachment deleted by admin]
[16:57] <CommanderDJ> What prompted the decision to split WiH into acts?
[16:58] <battuta> it was long, we wanted to release something
[16:58] <battuta> it felt good to have a target to hit
[17:00] <RangerKarl> not sure if talking about strike mission, or jerking off
[17:00] <CommanderDJ> WUT
[17:00] <CommanderDJ> hahahahaha
[17:00] <battuta> hahahaha
[17:00] <RangerKarl> same thing really, if you think about it

 

Offline Snail

  • SC 5
  • 214
  • Posts: ☂
Re: Fixing highlight alignment
All someone has to do is make the TVWP description a bit shorter.

 

Offline Goober5000

  • HLP Loremaster
  • 214
    • Goober5000 Productions
Re: Fixing highlight alignment
Any progress on this?

If someone posts an HTML patch, I'll add it to the main page.