How to add css class for object tag in asp.

How to add css class(.stronger) for object tag in asp.

Strong.css:-

.stronger
{
width: 400; height: 25; background-color: #FFFFFF
}

Classic asp Page:-

<Object  ViewAsText></ Object >
ravindra333Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
ALaRivaConnect With a Mentor Commented:
There is no CLASS attribute for the Object Tag.

Simple solution is to wrap the object tag in a div and assign the class to that.

<div class="stronger">
    <object . . . >
<div>

HTH
- Anthony
0
 
Wayne BarronCommented:
sorry ravindra333,
I am afraid that ALaRiva is correct.
There is no way to assist a style to an Object Tag.
I just ran a test, and once you include the style within the Object Tab.
It breaks it.

Carrzkiss
0
All Courses

From novice to tech pro — start learning today.