Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Use of multiple Classess of CSS in a single element
Go
New
Search
Notify
Tools
Reply
  
[SOLVED] Use of multiple Classess of CSS in a single element
 Login/Join
 
Member
posted
Hi All,
Can we use multiple classess of CSS in a single element? For example:

below are the 2 classess of my CSS.
table.striped .alt td, th {
	background-color:#EEEEEE;
	border-bottom:#999999;
	border-top:#999999;
}

.table .tableborder{
	border:1px solid #999999;
}


Now I am using the above 2 classes in a table tag.
<table class="striped tableborder">

Will the above tag have any effect? This tag is supposed to give alternate row color. But I am not getting alternate row color. Can anyone please help me in this regard?

This message has been edited. Last edited by: Kerry,


WebFOCUS 7.6 , Windows XP
Excel, PDF,HTML
 
Posts: 2 | Registered: January 04, 2010Reply With QuoteReport This Post
<JG>
posted
Trying to be too smart.

Just use the standard WebFOCUS stylesheet to set the alternate colour.

Edit.

Please use code tags when posting code.

You can probabley see what it's done to this post.
 
Reply With QuoteReport This Post
Virtuoso
posted Hide Post
You seem to have left out the tag in question, but yes, you can use multiple CSS classes on a tag. In HTML you would specify those as
<table class="striped tableborder">


In a WebFOCUS stylesheet you can use for example
TYPE=DATA, CLASS=striped tableborder, $

Note that those are currently limited to 23 characters (so you're cutting it close with those class names). We have an open case on that.

This message has been edited. Last edited by: Wep5622,


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
 
Posts: 1643 | Location: Enschede, Netherlands | Registered: August 12, 2010Reply With QuoteReport This Post
Member
posted Hide Post
JG and Wep5622, Thanks a lot for your replies. Smiler In fact this was my first post in the forum. Going forward I will use the code tags when posting code.


WebFOCUS 7.6 , Windows XP
Excel, PDF,HTML
 
Posts: 2 | Registered: January 04, 2010Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Use of multiple Classess of CSS in a single element

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.