• Hi,

    with Kubrick linked images have the CSS value “border: none;”. So far so good, this is okay for practically all linked graphics.

    I have however one special area, which has it’s own page template, where I would like photos in the content area to have a border of 1px.

    How would I go about providing only the graphics in that one content area to have one?

    Greetings

    LHK

Viewing 4 replies - 1 through 4 (of 4 total)
  • Set up a class just for those graphics in your stylesheet, such as:

    .special {
    border: 1px solid black;
    }

    And then add the class=”special” into the img src call.

    Thread Starter lhk

    (@lhk)

    Hi vkaryl,

    yes, that works, but I’d have preferred having that styling applied automatically and wondered whether there is such a solution (I’m not that much of a CSS crack myself).

    Greetings

    LHK

    One way is to give that content area its own id. Perhaps it already has one? Such as:

    #special

    Then to set a border for images in the special div, add this to the css:

    #special img
    {
    border: 1px solid #000;
    }

    Thread Starter lhk

    (@lhk)

    Hi again,

    @marcy: PERFECT! That was precisely what I wanted :-))))

    Greetings

    LHK

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘CSS help needed (Kubrick)’ is closed to new replies.