473,498 Members | 703 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Style

//This is really fundemental, but I dont seem to be able to understand why
my table text wont render as I want it. I have a style sheet which has many
styles for all the standard tags etc. The body style for example will change
when I change the BODY tag specified in the style sheet but the text within
the table seems to be oblivious to this. In an attempt to change all the
text in the table, I created a style with a selector name of TableText. This
does not seem to work either.

//Here is my style below, in the table tag <TABLE class="TableText">
However the table will not conform to the text specified in the style.

Any ideas ?

TableText

{

BACKGROUND-COLOR: white;

FONT-FAMILY: Arial;

FONT-SIZE: 8pt;

FONT-WEIGHT: bold;

LETTER-SPACING: normal;

TEXT-TRANSFORM: none;

WORD-SPACING: normal;

}


Nov 19 '05 #1
4 1193
Set the font on the td tag of the table.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"Mr Newbie" <he**@now.com> wrote in message
news:uj**************@TK2MSFTNGP09.phx.gbl...
//This is really fundemental, but I dont seem to be able to understand why
my table text wont render as I want it. I have a style sheet which has
many styles for all the standard tags etc. The body style for example will
change when I change the BODY tag specified in the style sheet but the
text within the table seems to be oblivious to this. In an attempt to
change all the text in the table, I created a style with a selector name
of TableText. This does not seem to work either.

//Here is my style below, in the table tag <TABLE class="TableText">
However the table will not conform to the text specified in the style.

Any ideas ?

TableText

{

BACKGROUND-COLOR: white;

FONT-FAMILY: Arial;

FONT-SIZE: 8pt;

FONT-WEIGHT: bold;

LETTER-SPACING: normal;

TEXT-TRANSFORM: none;

WORD-SPACING: normal;

}

Nov 19 '05 #2
OK, but is it not possible to set it for the whole table ?

"S. Justin Gengo" <sjgengo@[no_spam_please]aboutfortunate.com> wrote in
message news:u$**************@tk2msftngp13.phx.gbl...
Set the font on the td tag of the table.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"Mr Newbie" <he**@now.com> wrote in message
news:uj**************@TK2MSFTNGP09.phx.gbl...
//This is really fundemental, but I dont seem to be able to understand
why my table text wont render as I want it. I have a style sheet which
has many styles for all the standard tags etc. The body style for example
will change when I change the BODY tag specified in the style sheet but
the text within the table seems to be oblivious to this. In an attempt to
change all the text in the table, I created a style with a selector name
of TableText. This does not seem to work either.

//Here is my style below, in the table tag <TABLE class="TableText">
However the table will not conform to the text specified in the style.

Any ideas ?

TableText

{

BACKGROUND-COLOR: white;

FONT-FAMILY: Arial;

FONT-SIZE: 8pt;

FONT-WEIGHT: bold;

LETTER-SPACING: normal;

TEXT-TRANSFORM: none;

WORD-SPACING: normal;

}


Nov 19 '05 #3
Actually, i had forgotten to put the period (.) before the class name. It
works now, however, I have noticed that changes to the styles are not
neceecarilly relfected in the page , you need to sometimes close and open
then up again to make them come into effect, I think this could be a bug.
???
"Mr Newbie" <he**@now.com> wrote in message
news:eT**************@TK2MSFTNGP09.phx.gbl...
OK, but is it not possible to set it for the whole table ?

"S. Justin Gengo" <sjgengo@[no_spam_please]aboutfortunate.com> wrote in
message news:u$**************@tk2msftngp13.phx.gbl...
Set the font on the td tag of the table.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"Mr Newbie" <he**@now.com> wrote in message
news:uj**************@TK2MSFTNGP09.phx.gbl...
//This is really fundemental, but I dont seem to be able to understand
why my table text wont render as I want it. I have a style sheet which
has many styles for all the standard tags etc. The body style for
example will change when I change the BODY tag specified in the style
sheet but the text within the table seems to be oblivious to this. In an
attempt to change all the text in the table, I created a style with a
selector name of TableText. This does not seem to work either.

