HTML Posts

Development Temporary Image Placeholder

Development Temporary Image Placeholder

I found this great website that helps you instantly create temporary image placeholders for your development websites. Here’s the default example of the temporary image: I create this image by making the image source (src=) “http://dummyimage.com/480×108”. The website automatically creates the temporary image with the number. Just looking at their home page, I found that […]

Firefox Adding and Removing Scrollbar (CSS Fix)

In Firefox, if the webpage you are viewing is not taller than your screen (and doesn’t need a scrollbar), Firefox will completely remove the scroll bar from your screen. This adds 20px of more space to your view space. Unfortunately, if your website is centered, this will actually move your webpage 10px to the left […]

CSS Scroll Box instead of iFrames

You’ve probably heard “iframes are horrible with search engines.” Well, they are. I recently had a client want me to create scroll boxes for their website so they could fit 1000+ words into a 300×457 pixel scroll box. How can I create this scroll box without the iframe? Well, you are about to find out. […]

PHP – Finding the Width or Height of an Image

Knowing the width, height, Image type or attributes of an image can be extremely useful. I’ve used this once to make a line of images all line up on the bottom. I found out the height of the image and then added a margin to the top of the image to make the bottom of […]

CSS – Paragraph Indent Text

“Can you indent the paragraphs?” This can be a very dreaded request to a web designer who doesn’t know better. This may mean that you have to go through and add       to the front of every paragraph… or if you are a CSS Master, you know about text-indent! All it takes is […]

.htaccess – PHP on HTML/HTM Pages

I went into more detail about what the different processes are of adding php to a website programmed with *.html pages in this earlier htaccess post. Here are a few more .htaccess lines that will enable php on your server. (Different servers require a different line of code.) AddType application/x-httpd-php .html .htm AddType x-mapp-php5 .html […]

Programming on Principle

There are many different ways to program websites. There a many different ways to program the exact same website. If you gave the same design to 100 different website developers, you would end up with 100 pages (that probably all looked fairly similar) and 100 completely different HTML code. Is it possible to say if […]

HTML – Premade State Drop Down Menu

I came up with a great idea (which a lot of people have already thought of =]) to put all the html/php code that I create through my web adventures somewhere so people can grab them. So this will be my first post with content of that nature. Here is the HTML Code for a […]