• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: News Module span tags and css problem
PostPosted: Fri Dec 31, 2004 4:55 pm 
Offline
Power Poster
Power Poster

Joined: Sun Sep 26, 2004 6:15 pm
Posts: 598
Location: Saskatchewan - Canada
With the latest daily build the News Module uses only span tags instead of div tags. Now if I use any css to format the news items I get a jumbled mess in both IE6 and Moz 1.7.5

To be more specific ... If I apply any style to the 'cms-module-news' class I get the mess. I can style all the other elements as long as I don't apply any style to cms-module-news.

The use of span and div tags with this module seems to flip-flop and I'm thinking there was a reason for the span only tags but cannot recall what it was.

This is definitely no programming priority ...

_________________
Greg


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: News Module span tags and css problem
PostPosted: Wed Jan 05, 2005 12:04 am 
Offline
Administrator
Administrator
User avatar

Joined: Fri Jun 11, 2004 6:58 pm
Posts: 3332
Location: Fairless Hills, Pa USA
This was because a div inside a div without any only tag in between is not valid xhtml.

You can use a display:block for news tag, and then display: inline for the date and title spans to get the same look.

I'm going to see if I can tweak if a little more to be both valid and easy to style...

_________________
http://about.me/tedkulp


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Hosting Nation - Managed CMSMS Hosting