Help - Search - Members - Calendar
Full Version: Portal news posts
Hydrogenaudio Forums > Hydrogenaudio Forum > Site Related Discussion
Garf
Currently, news posts on the portal page are all the same size.

For news posts consisting of 2-3 lines, this causes a huge waste a space, leaving me to watch a page with 3 lines of text, surrounded by huge white boxes.

When a news post doesn't reach the maximum box size, the boxes should shrink.
dev0
I think the overall screen economy of IPB2 is somewhat suboptimal.
Dibrom
QUOTE(Garf @ Oct 2 2004, 02:47 PM)
Currently, news posts on the portal page are all the same size.

For news posts consisting of 2-3 lines, this causes a huge waste a space, leaving me to watch a page with 3 lines of text, surrounded by huge white boxes.

When a news post doesn't reach the maximum box size, the boxes should shrink.
*



Problem is that it's difficult to code something like this cleanly -- i.e., without ugly hacks that break certain browsers and don't work right in certain cases.

CSS has a max-width attribute, but I don't know about max-height. That would be an ideal solution if it exists, except that IE doesn't bother to support it (max-width that is, I assume it'd be the case if there is a max-height too).

The remaining solution would be to use javascript (hack) or to do the sizing at the php level dependent upon the number of characters and some fixed or estimated width (ugly).

I could just change it back to the way it used to work, but I like the current solution better for longer news posts.

Edit: Maybe a good compromise would be to just shrink the standard height.
gorgekko
> I think the overall screen economy of IPB2 is somewhat suboptimal.

Have you ABXed this statement? If not, you are in violation of the TOS. biggrin.gif

More seriously, I have to agree.
Dibrom
Making entirely new skins for ipb, let alone space optimized ones, is not a small task. I don't really have the time to overhaul the entire skin to make it use less space. If someone would like to design a new skin though and send it to me, I would consider using it.
dev0
CODE
moz_abx v1.4 report
Firefox/0.10
2004/10/03 01:21:37

File A: http://www.hydrogenaudio.org/
File B: http://web.archive.org/web/20021129063334/http://www.hydrogenaudio.org/

01:23:49 : Test started.
01:23:55 : 01/01  50.0%
01:23:58 : 02/02  25.0%
01:24:00 : 03/03  12.5%
01:24:03 : 04/04  6.3%
01:24:06 : 05/05  3.1%
01:24:09 : 06/06  1.6%
01:24:11 : 07/07  0.8%
01:24:14 : 07/08  3.5%
01:24:23 : 08/09  2.0%
01:24:26 : 09/10  1.1%
01:24:32 : 10/11  0.6%
01:24:35 : 11/12  0.3%
01:24:41 : 12/13  0.2%
01:24:43 : 13/14  0.1%
01:24:47 : 14/15  0.0%
01:24:51 : 15/16  0.0%
01:24:53 : Test finished.

----------
Total: 15/16 (0.0%)
PoisonDan
Nice one, dev0. laugh.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.