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. problem with css

problem with css

Scheduled Pinned Locked Moved ASP.NET
csshelp
4 Posts 3 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.
  • E Offline
    E Offline
    eyeseetee
    wrote on last edited by
    #1

    Hi I have a strange problem I have a button which has a cssclass in it and then in the stylesheet is where i specify the details for it.However it is having no affect on the button below is the code: .btcomp { background-color:#FFFFFF; font-weight:bold; width:200px; height:500px; } any clues would be great thanks

    P D 2 Replies Last reply
    0
    • E eyeseetee

      Hi I have a strange problem I have a button which has a cssclass in it and then in the stylesheet is where i specify the details for it.However it is having no affect on the button below is the code: .btcomp { background-color:#FFFFFF; font-weight:bold; width:200px; height:500px; } any clues would be great thanks

      P Offline
      P Offline
      Paddy Boyd
      wrote on last edited by
      #2

      Are you sure that the stylesheet is linked to the page correctly?

      E 1 Reply Last reply
      0
      • P Paddy Boyd

        Are you sure that the stylesheet is linked to the page correctly?

        E Offline
        E Offline
        eyeseetee
        wrote on last edited by
        #3

        sorted it, i needed to delete my cache for some reason thanks

        1 Reply Last reply
        0
        • E eyeseetee

          Hi I have a strange problem I have a button which has a cssclass in it and then in the stylesheet is where i specify the details for it.However it is having no affect on the button below is the code: .btcomp { background-color:#FFFFFF; font-weight:bold; width:200px; height:500px; } any clues would be great thanks

          D Offline
          D Offline
          dilipv 0
          wrote on last edited by
          #4

          hi a-+s-+p-+, Since you are applying CSS to Server side Control then either you are not specifying CSS class to style tag inside head as follows. <head> <style type="text/css"> .btcomp { background-color:#FFFFFF; font-weight:bold; width:200px; height:500px; } </style> </head> OR you are made separate CSS within the project but not linked CSS to page correctly as follows. <link href="styles.css" rel="stylesheet" /> Hope this will solve your problem. Thanks & Regards Dilipv

          Dilip Kumar Vishwakarma Programmer .Net Consulting

          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