//Here is my style below, in the table tag <TABLE class="TableText">
However the table will not conform to the text specified in the style.

Any ideas ?

TableText

{

BACKGROUND-COLOR: white;

FONT-FAMILY: Arial;

FONT-SIZE: 8pt;

FONT-WEIGHT: bold;

LETTER-SPACING: normal;

TEXT-TRANSFORM: none;

WORD-SPACING: normal;

}



Nov 19 '05 #4
No, not a bug. It operates very similarly to a web browser. Try View -
Refresh while on the design page.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"Mr Newbie" <he**@now.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Actually, i had forgotten to put the period (.) before the class name. It
works now, however, I have noticed that changes to the styles are not
neceecarilly relfected in the page , you need to sometimes close and open
then up again to make them come into effect, I think this could be a bug.
???
"Mr Newbie" <he**@now.com> wrote in message
news:eT**************@TK2MSFTNGP09.phx.gbl...
OK, but is it not possible to set it for the whole table ?

"S. Justin Gengo" <sjgengo@[no_spam_please]aboutfortunate.com> wrote in
message news:u$**************@tk2msftngp13.phx.gbl...
Set the font on the td tag of the table.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"Mr Newbie" <he**@now.com> wrote in message
news:uj**************@TK2MSFTNGP09.phx.gbl...
//This is really fundemental, but I dont seem to be able to understand
why my table text wont render as I want it. I have a style sheet which
has many styles for all the standard tags etc. The body style for
example will change when I change the BODY tag specified in the style
sheet but the text within the table seems to be oblivious to this. In
an attempt to change all the text in the table, I created a style with
a selector name of TableText. This does not seem to work either.

//Here is my style below, in the table tag <TABLE class="TableText">
However the table will not conform to the text specified in the style.

Any ideas ?

TableText

{

BACKGROUND-COLOR: white;

FONT-FAMILY: Arial;

FONT-SIZE: 8pt;

FONT-WEIGHT: bold;

LETTER-SPACING: normal;

TEXT-TRANSFORM: none;

WORD-SPACING: normal;

}




Nov 19 '05 #5

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

Similar topics

4
5433
by: lawrence | last post by:
Can anyone tell me why this code works in Netscape 7.1 but not in IE??? <SCRIPT type='text/javascript'> function makeVisible(nameOfDiv) {...
1
2000
by: Roy | last post by:
Hey all. All I'm trying to do is get a darn double solid bar in my datagrid footer. Doesn't seem to work. Any tips? The weird thing is all the other stylesheet attributes work. If I increase the...
0
2608
by: cedoucette | last post by:
I just wrote code to support sortable columns in a datagrid. It seems to work fine; but, it doesn't look right. The problem is that I have a generic style for links and a different style for the...
1
9011
by: RonY | last post by:
I have a dropdown which calls SetTimePeriod method on change the selection. In the JS function, I reset the field style.display based on what the selection is. This works fine with IE but not working...
8
6661
by: JT | last post by:
Hi, I have done a fair amount of style editing inline in ASP. I'm now using VS 2005 with a standard web project (not Web Application Project). This is my first foray into CSS in a style sheet...
6
13744
by: rongchaua | last post by:
Hi all, I want to change the style of a button. But I don't know how to do it. For example, I have already a button OK on form. I want to add these styles to this button (WS_CHILD || WS_VISIBLE ||...
1
15314
by: Armin Gajda | last post by:
Hi, I have the following problem: An input field get a border assigned by a style class (e.g. 2px solid red). When the field gets the focus, we set the border to green. element.style.border...
0
2626
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:...
3
1893
by: Michellevt | last post by:
Hi I am working on a project (for college) and wondered if anyone can help me with my problem. In the project we are not allowed to make use of any "style" attributes but "class" attributes...
3
1941
Claus Mygind
by: Claus Mygind | last post by:
I want to move some style setting into a javaScript function so I can make them variable but I get "invalid assignment left-hand side" error? see my question at the bottom of this message. It...
0
7124
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6998
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...
0
7163
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7200
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7375
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...
0
5460
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,...
0
3090
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3078
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
287
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...

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.