Blu-Express VA Posted May 18, 2011 Report Share Posted May 18, 2011 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! Quote Link to comment Share on other sites More sharing options...
James142 Posted May 18, 2011 Report Share Posted May 18, 2011 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 Quote Link to comment Share on other sites More sharing options...
Blu-Express VA Posted May 20, 2011 Author Report Share Posted May 20, 2011 Ok, Thanks, but I have another question, look at my site: http://bluepanoramava.joomlafree.it/phpVMS/index.php/ To the right is written in white, I tried to put both the center and left, but is evil!, how do to position it perfectly according to the image? Thanks! Quote Link to comment Share on other sites More sharing options...
stuartpb Posted May 20, 2011 Report Share Posted May 20, 2011 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 Quote Link to comment Share on other sites More sharing options...
Blu-Express VA Posted May 20, 2011 Author Report Share Posted May 20, 2011 Oooohhh, Thannkkksss!!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.