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. Help with MasterPage CSS

Help with MasterPage CSS

Scheduled Pinned Locked Moved ASP.NET
csscomhelp
7 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.
  • M Offline
    M Offline
    MeterMan
    wrote on last edited by
    #1

    For some reason when I use style sheets and master pages n the designer it appears to be layed out perfectly. However, when I load the page(s) no style sheet formating seems to take effect and I'm not sure why. Please look at http://pastebin.com/616053 (that is my master page) http://pastebin.com/616055 (my login page using masterpage) http://pastebin.com/616057 (printlayout.css) http://pastebin.com/616058 (style.css) http://pastebin.com/616061 (top-right.css) I have all of these files in the working dir but again it seems like asp doesn't like my style sheets and I can't figure out why. Thanks for the help. MeterMan 'If its broken I probably did it'

    S M 2 Replies Last reply
    0
    • M MeterMan

      For some reason when I use style sheets and master pages n the designer it appears to be layed out perfectly. However, when I load the page(s) no style sheet formating seems to take effect and I'm not sure why. Please look at http://pastebin.com/616053 (that is my master page) http://pastebin.com/616055 (my login page using masterpage) http://pastebin.com/616057 (printlayout.css) http://pastebin.com/616058 (style.css) http://pastebin.com/616061 (top-right.css) I have all of these files in the working dir but again it seems like asp doesn't like my style sheets and I can't figure out why. Thanks for the help. MeterMan 'If its broken I probably did it'

      S Offline
      S Offline
      student_rhr
      wrote on last edited by
      #2

      I had a similar problem. Do you have your style sheet in App_Theme folder? It could be as simple as the path of CSS file like if the path to CSS from MasterPage is different then ContentPage. Maybe someone with more knowldge can explain why this is happening. Thanks.

      M 1 Reply Last reply
      0
      • S student_rhr

        I had a similar problem. Do you have your style sheet in App_Theme folder? It could be as simple as the path of CSS file like if the path to CSS from MasterPage is different then ContentPage. Maybe someone with more knowldge can explain why this is happening. Thanks.

        M Offline
        M Offline
        MeterMan
        wrote on last edited by
        #3

        App_Theme folder I do not have any folders of that name in the mydocuments/VisualStudio2005/websites/ not in projects. I simply have the file in the same folder as the aspx files. Win32newb "Programming is like Sex, make a mistake and you end up providing support for a long time"

        S 1 Reply Last reply
        0
        • M MeterMan

          App_Theme folder I do not have any folders of that name in the mydocuments/VisualStudio2005/websites/ not in projects. I simply have the file in the same folder as the aspx files. Win32newb "Programming is like Sex, make a mistake and you end up providing support for a long time"

          S Offline
          S Offline
          student_rhr
          wrote on last edited by
          #4

          In the solution explorer you can right click on your root folder and add App_Theme YourWebsite > Add ASP.NET Folder > App_Theme Hope that helps.

          M 1 Reply Last reply
          0
          • S student_rhr

            In the solution explorer you can right click on your root folder and add App_Theme YourWebsite > Add ASP.NET Folder > App_Theme Hope that helps.

            M Offline
            M Offline
            MeterMan
            wrote on last edited by
            #5

            Thanks for your help, i went to the root and hit add asp.net folder I didn't see a app_theme but i did see theme. I hit it and it made theme1. I took and dragged in the solution explorer the files style.css printlayout.css and top-right.css to that folder. I rebuilt my project and still the same exact results. :( Win32newb "Programming is like Sex, make a mistake and you end up providing support for a long time"

            M 1 Reply Last reply
            0
            • M MeterMan

              Thanks for your help, i went to the root and hit add asp.net folder I didn't see a app_theme but i did see theme. I hit it and it made theme1. I took and dragged in the solution explorer the files style.css printlayout.css and top-right.css to that folder. I rebuilt my project and still the same exact results. :( Win32newb "Programming is like Sex, make a mistake and you end up providing support for a long time"

              M Offline
              M Offline
              MeterMan
              wrote on last edited by
              #6

              Anyone have any other ideas on this? The css stuff is great but for some reason I can't get my pages to use it :( Win32newb "Programming is like Sex, make a mistake and you end up providing support for a long time"

              1 Reply Last reply
              0
              • M MeterMan

                For some reason when I use style sheets and master pages n the designer it appears to be layed out perfectly. However, when I load the page(s) no style sheet formating seems to take effect and I'm not sure why. Please look at http://pastebin.com/616053 (that is my master page) http://pastebin.com/616055 (my login page using masterpage) http://pastebin.com/616057 (printlayout.css) http://pastebin.com/616058 (style.css) http://pastebin.com/616061 (top-right.css) I have all of these files in the working dir but again it seems like asp doesn't like my style sheets and I can't figure out why. Thanks for the help. MeterMan 'If its broken I probably did it'

                M Offline
                M Offline
                MeterMan
                wrote on last edited by
                #7

                Anyone have any idea why i can't get my css files to work please ? Win32newb "Programming is like Sex, make a mistake and you end up providing support for a long time"

                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