Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • solsikkehaven Friend
    #139887

    OK:

    putting an image in some content, left aligned. Then <p>sometext</p>. looks nice. (just the way the demo is, btw.)…

    3 content elements on frontpage, all with images and text.. Looks smooth 🙂

    now, one of the images should be linked til an URL. doing just that, images “shift” 5 pixels to the right, not looking good (not aligned vertically with the other images now)…..

    looking at CSS, template.css there is:

    a img {
    border: none;
    margin: 5px;
    }

    removing the margin: 5px; takes away the problem, but then I’m not sure if that will give me any other problems along the way ?

    Alternate I could use <div class=”someclassnamehere”>……..</div> around the linked images, but what should the CSS code to append be ?

    .someclassnamehere a img {
    border: none;
    margin: 5px;
    }

    doesn’t seem to work, I’m doing something wrong here 🙁


    1. Untitled-1
    nguyenhuu quang Friend
    #300108

    pls send your LIVE site.
    I can check it for you.
    Thanks

    solsikkehaven Friend
    #300110

    test site is at:

    http://2009.socvest.dk

    thanks.

    nguyenhuu quang Friend
    #300112

    your site use Image at:

    template.css (line 207)
    [PHP].article-content img {
    border:1px solid #DDDDDD;
    margin-right:10px;
    margin-top:5px;
    padding:3px;
    }[/PHP]

    and
    template.css
    [PHP]a img {
    border:medium none;
    margin:5px;
    [/PHP]

    nguyenhuu quang Friend
    #300114

    margin: 1 px 2 px 3 px 4px;
    1 is top
    2: right
    3: bottom
    4. left

    solsikkehaven Friend
    #300126

    it seems the a img should be corrected in my setup.

    thanks for your time.

Viewing 6 posts - 1 through 6 (of 6 total)

This topic contains 6 replies, has 2 voices, and was last updated by  solsikkehaven 15 years, 7 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum