Board index PBase Feature Requests Gallery Slideshow CSS

Feature Requests

Gallery Slideshow CSS

Request changes or modifications.
ray_akey
 
Posts: 5

Gallery Slideshow CSS

Post Sun Aug 12, 2007 9:47 am


Can you please add more ID or Class selectors for the inline_slideshow element, particularly a class or ID for the image itself, so that we can apply border effects, etc.?

I want to place a 3 pixel border around each slideshow image but if I apply #inline_slideshow { border: 3px solid #000000 } there is a gap above and below the image due to its container. This can only be addressed by applying a border style directly to the img tag.

Thanks in advance,

Ray
http://www.pbase.com/hmetal

ctstone
PBase Admin
PBase Admin
 
Posts: 166


Post Wed Aug 15, 2007 2:46 pm


You can actually already achieve this level of detail using a single ID. CSS allows you to specify inheritance by simply adding another id, class, or tag behind your selector.

For example
Code: Select all
#inline_slideshow img {border: 3px solid #000000;}

Will place a border around all the images contained in the #inline_slideshow object.
Chris
Pbase Team

ckirby
PBase Admin
PBase Admin
 
Posts: 85


Post Mon Aug 20, 2007 8:38 pm


I answered this in the Q+A forums a little while ago. This is what the code should be:

Code: Select all
#inline_slideshow img {border: 3px solid #000000 !important;}


The border attribute was explicitly assigned in the page so you have to override it with '!important'. Might not work for IE6...

andrys
 
Posts: 2701


Post Mon Aug 20, 2007 9:09 pm


ckirby wrote:I answered this in the Q+A forums a little while ago. This is what the code should be:

Code: Select all
#inline_slideshow img {border: 3px solid #000000 !important;}


The border attribute was explicitly assigned in the page so you have to override it with '!important'. Might not work for IE6...


1. You've been replying only since today. Have you changed from
being ctstone (who -did- reply on this subject a little while ago) ?

If so, could you please identify yourself since you're representing
PBase and we should at least get an introduction of a new representative
or a -word- on the pbase name-change ?

Also, there's a "NoOutlet" posting some bizarre notes today as a
PBase Admin. That might be a nice, casual style it uses but there is
NO introduction at all and that person joined PBase Aug 5.

If you don't say anything about yourselves, it begins to look as if
someone not a pbase admin is playing games. Thanks for helping.

nkirby
PBase Admin
PBase Admin
 
Posts: 63


Post Mon Aug 20, 2007 9:27 pm


There are some exciting changes going on at PBase and we will be letting you all in on the details shortly.

andrys
 
Posts: 2701


Post Mon Aug 20, 2007 10:33 pm


nkirby wrote:There are some exciting changes going on at PBase and we will be letting you all in on the details shortly.


Now it's 'nkirby' who responds to what I wrote to 'ckirby' ?

Yes, by all means, it'd be nice if slug or emily 'let us in' on such things.


Board index PBase Feature Requests Gallery Slideshow CSS

Who is online

Users browsing this forum: No registered users and 2 guests