1 CSS doc to control different layout for 3 XHTML docs?

Wednesday, November 18th, 2009

I have to develop three webpages, but each one must have a different layout.

Is it possible to produce these just from one CSS doc?

off the top of my head, i’d say you could use descendant selectors. give each <body> a different id, and make all your selectors descendants of a particular body id.

i have to also add though that this seems like a bad idea. i think you’ll have a much easier time doing in with separate stylesheets, plus its just better coding practice.

Technorati Tags: , , , , , , , , , , ,

How can we make a link on a website designed using XHTML 1.0 strict open in a new window?

Tuesday, November 17th, 2009

How can we make a link on a website designed using Xhtml 1.0 strict open in a new window?

Can it be done using xhtml?

Thank you in advanced for all your thoughts and views.

I use this in my tags to open a new window, but keep in mind that the browser user has control over how links open when clicked on:

<a href="copyrights_moreon.htm" title="Some examples of Copyright and how it works" onclick="window.open (this.href, ”); return false">Some examples of Copyright and how it works</a>

Also, viewer can right-click any of your links and select to open in new window or tab.

Ron

Technorati Tags: , , , , ,

Where do i upload my index html file at when at the ftp file manager?

Friday, November 6th, 2009

My website won’t work it says the link appears to be broken i uploaded it into the public html folder the site still won’t work…. help?

If the file is named "index.html" and you have set up your DNS settings correctly, that should work. Try viewing the file from the host’s control panel.

Technorati Tags: , , , , , , , ,

How do I translate home videos to HTML script to embed in my website?

Friday, November 6th, 2009

I have alot of home videos I want to put on my website, and it seems that the easiest way to do it would be to embed it onto my website using HTML script. Problem is, I have no clue how to convert in into HTML script. Could someone please tell me how?

How to embed video onto your website is depends on the video format, different video format needs different HTML scrept. If the format of your video is wmv, then the first answer should can work. However, as I know, there is an more easy method can enable you to add any format videos to website and have a player with playlist to control them.

Step-by-step tutorial about "how to add videos to website"
http://www.flash-video-mx.com/webplayer-resources/add-videos-to-website.html

Technorati Tags: , , , , , , , , , , ,

How to find index of a html form element by providing name of id?

Thursday, November 5th, 2009

Is there any way to find out index of a html form element? I dont want to iterate form.elements array and find the matching control.

You may like to take an html tutorial at
http://referencedesigner.com/tutorials/html/html_1.php

Technorati Tags: , , , , ,