Hi,
Sorry for the stupid question but :-
Am I correct in thinking that a CSS style sheet file only affects HTML
elements and not asp.net controls and that the skin file is used for this?
I am trying to set up a theme and no matter what I put in the CSS file, it
doesn't seem to have any effect on my pages.
Regards
Mike 6 1324
Mike,
asp.net controls render as html elements. Viewing html source of the page
(available on mouse rightclick) will help you to understand what html your
controls produce.
Eliyahu
"Mike Grace" <no**************@xxx.xxx> wrote in message
news:uu**************@TK2MSFTNGP02.phx.gbl... Hi,
Sorry for the stupid question but :-
Am I correct in thinking that a CSS style sheet file only affects HTML elements and not asp.net controls and that the skin file is used for this?
I am trying to set up a theme and no matter what I put in the CSS file, it doesn't seem to have any effect on my pages. Regards
Mike
Thanks for the info, but it doesn't seem to help.
I have looked at the source and I have set a css element to change a colour
but nothing seems to happen.
Mike
"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:uL**************@TK2MSFTNGP03.phx.gbl... Mike,
asp.net controls render as html elements. Viewing html source of the page (available on mouse rightclick) will help you to understand what html your controls produce.
Eliyahu
"Mike Grace" <no**************@xxx.xxx> wrote in message news:uu**************@TK2MSFTNGP02.phx.gbl... Hi,
Sorry for the stupid question but :-
Am I correct in thinking that a CSS style sheet file only affects HTML elements and not asp.net controls and that the skin file is used for this?
I am trying to set up a theme and no matter what I put in the CSS file, it doesn't seem to have any effect on my pages. Regards
Mike
What control are you trying to style and how?
Eliyahu
"Mike Grace" <no**************@xxx.xxx> wrote in message
news:uq**************@TK2MSFTNGP05.phx.gbl... Thanks for the info, but it doesn't seem to help.
I have looked at the source and I have set a css element to change a colour but nothing seems to happen.
Mike
"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message news:uL**************@TK2MSFTNGP03.phx.gbl... Mike,
asp.net controls render as html elements. Viewing html source of the page (available on mouse rightclick) will help you to understand what html your controls produce.
Eliyahu
"Mike Grace" <no**************@xxx.xxx> wrote in message news:uu**************@TK2MSFTNGP02.phx.gbl... Hi,
Sorry for the stupid question but :-
Am I correct in thinking that a CSS style sheet file only affects HTML elements and not asp.net controls and that the skin file is used for this?
I am trying to set up a theme and no matter what I put in the CSS file, it doesn't seem to have any effect on my pages. Regards
Mike
For example an asp:dropdownlist control
I must be specifying it incorrectly in the style sheet.
Also, I don't know how to change the disabled colour of a checkbox.
Mike
"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl... What control are you trying to style and how?
Eliyahu
"Mike Grace" <no**************@xxx.xxx> wrote in message news:uq**************@TK2MSFTNGP05.phx.gbl... Thanks for the info, but it doesn't seem to help.
I have looked at the source and I have set a css element to change a colour but nothing seems to happen.
Mike
"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message news:uL**************@TK2MSFTNGP03.phx.gbl... Mike,
asp.net controls render as html elements. Viewing html source of the page (available on mouse rightclick) will help you to understand what html your controls produce.
Eliyahu
"Mike Grace" <no**************@xxx.xxx> wrote in message news:uu**************@TK2MSFTNGP02.phx.gbl... Hi,
Sorry for the stupid question but :-
Am I correct in thinking that a CSS style sheet file only affects HTML elements and not asp.net controls and that the skin file is used for this?
I am trying to set up a theme and no matter what I put in the CSS file, it doesn't seem to have any effect on my pages. Regards
Mike
A ddl renders as an html select. If you wish to apply a style to all ddls,
you should make a css rule for select. Alternatively you can use CssClass
property.
I am not sure if browsers support changing the disabled colors for
checkboxes.
Eliyahu
"Mike Grace" <no**************@xxx.xxx> wrote in message
news:u%****************@TK2MSFTNGP05.phx.gbl... For example an asp:dropdownlist control
I must be specifying it incorrectly in the style sheet.
Also, I don't know how to change the disabled colour of a checkbox.
Mike "Eliyahu Goldin" <re*************@monarchmed.com> wrote in message news:%2****************@TK2MSFTNGP02.phx.gbl... What control are you trying to style and how?
Eliyahu
"Mike Grace" <no**************@xxx.xxx> wrote in message news:uq**************@TK2MSFTNGP05.phx.gbl... Thanks for the info, but it doesn't seem to help.
I have looked at the source and I have set a css element to change a colour but nothing seems to happen.
Mike
"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message news:uL**************@TK2MSFTNGP03.phx.gbl... Mike,
asp.net controls render as html elements. Viewing html source of the page (available on mouse rightclick) will help you to understand what html your controls produce.
Eliyahu
"Mike Grace" <no**************@xxx.xxx> wrote in message news:uu**************@TK2MSFTNGP02.phx.gbl... > Hi, > > Sorry for the stupid question but :- > > Am I correct in thinking that a CSS style sheet file only affects HTML > elements and not asp.net controls and that the skin file is used for > this? > > I am trying to set up a theme and no matter what I put in the CSS > file, it doesn't seem to have any effect on my pages. > > > > Regards > > > Mike >
I did try this and it didn't make any difference.
Perhaps the .skin went over the top of it?
Tomorrow I will try it again and if it still doesn't work, then I will post
my css file.
Do you need to specify the .css file in the theme at all or does ASP.NET
just use it if it is there?
Mike
"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:eO**************@TK2MSFTNGP03.phx.gbl... A ddl renders as an html select. If you wish to apply a style to all ddls, you should make a css rule for select. Alternatively you can use CssClass property.
I am not sure if browsers support changing the disabled colors for checkboxes.
Eliyahu
"Mike Grace" <no**************@xxx.xxx> wrote in message news:u%****************@TK2MSFTNGP05.phx.gbl... For example an asp:dropdownlist control
I must be specifying it incorrectly in the style sheet.
Also, I don't know how to change the disabled colour of a checkbox.
Mike "Eliyahu Goldin" <re*************@monarchmed.com> wrote in message news:%2****************@TK2MSFTNGP02.phx.gbl... What control are you trying to style and how?
Eliyahu
"Mike Grace" <no**************@xxx.xxx> wrote in message news:uq**************@TK2MSFTNGP05.phx.gbl... Thanks for the info, but it doesn't seem to help.
I have looked at the source and I have set a css element to change a colour but nothing seems to happen.
Mike
"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message news:uL**************@TK2MSFTNGP03.phx.gbl... > Mike, > > asp.net controls render as html elements. Viewing html source of the > page (available on mouse rightclick) will help you to understand what > html your controls produce. > > Eliyahu > > "Mike Grace" <no**************@xxx.xxx> wrote in message > news:uu**************@TK2MSFTNGP02.phx.gbl... >> Hi, >> >> Sorry for the stupid question but :- >> >> Am I correct in thinking that a CSS style sheet file only affects >> HTML elements and not asp.net controls and that the skin file is used >> for this? >> >> I am trying to set up a theme and no matter what I put in the CSS >> file, it doesn't seem to have any effect on my pages. >> >> >> >> Regards >> >> >> Mike >> > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Phil Thompson |
last post by:
does it matter in which order i place different style sheets
i.e.
<link rel="stylesheet" type="text/css" media="screen"
href="style/screen.css" />
<link rel="stylesheet" type="text/css"...
|
by: Griff |
last post by:
We're replacing a CLASSIC ASP application.
In this application, we presented a dialogue box that allowed end users to
specify exactly how they wanted their screen to look. So, they could set...
|
by: Radium |
last post by:
Cascading Style Sheet is an extreme hazard to your privacy. It
allows others on the internet to see your monitor and files. It allows
them to copy images on your monitor to their computers. It...
|
by: Kat |
last post by:
I have a master page, with a reference to a style sheet in the header, as
usual:
<link href="Styles.css" type="text/css" rel="stylesheet" />
I have a content page, with a label on it:
...
|
by: New Bee |
last post by:
Hi,
I have been looking at Themes and Skins today and now resonably understand
how they work at a ground level. But I have a couple of questions.
1. ) StyleSheetTheme
I dont understand...
| |
by: jonathanellis |
last post by:
Hello:
I am having a problem with a web site that i built not showing up properly in IE6. I haven't tested it in IE7, but I have tested it in Firefox and Safari. Both Firefox and Safari show the...
|
by: Med |
last post by:
Hi,
Since my upgrade from VWD2005 to 2008, I am getting lots of 'The class or
CssClass value is not defined.' warnings for my css classes in UserControls
only!
To avoid these warning, I can...
|
by: =?Utf-8?B?SmVycnkgQw==?= |
last post by:
I have a machine running IIS 6.0. I just replaced the web.config and several
aspx pages in the application and now the style sheets are not working. the
images from the themes work but not the css...
|
by: Cramer |
last post by:
According to the MSDN docs, we cannot programatically create our own themes
or skins:
"Page and control developers do not use the ControlSkinDelegate,
ControlSkin, or PageTheme classes directly....
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |