Re: what is html:link equivelant
Just leave your link href=http://localhost:8080/express/billing.css; rel=stylesheet tag as it is ! The html:link tag is for generating a href=http://some.url.com;foobar/a tags... cheers, gernot. 22.03.2002 18:56:34, [EMAIL PROTECTED] wrote: This is tricker than I thought: What is the equivelant of: link href=http://localhost:8080/express/billing.css; rel=stylesheet using the html:link tag? I see they have the style property and the styleClass property but I am not sure exactly how they are used. thanks for any insight... thanks, Theron -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: what is html:link equivelant
I personally just use the old HTML tag. I use a relative path though - eg. /express/billing.css instead of http...billing.css. ... works fine for me =) HTH, Eddie - Original Message - From: [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, March 22, 2002 11:56 AM Subject: what is html:link equivelant This is tricker than I thought: What is the equivelant of: link href=http://localhost:8080/express/billing.css; rel=stylesheet using the html:link tag? I see they have the style property and the styleClass property but I am not sure exactly how they are used. thanks for any insight... thanks, Theron -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: what is html:link equivelant
thanks... But for my next question though: Why does the documentation: http://jakarta.apache.org/struts/userGuide/struts-html.html#link mention the style and styleId and the styleClass properties? thanks, Theron Gernot Koller liquid@kabsiTo: Struts Users Mailing List .at [EMAIL PROTECTED] cc: 03/22/02 Subject: Re: what is html:link equivelant 11:43 AM Please respond to Struts Users Mailing List Just leave your link href=http://localhost:8080/express/billing.css; rel =stylesheet tag as it is ! The html:link tag is for generating a href=http://some.url.com foobar/a tags... cheers, gernot. 22.03.2002 18:56:34, [EMAIL PROTECTED] wrote: This is tricker than I thought: What is the equivelant of: link href=http://localhost:8080/express/billing.css; rel=stylesheet using the html:link tag? I see they have the style property and the styleClass property but I am not sure exactly how they are used. thanks for any insight... thanks, Theron -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: what is html:link equivelant
Well, inside of your CSS, you make definitions for styles, correct? If you begin a definition name with #, as in: #myStyle { text-decoration: none } then the 'name' (myStyle) is known as an 'Id'. Therefore, if you wanted to use this definition with a link, you would specify styleId='myStyle' in your html:link/ tag. Similarly, if you define a style as: .myStyle { text-decoration: none } then the name (myStyle again) is known as a class. Therefore, if you wanted to use this definition with a link, you would specify styleClass='myStyle' in your html:link/ tag. And, last but not least, there is the style attribute of the link tag. This is where you could hard-code a style for a given link (ie. not place it in the css file but directly in the code). By specifying style='text-decoration: none' as an attribute to your link tag, you would accomplish the same thing as the above two methods, but without the CSS file. HTH, Eddie - Original Message - From: [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, March 22, 2002 2:12 PM Subject: Re: what is html:link equivelant thanks... But for my next question though: Why does the documentation: http://jakarta.apache.org/struts/userGuide/struts-html.html#link mention the style and styleId and the styleClass properties? thanks, Theron Gernot Koller liquid@kabsiTo: Struts Users Mailing List .at [EMAIL PROTECTED] cc: 03/22/02 Subject: Re: what is html:link equivelant 11:43 AM Please respond to Struts Users Mailing List Just leave your link href=http://localhost:8080/express/billing.css; rel =stylesheet tag as it is ! The html:link tag is for generating a href=http://some.url.com foobar/a tags... cheers, gernot. 22.03.2002 18:56:34, [EMAIL PROTECTED] wrote: This is tricker than I thought: What is the equivelant of: link href=http://localhost:8080/express/billing.css; rel=stylesheet using the html:link tag? I see they have the style property and the styleClass property but I am not sure exactly how they are used. thanks for any insight... thanks, Theron -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: what is html:link equivelant
Well, you can specify the style, id, and class attributes with these properties. html:link href=http://some.url.com; style=color:green styleId=mylink styleClass=myStyle should result in something like: a href=http://some.url.com; style=color:green id=mylink class=myStyle you're welcome, gernot. 22.03.2002 21:12:21, [EMAIL PROTECTED] wrote: thanks... But for my next question though: Why does the documentation: http://jakarta.apache.org/struts/userGuide/struts-html.html#link mention the style and styleId and the styleClass properties? thanks, Theron -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]