torstein.honsi
Site Admin
Posts: 9215
Joined: Thu Nov 09, 2006 11:22 am
Location: Vik i Sogn, Norway

Reorganised CSS

In the latest release, 4.0.8, the CSS was reorganised into one singe highslide.css file. This makes it easier for all implementing Highslide, as the relative graphic paths don't have to be updated. The downside is the increased weight, but the file is well commented so removing parts of it should be relatively easy.

The latest release also includes a very clean looking new example with the caption text overlaid on the dark page background.
User avatar
RoadRash
Posts: 8249
Joined: Tue Jul 15, 2008 6:43 pm
Location: Fredrikstad, Norway
Contact: Website

Image
Hilde
Highslide Support Team

Overview of my Highslide sample pages: RoadRash.no
User avatar
EarlyOut
Posts: 1705
Joined: Sun Nov 11, 2007 9:22 pm
Location: Sector R
Contact: Website

Re: Reorganised CSS

admin wrote:The latest release also includes a very clean looking new example with the caption text overlaid on the dark page background.
Very appealing, but with a large image and a multi-line caption, the expander doesn't "know" about the caption, and pushes it beyond the viewport. :cry:
torstein.honsi
Site Admin
Posts: 9215
Joined: Thu Nov 09, 2006 11:22 am
Location: Vik i Sogn, Norway

Yes. That's the downside of the free floating caption. So for large captions you are better off either using a normal caption or using a higher marginBottom.
User avatar
EarlyOut
Posts: 1705
Joined: Sun Nov 11, 2007 9:22 pm
Location: Sector R
Contact: Website

That was one of the nice surprises in version 4 - I no longer had to give my users a slider to select extra padding on the bottom margin to accommodate longer captions. :D

I never had any way of predicting how many lines of caption material there would be, since line-wrapping would produce different results depending on monitor resolution, font size chosen, etc. So, that was always a "take a guess" setting. Happy to get rid of it.
torstein.honsi
Site Admin
Posts: 9215
Joined: Thu Nov 09, 2006 11:22 am
Location: Vik i Sogn, Norway

Yes me too. As for the free-floating caption, it is not really a new feature. I was just experimenting with the CSS when it struck me that I could set position:absolute to make Highslide ignore it's height.

Return to “News”