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
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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.