Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jul 13th, 2006, 10:00 AM   #1
java_roshan
Professional Programmer
 
Join Date: Mar 2005
Location: Student of University of Mumbai, Maharashtra State, India
Posts: 344
Rep Power: 4 java_roshan is on a distinguished road
CSS sheets

Is it better maintaining separate CSS files for particular rendering engines or is tweaking a single CSS file with those CDATA tags inside a page helpful.
__________________
Visit: http://www.somaiya.edu
java_roshan is offline   Reply With Quote
Old Jul 13th, 2006, 10:07 AM   #2
Agent 47
Hobbyist Programmer
 
Agent 47's Avatar
 
Join Date: Nov 2005
Posts: 122
Rep Power: 3 Agent 47 is on a distinguished road
Are you talking about 'hacking' your CSS to make things work
with Internet Explorer?

If so, you should be using conditionals to include seperate IE
stylesheets.

What does this have to do with CDATA tags?
__________________
"I'm going to become rich and famous when I invent a device that allows you to stab people in the face over the internet"
Agent 47 is offline   Reply With Quote
Old Jul 13th, 2006, 10:17 AM   #3
java_roshan
Professional Programmer
 
Join Date: Mar 2005
Location: Student of University of Mumbai, Maharashtra State, India
Posts: 344
Rep Power: 4 java_roshan is on a distinguished road
Quote:
Originally Posted by Agent 47
Are you talking about 'hacking' your CSS to make things work
with Internet Explorer?
Yes.

Quote:
Originally Posted by Agent 47
If so, you should be using conditionals to include seperate IE
stylesheets.
Now I get it.

Quote:
Originally Posted by Agent 47
What does this have to do with CDATA tags?
I saw this code at wikipedia,
<style type="text/css">/*<![CDATA[*/
@import "/w/index.php?title=MediaWiki:Common.css&action=raw&ctype=text/css&smaxage=2678400";
@import "/w/index.php?title=MediaWiki:Monobook.css&action=raw&ctype=text/css&smaxage=2678400";
@import "/w/index.php?title=-&action=raw&gen=css&maxage=2678400";
/*]]>*/</style>

And I am sorry, I prematurely, posted this question.
__________________
Visit: http://www.somaiya.edu
java_roshan is offline   Reply With Quote
Old Jul 13th, 2006, 12:14 PM   #4
Agent 47
Hobbyist Programmer
 
Agent 47's Avatar
 
Join Date: Nov 2005
Posts: 122
Rep Power: 3 Agent 47 is on a distinguished road
The CDATA tags are there simply to stop the XML parser
from trying to parse your CSS/JS/Whatever...
__________________
"I'm going to become rich and famous when I invent a device that allows you to stab people in the face over the internet"
Agent 47 is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
learning freetld Java 5 May 2nd, 2005 11:27 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 7:39 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC