Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to add css class for object tag in asp.

Posted on 2009-05-04
3
Medium Priority
?
769 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
2 Comments
 
LVL 10

Accepted Solution

by:
ALaRiva earned 2000 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 31

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…

877 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