Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Hi..i have CSS and images problem in Url Rewriting

Hi..i have CSS and images problem in Url Rewriting

Scheduled Pinned Locked Moved ASP.NET
helpcss
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jay Bhagatwala
    wrote on last edited by
    #1

    Hello All... when i apply URL rewriting the page is working fine. but the problems is : CSS and IMAGES are not shown on the page due to path is changed. i have used RewriteModule for URL rewriting now what should i do to avoid this problem which style of coding i shud used.. i need your help ...thnx

    Jay R.Bhagatwala

    G 1 Reply Last reply
    0
    • J Jay Bhagatwala

      Hello All... when i apply URL rewriting the page is working fine. but the problems is : CSS and IMAGES are not shown on the page due to path is changed. i have used RewriteModule for URL rewriting now what should i do to avoid this problem which style of coding i shud used.. i need your help ...thnx

      Jay R.Bhagatwala

      G Offline
      G Offline
      Guffa
      wrote on last edited by
      #2

      Specify an absolute url to the css files and images. Like for example http://www.mysite.com/images/logo.gif instead of images/logo.gif. If the rewritten url is still in the same application, you can use a path relative to the site root instead of relative to the page. Like for example /images/logo.gif instead of images/logo.gif.

      --- single minded; short sighted; long gone;

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups