Forum Moderators: not2easy

Message Too Old, No Replies

Logos in CSS

Why cant I save or print them?

         

camaroboy

4:47 pm on Aug 2, 2007 (gmt 0)

10+ Year Member



I am building a website using the Joomla CMS. The template I have uses a CSS file for the design styles and images. I noticed that when I am on the actualy website I cannot right click to save the image, nor can I view its properties. I also printed the homepage and the logo didnt show up on there either. I would like this logo to have an alt tag and be a link...can I do that if it is in the current css file?

Xapti

5:58 pm on Aug 2, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Not being able to right click is a javascript thing that browsers have to comply with. For Some browsers like Firefox, you get to choose if you want to allow the website to edit your context menu. In most cases it's really stupid, so you should try to get rid of that script.

CSS is for styling, and displaying. Making images links is not styling! it cannot do that!

If it's a half decent CMS you should be able to edit parts of it's code so that you can make that image a link. For printing problems, you should search other topics here at webmasterworld, or other places on the internet. It depends what browser your using, as well as some other things. Because you're using a CMS and don't seem to know much about anything else, we really can't be of too much help, because it's not like we know the exact code used in the CMS. it probably has all sorts of different skins, versions, customizations, and other stuff. You need to have a greater understanding of HTML and CMS customization to help yourself, or even to get others to help you.

abbeyvet

6:08 pm on Aug 2, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The image is maybe a background image on a div or something like that? Though you should have a option to view background image when you right click in that case.

To make it clickable, remove the background style and put the image in the actual page.

camaroboy

6:13 pm on Aug 2, 2007 (gmt 0)

10+ Year Member



Thanks guys. After doing some of my own research I came to the same conclusion. The images in the css were background images, hence making them unclickable, printable, linkable, etc. I realized now I need to go into the html (php) and edit them there. Thanks for the insight though. Sometimes you get so caught up in the small things you forget the common sense things!