Jump to content

Archived

This topic is now archived and is closed to further replies.

Cheap Commercial

convert java to css

Recommended Posts

depends on the type of javascript. if you have a javascript drop down menu you can do that better with just css and xhtml in my opinion, if it's something else, it can be styled with css, the same way that xhtml is.
google something like "styling javascipt with css"
or "javascript and css"
or something like that.

Share this post


Link to post
Share on other sites
[!--quoteo(post=365869:date=Apr 17 2006, 10:42 PM:name=businessman332211)--][div class=\'quotetop\']QUOTE(businessman332211 @ Apr 17 2006, 10:42 PM) [snapback]365869[/snapback][/div][div class=\'quotemain\'][!--quotec--]
depends on the type of javascript. if you have a javascript drop down menu you can do that better with just css and xhtml in my opinion, if it's something else, it can be styled with css, the same way that xhtml is.
google something like "styling javascipt with css"
or "javascript and css"
or something like that.
[/quote]

ahah ok thankxx
boy you know alot about coding

Share this post


Link to post
Share on other sites
only xhtml, and css, I am working on javascript, php, sql(it's variations, web content, design, layout, and graphic design, but those are going to take a while to finish learning. I like self teaching, so it sometimes takes shorter time or longer depending.

Share this post


Link to post
Share on other sites
[!--quoteo(post=365868:date=Apr 17 2006, 11:38 PM:name=Derek CC)--][div class=\'quotetop\']QUOTE(Derek CC @ Apr 17 2006, 11:38 PM) [snapback]365868[/snapback][/div][div class=\'quotemain\'][!--quotec--]hi is there a way to convert javascript to css and be able to put it in a <style> tag?[/quote]

No. Javascript is a language and CSS is (effectively) mark-up. What you might want to consider is placing your javascript in an external file and adding it to your pages using syntax like the following:
[code]<script type="text/javascript" src="your_js_file.js"></script>[/code]
The javascript file should be only script, so exclude the opening and closing tags.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.