Archives
Welcome to the archives. To find what you are looking for you can use the search box, view all the articles below or find articles with certain tags.
Using Numbers as CSS Class or ID Values
Written on 11/20 • 0 Comments
This week I found myself in a situation where I needed to apply CSS to an element only on a specified page. The best way to do this is to add an id to the body tag of the said page thus allowing you to apply a style only to that page. The example below shows an ID applied to the body tag. This is good practice when building your sites but sometimes easier said then done when using a Content Management System to dynamically generate your pages.
Continue ReadingHow to Prevent or Allow Directory Listing
Written on 11/13 • 0 Comments
Having a list of files in a directory on your site sometimes is useful. You may for example want a directory you can upload large files to for others to download without wanting to spend time creating a fancy PHP (or your preferred language) interface. It is important to understand the security implications of allowing directory listings. Listing files in directories that contain your code will make it easier for someone to compromise your site. We recommended you restrict listings to specific folders. You can easily control this behavior on your Apache server using one simple line in a .htaccess file.
Continue ReadingPage 1 of 1 pages
Try a sample pack of 10 Business Cards for free from MOO
Upload images for the first side of your card. Choose up to 10 different images or designs. We accept high resolution JPEG, PNG, GIF or PDF files. Free standard shipping is included.
Mint