Solved

How to add css class for object tag in asp.

Posted on 2009-05-04
3
693 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

707 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now