We recommend Internet Explorer for our website. If the videos are still not working

Tech - Web Design


I cleaned my website and now it’s validated for xhtml and css.


This page validates as XHTML 1.0 Transitional This page is Valid CSS!


I found out 4 important principles when you are changing your layout:

First, it has been always tricky to add an empty line and still keep your site validated. I have explained in my website about how to add a line in zencart. In Wordpress, it is different. You could use


 <br/>

It will depend on your css file. If it does not work with one <br/> , then use 2 of them and have some spaces in between.)


 <br/>    <br/>

Please also see
Best Practice to add an empty line in xhtml for zencart



Second, To change the alignment for layout, you edit the css file or the Presentation files/templates (index.php, category.php, date.php, single.php…) by using theme editor or any other html editors. For good clean code, if you want to align the line to the center for example, you don’t have to add another <div>, <ul>, <li>, <span> or <p> inside one or another, you just have to put style=”text-align:center” in between the < , type, and >.

For example:
If you already have <li> and you need to change he alignment, change <li> to


 <li style="text-align:center" >




Third, when you are changing codes between
<ul>….</ul>
, only add <li>….</li>

or add new code under betwen existing <li>….</li>

without using any of the new <div>, <span>, <ul> or <p>



Fourth, you never want to trust the code that you copied from other site to add to your site, even if it’s from a site like micromedia.com, w3.org (where you validate your xhtml) or creative commons because the structure of your website normally is never the same with theirs and they are not going to know where you are going to put the code.

For me to put the icon of the xhtml validated from w3.org in my footer file for WordPress, we have to take the <p> and </p> tags out from the code that w3.org gives you if where you want to add the code might be in <p> tag already.



In zencart, Just use:



  <⁄br>

Not the followings:

  • <⁄br><⁄br> ……will create 2 lines instead of one empty line if that’s what you want.
  • <⁄br> <⁄br>…..should not have an empty space in between
  • <⁄BR>………….Never use upper cases in xhtml (or you will get
    element “BR” undefined error)
  • Never use upper cases in xhtml

Preference:

Math Symbols in HTML:

My website sino7.com passed the w3.org validation for xhtml 1.0 (click
here to see)



(semicolon must be included)

< = &lt;

> = &gt;

& = &amp;

blank space =  &nbsp;

For zencart shopping cart, if you want to add empty line for xhtml 1.0, use the following:



<br class = "clearBoth" / >

http://codex.wordpress.org/Writing_Code_in_Your_Posts

http://codex.wordpress.org/Fun_Character_Entities

(For Wordpress, click here)



How to increase your website to show in the popular search engines? Here is how to submit your website to the popular search engines.

By using Google (XML) Sitemaps Plugin By Arne Brachhold, a sitemaps.org compliant sitemap of your WordPress blog will be created and submited to Google, MSN Search and YAHOO .

xml-sitemap1.JPG

xml-sitemap2.JPG(showing the category page – tag page and different priorities)



Facts: Do not think that your images in your 1and1blog do take your filespace. Actually they do. The folders of these images are just hidden for you.

How to move your 1and1 Blog to your own Wordpress blog or blogger blog?

This website (http://blog.sharemsg.net) is the old blog of this website.

For blogger blog, you need to complete the steps for Wordpress blog first, use the “Manage”->”Export” to export the XML file to your computer. Upload this file to your server and then change your Blogger to point to that file.

This XML format, which we call WordPress eXtended RSS or WXR, will contain your posts, comments, custom fields, and categories.

Steps for Wordpress blog (subjects to change):

Step 1. Made sure the version that 1and1 blog offered is upgradeable to the version that you download from wordpress.org. That means you have to find out the version of your 1and1 Blog at the bottom of your admin page. Then download the installation files for the newest version and the version that your 1and1 Blog uses.

Step 2. Create a new Database with 1and1.com via 1and1 control panel. (check how at faq.1and1.com)

Step 3. Ask 1and1 technician to export your database of your 1and1 blog to a dump file (backup file of your 1and1blog DB.)

Step 4. Once you got the database dump file, upload the file to your protected filesystem and then try to dump them into the new database that you created for your new blog. To do that, I suggest to use PuTTy. Under the directory of your dump file,

Syntax: mysql -h db_host_name -u db_user_name -p db_name < db_dump_filename

Example: mysql -h db333.db333.com -u dbo3333333 -p db3333333 < blog.bak.dump

Step 5. Use 1and1 phpAdmin to monitor your new database. You should see tables with prefix name:

blog_1_

If you have more than one 1and1Blog, then you have to note which one you want to install in your new WordPress blog. Mine was blog_2_

Then you have to change the wp-config-example.php to wp-config.php file in the WordPress installation files. Make sure the $table_prefix value is matching the prefix value we found “blog_1_” or “blog_digit_

For example: $table_prefix = ‘blog_1_‘;

Remove all tables from your new database.

Step 6. Upload and Install the WordPress with the order version that you downloaded (See WordPress Document.) Remove all tables again and Import the dump file to your new database.

Step 7. Create a sub-domain pointing to that directory with 1and1 for free.

__________________________________________________________________________

Our weblog is currently being hosted by 1and1.com

1and1

(more…)



How did I move my 1 and 1 Blog blog.sharemsg.net to sinoclip.com/blog (will change back to blog.sharemsg.com again since it looks better and I know what is going on now)

I hurt my wrist so please be patient. It will be coming a little slower (actually it’s 10 times slower since I am using one finger method. I am also changing the stylesheet / template as well.)

It is fun working with my own WordPress on my own server. I could add any java script, WordPress Plugins or HTML code that I like, like AltaVista Translate, for example. And I find the great thing about the new WordPress, it auto-saves while you are editing a post.

 

Our weblog is currently being hosted by 1and1.com


1and1

You could use the same technic when you want to change the domain names, server, or the directory of your WordPress blog.





zenmed,  scar treatment, dermcare system reviews, natural skin

Pages

RSS Feeds:

Monthly:

You might be interested

  • Intimacy Products for Men:

    Vital XL:
    Intimacy Products for men: vital XL


    Intimacy Products for Women:

    Benefil:
    intimacy Products for Women: Benefil

    Valentra:
    intimacy Products for Women: Valentra

Meta