473,563 Members | 2,856 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

What does "th.locked" mean?

I have inherited a stylesheet at work, with the designer no longer
working here.

In an external stylesheet it says:
thead th, thead th.locked
{
position:relati ve;
}

What does it mean? That for all "THEADs" and "THs" and "THs that are
of class 'locked'" to position relative?

Would

thead, th
{
position:relati ve;
}

do the same thing?

Is "th.locked" necessary?

Thanks,
Ann

Feb 14 '06 #1
4 5601
Giggle Girl wrote:
thead th, thead th.locked
{
position:relati ve;
}

What does it mean? That for all "THEADs" and "THs" and "THs that are
of class 'locked'" to position relative?
No, it assigns position:relati ve to all such TH elements that appear
inside a THEAD element
Is "th.locked" necessary?


Generally, no, and probably the code has some redundancy. But it is
impossible to say this for sure without knowing all the relevant facts.
The use of a selector like thead th.lock (which has higher specificity
than thead th) _might_ matter in the cascade.

Then again, the whole rule looks odd. Why use a table _and_ positioning?
Feb 14 '06 #2
So "locked" a "keyword" is CSS?

It is not some made-up name the designer created?

Thanks,
Ann

Feb 14 '06 #3
Giggle Girl wrote:
So "locked" a "keyword" is CSS?

It is not some made-up name the designer created?


No, it *isn't* a keyword. It's after a period, which means that it will
be used to select elements having class="locked"--in particular, in this
situation:

<thead><th class="locked">

You need to review the rules for what selectors mean--you seem to be
confusing the respective meanings of spaces, commas, and periods in a
selector.
Feb 14 '06 #4
Giggle Girl wrote:
So "locked" a "keyword" is CSS?
No.
It is not some made-up name the designer created?


It's a class name, so yes it was invented by a designer.

th.locked is the CSS selector for the HTML <th class="locked"> .

Please quote the message you are replying to. Not everyone will have
acopy of the previous messages in the thread so you post will make
little sense to them.

Steve

Feb 14 '06 #5

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

Similar topics

2
1758
by: Jack | last post by:
I have a form that has few text boxes to input. However, after saving, if the user comes back to the same form, then the input boxes should be locked. I would like to know whether this can be handled by session("locked") variable or any other way. Any information to handle this concept is appreciated. Thanks.
4
3237
by: Zorpiedoman | last post by:
This evaluates to true, why? chr(254) = "th" -- --Zorpie
1
7897
by: amindi | last post by:
Hi, I wrote a VB6 program to read some data records from a Ms Access database and to write them into a SQL server database.(I use Ms Access 2000 and SQL server 2000).After reading each record in Access database, I update a text type datafield of that record in Access database to 'Y' (to mark the perticular record as a copied record)(The program...
2
4717
by: CWogksch | last post by:
Hello, Everyone... My name is Chris Wogksch. I have a point of sale application developed in VB6 using MS Access 2003 as the database. I've been running versions of this app for over eight years, using vb5/Access 97 and later vb6/Access 2000 and 2003, without issue. Recently, I've started selling my latest version to liquor stores in my...
0
1987
by: CWogksch | last post by:
Hello, Everyone... My name is Chris Wogksch. I have a point of sale application developed in VB6 using MS Access 2003 as the database. I've been running versions of this app for over eight years, using vb5/Access 97 and later vb6/Access 2000 and 2003, without issue. Recently, I've started selling my latest version to liquor stores in my...
5
14421
by: Glen Buell | last post by:
Hi all, I have a major problem with my ASP.NET website and it's SQL Server 2005 Express database, and I'm wondering if anyone could help me out with it. This site is on a webhost (WebHost4Life) and was running fine and dandy, until I decided I needed to add some additional stored procedures to the database.
2
10421
by: Eric Layman | last post by:
Hi, I have the following script below. I intend to have a dynamic array of non fixed size set rsseats = conn.execute("select * from seats") Dim arr(1) response.write ubound(arr) do while not rsseats.eof
2
3178
by: boliches | last post by:
I have a form within my database which On Open (event procedure) will make many calculations and enter the results in text boxes on the page of the form (I have 2 tabs on this particular form). My problem is that every time I close the form a warning message pops up saying: "The object is locked, so any changes you make will be discarded when...
1
1756
by: =?Utf-8?B?R29yZG9uUw==?= | last post by:
Hello, I am unsure which group this should go under so have placed it on the general, if anybody can suggest a more appropriate group that would be great. I have a problem whereby if I update an Outlook 2007 calendar item via an external program (eg. by Exchange Explorer or Exchange 2007 Web Services) I am unable to update that item in...
0
7583
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
1
7642
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7950
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6255
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5484
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5213
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
2082
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1200
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
924
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.