Archive for February, 2007
Sitemaps
The internet changed while I was busy doing other things.
Now most search engines are looking for ‘sitemaps’. This is an xml file that provides a map of your website to the search engine.
XML-Sitemap will generate one for a small site (less than 500 files ) for free or you can buy the software for $15 if you have a larger site. I tried the software and it worked well.
WebMaster Tools-Free XML Sitemap Generator will also generate a site map. They have a very nice applet tool that generates site maps and provides you with a list of broken links on your site. I found I had some house cleaning to do on TimesToCome.
Once you have your site map ( sitemap.xml ) you’ll want to submit it to google using the webmaster tools and upload it into the root directory of your website.
Positioning pictures
How frustrating it is to try to position an image with html. With a css (cascading style sheet) you can position right down to the pixel where you would like your image positioned.
To position a picture exactly out from the top and left side you need to add code to the < head > part of the html document as well as to the < body > part.
Add in the heading:
< style type=”text/css” >
#anyname { position: absolute; top: 0px; left: 0px; }
< /style >
The top: 0px; left: 0px; is the number of pixels from the top and left of the browser window. If you wanted it to be 30 pixels down and 40 over you would change these to 30px and 40px
Add in the body:
< span id=”anyname” > < img src=”picture.gif” >
< /span >
If you forget the closing tags most browsers won’t even load the page. If you forget the semi-colons they will ignore what you have told them.
See also:
Beginner’s tips for CSS