SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Mar 2012
    Posts
    58
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question how can I convert embedded css codes to external javascript (link)?

    hello,

    I want to convert the following embedded css code to link (external).

    img.top {vertical-align:text-top;}


    could you advise how I should write this code in my JavaScript file? what is the rule?

  2. #2
    SitePoint Enthusiast OMGCarlos's Avatar
    Join Date
    Apr 2012
    Location
    Boston, MA
    Posts
    91
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I have no idea what you mean. Do you want to put the css in an external css file - which is what <link> does? Or do you want javascript to execute the css...somehow?


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •