Eve For Enterprise    Eve Support Community    Forums  Hop To Forum Categories  OpenTopic  Hop To Forums  OpenTopic Assistance    OpenTopic Content Islands and CSS
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Groupee Member
Picture of MinutiaeMan
Posted
I've been working with adding content islands to my websites to draw some more attention to the board. Unfortunately, the styling of the islands is relatively poor; I've figured it's because I haven't managed all the details right.

The problem, though, is that the links for documentation from inside the board control panel do not lead anywhere useful; they just take me to the root URL of the Infopop Support board instead!

I've made some slight progress since starting out earlier this morning; I opened the actual CI file inside my browser and skimmed it for the class names, then created a special CSS file on my local site. This worked for one of my CI's -- the "featured messages" list which has the thread titles and limited information. However, the "news" list, which gives a more complete display of the message including the entire post, does not have any CSS classes included in it -- and thus I can't format it properly without changing the definitions for the rest of my website's page! How can I fix this?

My two content islands are displayed on this page: http://www.st-minutiae.com/cafe/index.shtml (scroll to the bottom).

Thanks, Smile

Dan Carlson, Administrator, Subspace Comms Network
A Proud Mac User!
 
Posts: 255 | Location: Bear, DE USA | Registered: May 03, 2002Reply With QuoteEdit or Delete MessageReport This Post
Groupee
Posted Hide Post
Here's something you can try.

Wrap the News content island in a div, such as:
<div id="news-ci">
</div>


Then, set the CSS styles for the elements in the content island as follows:
#news-ci a { color: orange; }
#news-ci span { font-weight: bold; }


What this will do is style only the elements that are contained within the specified DIV. Any span or a (or whatever you choose) elements outside will adhere to normal styles.
 
Posts: 3880 | Location: Seattle, WA | Registered: January 01, 2000Reply With QuoteEdit or Delete MessageReport This Post
Groupee Member
Picture of MinutiaeMan
Posted Hide Post
Ah... I wondered if a DIV tag might be useful...

Could you give me a hint of how to work that into an existing CSS style?

Here's what I've got right now...
td {
	font-family: Arial, Verdana, Helvetica, sans-serif;
	font-size: 10pt;
	color: #FFFFFF;
	background-color: #000000;
}


I've thought of a problem, though... the news content islands include several tables themselves, and there's no way to differentiate from the title of that table and the various contents...

Dan Carlson, Administrator, Subspace Comms Network
A Proud Mac User!
 
Posts: 255 | Location: Bear, DE USA | Registered: May 03, 2002Reply With QuoteEdit or Delete MessageReport This Post
Groupee
Posted Hide Post
Assuming the CSS you posted is what you want to apply to the news ci, try this:

<style type="text/css">
#news-ci td {
	font-family: Arial, Verdana, Helvetica, sans-serif;
	font-size: 10pt;
	color: #FFFFFF;
	background-color: #000000;
}
</style>


I don't quite follow the last part you posted. Give this a shot and let me know if you have trouble.
 
Posts: 3880 | Location: Seattle, WA | Registered: January 01, 2000Reply With QuoteEdit or Delete MessageReport This Post
Groupee Member
Picture of MinutiaeMan
Posted Hide Post
Actually, after I posted the question I figured out what I needed to do -- the only thing that confused me was that you didn't have all those returns in it. Thanks, though! Smile

But what about the lack of CSS styles inside the table of the "news" content island?

Dan Carlson, Administrator, Subspace Comms Network
A Proud Mac User!
 
Posts: 255 | Location: Bear, DE USA | Registered: May 03, 2002Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

Eve For Enterprise    Eve Support Community    Forums  Hop To Forum Categories  OpenTopic  Hop To Forums  OpenTopic Assistance    OpenTopic Content Islands and CSS