Jump to content

convert java to css


Cheap Commercial

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.
Link to comment
https://forums.phpfreaks.com/topic/7685-convert-java-to-css/#findComment-28029
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
Link to comment
https://forums.phpfreaks.com/topic/7685-convert-java-to-css/#findComment-28030
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.
Link to comment
https://forums.phpfreaks.com/topic/7685-convert-java-to-css/#findComment-28104
Share on other sites

Archived

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

×
×
  • Create New...

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.