Logo 
Search:

MOSS Forum

Ask Question   UnAnswered
Home » Forum » MOSS       RSS Feeds

styles not working

  Asked By: Parvesh    Date: Nov 03    Category: MOSS    Views: 593

On a custom MOSS aspx page, the following only partially works:
th {
border-style: none;
text-align: left;
color: red;
font-size:16px;
}
The color & font-size have no effect on resultant display, while the text-align
works fine. None of these are specified in the table{...} section.

When I use these on a dummy html file on my PC and open with browser the effects
of color & size are exactly what is expected.

Anybody know what is goin on?
(man - this SP display stuff is inconsistent!!)

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Gobinda Navalagi     Answered On: Nov 03

Use the developer toolbar in IE8 to check the inheritance of styles for the
header row of that table. I suspect you'll find one of the built-in classes
has a '!Important' tagged on to the end of some of the styles. That marks
the CSS at that level as being non-overrideable. No matter what you specify
in a later file anything marked !Important will always be in effect.

 
Didn't find what you were looking for? Find more on styles not working Or get search suggestion and latest updates.




Tagged: