Browsing all articles in Design Topics

How do I fix the extra spaces forms cause inside of tables?

Posted Posted by jerothe in Design Topics, XHTML / HTML     Comments No comments
Sep
4

I learned a number of things today that I had never encountered before. I was working the EVS Minder interface, trying to finish that up at Esysdesign. I have been having some problems with repeating background graphics and surround graphics shifting when a dynamic HTML is included in a file using the Smarty templating system. The shifting was no more than 4 pixels total, on top and bottom of where the files was being inserted.

The protocol that my co-worker and I have adopted when dealing with form tags is to put them just inside of the body tags of an HTML page because when nested inside of a table, strange shifting happens.

It then stuck me that all of these pages had form fields, and that there might be default padding in the <form> selector. I went into the style sheet, set the margin and padding to 0 like should be done with a number of selectors. This totally eliminated my problem.

I am creating an image map, but it isn't showing up visually in layout mode.

Posted Posted by jerothe in Design Topics, XHTML / HTML     Comments No comments
Aug
26

I learned this lesson the hard way. The image that contains the image map should have a “usemap” attribute.

e.g. <img src=”something.jpb” usemap=”#Map”>

Make sure that you have this attribute, and that you have a pound sign in front of the name of the image map you want to use, otherwise it won’t show up.

How do I set up a redirect using a .htaccess file?

Posted Posted by jerothe in Design Topics, XHTML / HTML     Comments No comments
Aug
13

In your file editor of choice, for this example I will use Dreamweaver;

File > New > Basic HTML

ErrorDocument 404 http://www.rothecreations.com/error

Save this file and call it .htaccess , and upload it to your root directory.

Make use of Noindex to make sure iframe pages aren't search engine indexed

Posted Posted by jerothe in Design Topics, XHTML / HTML     Comments No comments
Jul
19

Browsers are getting smarter and more powerful every day, thanks to Google leading the technology charge. In order to protect someone from coming to your site accidentally from a iframe page that doesn’t make sense outside of the containing page, make use of meta information.

Assuming some knowledge of how to add meta information, in your head section add this value

<meta name=”robots” content=”noindex” />

Add this to the pages that you do not want indexed by Search engines.