Pete,
the easiest way to see which styles are applied (or not) to certain
elements would be the dev tools in Firefox. Here you can just
right-click an element, then press 'Q' in the context menu. You will see
the rules that apply and the file and line number where it originates.
You can even change the rules on the fly to see the effects of the
modifications you're planning.
Hth
Michael
From: Action Request System discussion list(ARSList)
[mailto:arslist@ARSLIST.ORG] On Behalf Of Peter Joran
Sent: Thursday, August 16, 2012 9:34 PM
To: arslist@ARSLIST.ORG
Subject: CSS Styling question
**
All
This topic is a little OT but the CSS forums are not as responsive as
the good folks here in the arslist. There is one KB that addresses the
issue but the style sheet syntax did not seem very clear to me; probably
due to lack of understanding of CSS.
I need to apply styling to a field (trim text) that is inside a div. The
view source is below.
div id=WIN_0_536870988 arid=536870988 artype=Trim arsubtype=3
ardbn=txt_MyRequests arcolor=white class=h1 arfid536870988
ardbntxt_MyRequests trimdiv style=z-index:1103#59;top:17#59;
left:534#59; width:210#59; height:40#59;background-color:white#59;
Specifically, I want to change the color to Blue and justify the text
Left. I know I can do this particular style with the field attributes
but this is just a test run before trying more complex CSS solutions.
The style is not being applied and I have cleared the browser cache and
flushed the MT cache.
This is what my style sheet looks like and added div#WIN_0_536870988 to
the Custom CSS Style field attribute.
div#WIN_0_536870988
{
color:blue;
text-align:left;
font-weight:bold;
}
All thoughts gratefully accepted!
Many thanks
Pete
_attend WWRUG12 www.wwrug.com ARSlist: Where the Answers Are_
___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug12 www.wwrug12.com ARSList: Where the Answers Are
ING-DiBa AG, Frankfurt am Main. Registernummer HRB 7727, Handelsregister
Amtsgericht Frankfurt am Main. Vorstand: Roland Boekhout (Vorsitzender),
Herbert Willius (stellv. Vorsitzender), Bas Brouwers, Bernd Geilen, Katharina
Herrmann, Martin Krebs.
Aufsichtsrat: Ben Tellings (Vorsitzender)
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese
E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den
Absender und vernichten Sie diese Mail.
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist
nicht gestattet.
This e-mail may contain confidential and/or privileged information. If
you are not the intended recipient (or have received this e-mail in
error) please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.
___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug12 www.wwrug12.com ARSList: Where the Answers Are