...

View Full Version : Position Header Gif



spadez
01-03-2010, 04:43 PM
Hi,

First off, here is my site:

http://www.zombiemod.com/rm/nina2/main.php?g2_itemId=13

Im trying to move the black header gif image so it sits about 15px to the left, so its left side lines up with the grey boundary. Ive tried negative padding, but it doesnt seem to do anything. What is the correct way to do this?

The header gif image is in the header css wrap, here is its css:


#header {

padding: 35px 0px 0px;
position: relative;

Excavator
01-03-2010, 04:56 PM
Hello spadez,
That image is moved to the right by three things -

the 15px left padding on #white-rap
the 35px left padding placed on #header
the 10px left padding on #header h1


It might be easiest to move that over by removing the left padding on the h1...
add this bit in red -

/* Header */

#header h1 {
margin: 0;
padding: 0 10px 0 0;
}

VIPStephan
01-03-2010, 04:57 PM
Remove the left padding from your h1.

spadez
01-03-2010, 05:10 PM
Thank you very much, I did as you instructed but I was still left with 15px gap so I removed the white space rap padding and that did the trick!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum