Jump to content

[SOLVED!]Title Background image Help!!!


Blu-Express VA

Recommended Posts

Hi,

I would like to license this image as background (http://bluepanoramava.joomlafree.it/Background%20Sid.gif)

sid in the area of my site

(http://bluepanoramava.joomlafree.it/phpVMS/index.php/)

I tried to put this code in your CSS:

#sample2 { 



                background: transparent url(http://bluepanoramava.joomlafree.it/Background%20Sid.gif)no-repeat;  

                       color: #FFFFFF;

                       text-align:center;
}

connecting it to the title with:

<h3 id="sample2">My Title</h3>

but does not work, narrows the picture!

is there a way for it to remain the size

Original?

Thanks!

Link to comment
Share on other sites

Hi,

I would like to license this image as background (http://bluepanoramava.joomlafree.it/Background%20Sid.gif)

sid in the area of my site

(http://bluepanoramava.joomlafree.it/phpVMS/index.php/)

I tried to put this code in your CSS:

#sample2 { 



               	background: transparent url(http://bluepanoramava.joomlafree.it/Background%20Sid.gif)no-repeat;  

                       color: #FFFFFF;

                       text-align:center;
}

connecting it to the title with:

<h3 id="sample2">My Title</h3>

but does not work, narrows the picture!

is there a way for it to remain the size

Original?

Thanks!

PLEASE HELP ME!!!

In the css code, add:


height:  100px;
width: 100px;

obviously change the 100 to the actual size of the image.

Hope this helps!

Kindest Regards,

James

Link to comment
Share on other sites

Apply some padding to the h3 element:

In your css you would do something similar:

h3#sample3 {
padding:5px 10px
}

You would need to mess around with the padding values to find the best amount for you. I would suggest you do some reading up on CSS, as you are going to keep hitting basic problems like this. I would recommend this website as an excellent starting place: http://www.w3schools.com/css/

There is also a page dealing specifically with applying padding to elements here: http://www.w3schools.com/css/css_padding.asp

Cheers,

Stuart

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...