PDA

View Full Version : Tiling Image In Navbar


shniks
May-10-2008, 10:54 AM
Hey Guys,


Is there any way to tile an image in the Navbar? I want to draw a horizontal line which stretches. Since this is a picture, I would need to make a small part of the line and then have it tile so it looks continous.

Possible? Impossible? {Although nothing is Impossible... even the word impossible spells... I (a)M Possible... :D }


Cheers,

Barb
May-10-2008, 07:03 PM
Hey Guys,


Is there any way to tile an image in the Navbar? I want to draw a horizontal line which stretches. Since this is a picture, I would need to make a small part of the line and then have it tile so it looks continous.

Possible? Impossible? {Although nothing is Impossible... even the word impossible spells... I (a)M Possible... :D }


Cheers,

Hi :)

I see that you already have a horizontal line (an HR) under your navbar. Is it that you want to use an image, instead? If so, you would need to place the code for the image and then add repeat-x to the end. In other words, give your image it's own DIV ID and then use CSS to control it. For example, beneath your navbar code in your header box:

<div id="navImage"></div>

Then in your CSS code box:

#navImage {
background: url(LINK TO IMAGE) repeat-x;
}

shniks
May-10-2008, 07:23 PM
Hi :)

I see that you already have a horizontal line (an HR) under your navbar. Is it that you want to use an image, instead? If so, you would need to place the code for the image and then add repeat-x to the end. In other words, give your image it's own DIV ID and then use CSS to control it. For example, beneath your navbar code in your header box:

<div id="navImage"></div>

Then in your CSS code box:

#navImage {
background: url(LINK TO IMAGE) repeat-x;
}


Woohoo.. Thanks... I will check this out asap.... :ivar :ivar


Cheers,