Help - Search - Members - Calendar
Full Version: In my Css layout...
Forums > Resource Center > Webmasters' Corner > Webmasters' Corner Resolved Topics
morgy8755
I have been practicing with CSS codes and whatnot, and I was wondering what the code would be for the header making it a picture.

And where in the code would you place the fact that you want the background color to actually be an image instead?(Would you just get rid of background color and put background image?)

Please and Thank You.
lovescream
uhh.. the picture thing, <img src="link"> ?? Idk if that's what you mean because.. well, I'm slow. tongue.gif

As for the background thing, it can come from knowledge from the basic CSSing of xanga&myspace. :P
So, taken this from the css in the myspace section 'cause i'm so lazy and stuff,

CODE
body {
background-color: ######;
background-image: url('URL HERE');

would be your main victims to edit.
speakerboxx123
well for header you can put this

CODE
#header {position: absolute; top: HOW FAR YOU WANT THE BANNER TO BE FROM THE TOP, IN PIXELSpx; left: HOW FAR YOU WANT THE BANNER TO BE FROM THE LEFT, IN PIXELSpx}


then:
CODE
<div id="header">
<img src=LINK OF IMAGE HERE>
</div>

morgy8755
thank you both ^.^
speakerboxx123
np biggrin.gif
morgy8755
I am having a REALLY hard time trying to actually get these evil codes to work with.
speakerboxx123
PM me i'll try to help.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.