473,382 Members | 1,404 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Overriding a style attribute to ""

My first post in this group. Already by reading the
prior posts I have learned a few things.

My problem is I'd like to override a css setting that
has been set by another agency and set it back to nothing:
So I've got a page I made and when I click the submit
button, it goes to my server and generates a new page.
This page has appended to it certain php debugging
information generated with the php call: phpinfo()

One of the things phpinfo includes is:
<STYLE type="text/css">
....
td, th { border: 1px solid #000000; font-size: 75%; vertical-align: baseline;}
....
</STYLE>
Now that declaration is messing up a table that I put in above the
phpinfo tables (but only in NN 6.1). Opera 7.01 and IE 5.5 are OK with it.
I tried putting in manual style="vertical-align:top" to what I think are
the appropriate elements, but this has been ignored.

So I achieved satisfaction by putting into my page:
<STYLE type="text/css">
<!--
table#mytab td, th { border: 2px solid #000000; font-size: 75%; vertical-align:top;}
-->
</STYLE>
and making the id of my table id=myTab
But what I'd really like to to is to set that vertical-align to ""
That is, I'd like to nullify the previous declaration (or more precisely,
the subsequent one coming from phpinfo()). Is there a way to do this?

Thanks,
Csaba Gabor from New York

Jul 20 '05 #1
1 1885
On 18 Sep 2003 02:18:13 GMT, Csaba2000 <ne**@CsabaGabor.com> wrote:

...
But what I'd really like to to is to set that vertical-align to ""
That is, I'd like to nullify the previous declaration (or more precisely,
the subsequent one coming from phpinfo()). Is there a way to do this?


You still need to give your declaration more weight by using a more
specific selector, as you have one. You could try

table#mytab td, th { border-width: 2px; font-size: 75%; vertical-align:
inherit;}

... but I'm not sure which browsers support this. Haven't tried it myself.

--
Rijk van Geijtenbeek
Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Markus Elfring | last post by:
How much are you interested that the attribute "style" will offer the same or similar capabilities like they are provided by the element "style" in the element "head"? Do you want that the...
52
by: Markus Elfring | last post by:
How much are you interested that the attribute "style" will offer the same or similar capabilities like they are provided by the element "style" in the element "head"? Do you want that the...
4
by: mike | last post by:
regards: <a href="JavaScript:loadwindow(106,90);" style="font-family:Verdana;">元智Intranet</a> In HTML spec,are "href" and "style" called "attribute"?....@@ Could someone good give me the...
5
by: johnsuth | last post by:
I want to produce a trivial demonstration of dynamic modification. I thought that pressing a button might change its color. I studied O'Reillys books and successfully created the button with a...
0
by: =?Utf-8?B?QXR1bA==?= | last post by:
When .Net 1.0 webservice (VS2003) generates a wsdl - <wsdl:binding name="TestSoap" type="tns:TestSoap"> <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/(note:...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.