• tripeX

    (@tripex)


    Well, take a look: https://test.tripexart.de/

    You see the headerimage and you see the problem I think. I’m trying to get rid of this “border” on top of the headerimage, but no chance. I tried every trick I know. Padding, Margin and so on changes won’t affect the “border” on top of the headerimage.

    Any suggestions?

Viewing 7 replies - 16 through 22 (of 22 total)
  • It really looks like if change the left padding by another pixel or so, you’re where you want.

    vkaryl

    (@vkaryl)

    One thing that NEVER hurts is to “pre-zero” all that stuff in the body declarations: I use the following as a matter of course, directly before the “normal” body selector….

    html {
    border:0;
    margin:0;
    padding:0;
    }

    And is all that inline css to do with you basing this on kubrick? The way the stylesheet is laid out all over the place makes it a little difficult to figure out what’s where and if you’ve maybe got some conflicting selector declarations in there.

    Thread Starter tripeX

    (@tripex)

    No, this won’t work, I’ve already tried. I think the negative value doesn’t work.

    At the moment I’m really close to what I want, but there is still a 1 px “border” thing above the headerimage. -_-

    UPDATE: OMFG, I finally got it. Had to change some values in the style.css. I don’t know why, but the #headerimg and #header is in the style.css and in the header.php, and both have heigth values, and that was the solution. Pin down the heigth to the current imagedimensions and everything works. ^^’

    I still suggest putting the url for the image within the headerimg div. And I’m not personally a fan of the Kubrick inline styles. I’d just scrap that and use the style sheet.

    vkaryl

    (@vkaryl)

    Ah…. yup, kubrick strikes again…. was why I was asking about the inline stuff.

    Well, glad you got it, but yes – I agree with miklb: put that header graphic in the stylesheet (and rip that inline css crap out of there!)

    Thread Starter tripeX

    (@tripex)

    Already done. And well, one thing about the style.css file from the Kubrick theme: “OMFG, never seen such chaotic CSS.”

    Looks like I will have really fun with this piece of CSS. (-_-)

    And next time, I’ll make a screenshot for podZ ??

    vkaryl

    (@vkaryl)

    Yep, probably would have helped me at least – and maybe would have been quicker than you having to compress that graphic.

    Best to you – have fun!

Viewing 7 replies - 16 through 22 (of 22 total)
  • The topic ‘CSS problems’ is closed to new replies.