Title: CSS problems
Last modified: August 18, 2016

---

# CSS problems

 *  [tripeX](https://wordpress.org/support/users/tripex/)
 * (@tripex)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/css-problems-2/)
 * Well, take a look: [http://test.tripexart.de/](http://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)

[←](https://wordpress.org/support/topic/css-problems-2/?output_format=md) [1](https://wordpress.org/support/topic/css-problems-2/?output_format=md)
2

 *  [Michael Bishop](https://wordpress.org/support/users/miklb/)
 * (@miklb)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/css-problems-2/page/2/#post-287948)
 * It really looks like if change the left padding by another pixel or so, you’re
   where you want.
 *  [vkaryl](https://wordpress.org/support/users/vkaryl/)
 * (@vkaryl)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/css-problems-2/page/2/#post-287949)
 * 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](https://wordpress.org/support/users/tripex/)
 * (@tripex)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/css-problems-2/page/2/#post-287950)
 * 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. ^^’
 *  [Michael Bishop](https://wordpress.org/support/users/miklb/)
 * (@miklb)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/css-problems-2/page/2/#post-287952)
 * 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](https://wordpress.org/support/users/vkaryl/)
 * (@vkaryl)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/css-problems-2/page/2/#post-287954)
 * 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](https://wordpress.org/support/users/tripex/)
 * (@tripex)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/css-problems-2/page/2/#post-287957)
 * 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](https://wordpress.org/support/users/vkaryl/)
 * (@vkaryl)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/css-problems-2/page/2/#post-287958)
 * 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)

[←](https://wordpress.org/support/topic/css-problems-2/?output_format=md) [1](https://wordpress.org/support/topic/css-problems-2/?output_format=md)
2

The topic ‘CSS problems’ is closed to new replies.

## Tags

 * [margin](https://wordpress.org/support/topic-tag/margin/)
 * [padding](https://wordpress.org/support/topic-tag/padding/)

 * 22 replies
 * 5 participants
 * Last reply from: [vkaryl](https://wordpress.org/support/users/vkaryl/)
 * Last activity: [20 years, 6 months ago](https://wordpress.org/support/topic/css-problems-2/page/2/#post-287958)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
