PDA

View Full Version : Grrrr - 100% Bar! >=[



Recursion
29-12-2006, 09:21 AM
Heya

Ive got a pink top gradient that runs all the way accross the top of the page - It work brilliantly in Firefox but it stops in ie and stop about 1.5cm from the side...

Here is the code



<table width="100%" border="0" background="Bars/pink_grad.PNG" id="pinkgrad">


Here is the CSS


#pinkgrad {
background-image: url(Bars/pink_grad.PNG);
background-repeat: repeat;
left: 0px;
top: 0px;
position: absolute;
width: 100%;
height: 24px;
}


Anyone know whats wrong?

awelsh
29-12-2006, 10:04 AM
I always get that problem, I usually just centre the whole page so it doesnt look wrong

Recursion
29-12-2006, 10:11 AM
I just need it to go right accross, it looks wront centered...

YouFail
29-12-2006, 10:16 AM
In your css put



body {
margin: 0 0 0 0px;
}

Recursion
29-12-2006, 10:21 AM
Thanks Richard, it worked brilliantly!

+REP :)

Want to hide these adverts? Register an account for free!