Re: [WSG] .htm include file into another .htm

2006-01-19 Thread Elton Okada
On IIS you can use server side includes in a .htm file.Do this: Open IIS - website (righ button) - properties - home directory - configuration - Add. So, you will associate the .dll asp to .htm extension like this:
 Executable: C:\WINDOWS\system32\inetsrv\asp.dll Extension: .htmRegardsEltonOn 1/18/06, Jona Decker
 [EMAIL PROTECTED] wrote:You wrote:
Using standards, which is the best way to achieve this:1. !--#include virtual=/included.htm --2. !--#include virtual=included.htm --3. !--#include file=
included.html --I don't think the way you include has anything to do with standards.*What* you include does...that is, whatever you include will be renderedby the server when the page is requested, and delivered to the browser.
If the contents of your include are not valid, your page will not bevalid. And if you're a purist, you'll want to put the include call flushleft, and maintain your indents within the include file, so that the
generated code looks pretty too. :)As to which is more correct? It depends on the server. Apache prefersthe virtual setting, while file is more typical for IIS. Relative pathsaren't enabled in IIS6 by default for security reasons. Both are happy
to include things within an include (e.g. include the SSI directive forcurrent year next to the copyright symbol in a footer include) but IISrequires asp code to be included as an asp page, so that it is rendered
in the right order.As has been mentioned, in the right environment you could also use php'srequire or include.But I do agree with the previous poster...the included file isn't (orshouldn't be) an html file. It should be a text snippet of html with or
without other server directives. If you include an actual html filecomplete with header/body elements you'll definitely have problemsvalidating. Most people use .txt, .inc, .ssi, or .asp* as extensions for
these files.(*for IIS versions older than 6, because source code wouldbe shown in the browser if you typed in the include address, but not ifyou used .asp)SSI on Apache:
http://httpd.apache.org/docs/1.3/howto/ssi.html#whataressiSSI on IIS:http://en.wikibooks.org/wiki/Active_Server_Pages:Basic_ASP_Syntax
JonaWeb ServicesMEA**The discussion list forhttp://webstandardsgroup.org/ See 
http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list  getting help**


[WSG] Vertical align problem

2005-12-27 Thread Elton Okada
Vertical align, it really works ? Example:style#box{widht:200px;height:200px}#box span{float:left}#box img{vertical-align:middle}/stylediv id=box
spanSome text/spanimg src="">/divAny idea ?Thanks


[WSG] Swf - google

2005-12-20 Thread Elton Okada
I have a swf file in my page.Google will not index. I can print the content of swf in a div with display:none.Is it a good practice ? Does anyone have a better idea ?This is the url: 

http://www.victoriabratberg.com/betaThanks and sorry 



Re: [WSG] Swf - google

2005-12-20 Thread Elton Okada
Thanks !!!RegardsEltonOn 12/20/05, Martin Heiden [EMAIL PROTECTED] wrote:
Elton,on Tuesday, December 20, 2005 at 15:33 
wsg@webstandardsgroup.org wrote: I have a swf file in my page. Google will not index. I can print the content of swf in a div with display:none. Is it a good practice ? Does anyone have a better idea ?
Yep! Use standards and some proprietary IE Conditional Comments ;-)!--[if IE]object width=89 height=13 type=application/x-shockwave-flash codebase=""
http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0param name=movie value=/swf/audio.swf /
param name=flashvars value=code=Van_Vorst_Park /![endif]--!--[if !IE]--object type=application/x-shockwave-flash width=89 height=13 data=""
!--![endif]--div Alternate Content for google to index./div/objectregardsMartin**
The discussion list forhttp://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help**


Re: [WSG] Swf - google

2005-12-20 Thread Elton Okada
Thanks Ric !!

Regards

Elton
On 12/20/05, Ric Raftis [EMAIL PROTECTED] wrote:
Put a sitemap on your index page down the bottom so that Google et alcan follow the html links.Validate your page also.You are using an
xhtml doctype and yet have upper case tags on your page.Regards,RicElton Okada wrote: I have a swf file in my page. Google will not index. I can print the content of swf in a div with
 display:none. Is it a good practice ? Does anyone have a better idea ? This is the url: http://www.victoriabratberg.com/beta
 Thanks and sorry**The discussion list forhttp://webstandardsgroup.org/See 
http://webstandardsgroup.org/mail/guidelines.cfmfor some hints on posting to the list  getting help**


Re: [WSG] Swf - google

2005-12-20 Thread Elton Okada
What about this:http://blog.deconcept.com/2005/03/31/proper-flash-embedding-flashobject-best-practices/Regards
EltonOn 12/20/05, Ric Raftis [EMAIL PROTECTED] wrote:
Put a sitemap on your index page down the bottom so that Google et alcan follow the html links.Validate your page also.You are using anxhtml doctype and yet have upper case tags on your page.Regards,
RicElton Okada wrote: I have a swf file in my page. Google will not index. I can print the content of swf in a div with display:none. Is it a good practice ? Does anyone have a better idea ?
 This is the url: http://www.victoriabratberg.com/beta Thanks and sorry**The discussion list for
http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list  getting help
**


Re: [WSG] li background image

2005-12-13 Thread Elton Okada
Change your css like this:#navcontainer ul{margin: 0;padding: 0;list-style-type: none;text-align: center;}#navcontainer ul li {  display: inline;  background:url('
http://www.chiefcodemonkey.com/awbn/images/button_07.gif'); width:115px; height:26px}#navcontainer ul li a{text-decoration: none;padding: .2em 1em;color: #fff;}#navcontainer ul li a:hover{color: #fff;
}Regards,Elton OkadaRio de Janeiro - BrazilOn 12/13/05, Nathan Wheatley [EMAIL PROTECTED]
 wrote:I did a little mor elooking around, and I found the following means of
achiving what I am after.Here does:CSS CODE#navcontainer ul{margin: 0;padding: 0;list-style-type: none;text-align: center;}#navcontainer ul li { display: inline; }
#navcontainer ul li a{text-decoration: none;padding: .2em 1em;color: #fff;background-color: #036;}#navcontainer ul li a:hover{color: #fff;background-color: #369;}
HTML CODEdiv id=navcontainerullia href="">lia href="">lia href=""
lia href="">lia href="">/ul/divThe above works perfectly, but I am still a little unsure on how to
set an image as the background of the list items.I need this image(http://www.chiefcodemonkey.com/awbn/images/button_07.gif) as the
background to each of the list items, so that the list finally lookslikes this (http://www.chiefcodemonkey.com/awbn/images/sprite.gif)[disregard the lighter green background colour. that is fr
demonstration only].Christian, anyone else? Are you able to she some advice or lend a hand?**The discussion list for
http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list  getting help
**