Solved

How to add css class for object tag in asp.

Posted on 2009-05-04
3
734 Views
Last Modified: 2012-05-06
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 >
0
Comment
Question by:ravindra333
3 Comments
 
LVL 10

Accepted Solution

by:
ALaRiva earned 500 total points
ID: 24300320
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
 
LVL 30

Expert Comment

by:Wayne Barron
ID: 24300527
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

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question