473,385 Members | 2,014 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

css in external stylesheets for aspx pages

I was wondering if there are any pitfalls or issues with using external
(linked) style sheets when developing aspx pages. Can you apply css styles
to controls (like a datagrid or link button the same way you do for elements
in html?
Rod
Nov 18 '05 #1
3 1360
Should be no problems at all. The server-side code
doesn't leverage anything in the style sheet when
rendering output. It relies on the browser to take the
styles specified and then do the formatting.
-----Original Message-----
I was wondering if there are any pitfalls or issues with using external(linked) style sheets when developing aspx pages. Can you apply css stylesto controls (like a datagrid or link button the same way you do for elementsin html?
Rod
.

Nov 18 '05 #2
Rod,
You can apply external style sheets to aspx pages as you would in HTML.

Tu-Thach

----- Rod Snyder wrote: -----

I was wondering if there are any pitfalls or issues with using external
(linked) style sheets when developing aspx pages. Can you apply css styles
to controls (like a datagrid or link button the same way you do for elements
in html?
Rod

Nov 18 '05 #3
Yes, you can apply CSS styles to controls such as labels, datagrids, linkbuttons, etc. and some times these controls (such as the datagrid) have nested elements that you can apply CSS styles to. Just make sure the control contains a CssStyle property, and you should be good to go in most cases.
Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Jan Roland Eriksson | last post by:
Archive-name: www/stylesheets/newsgroup-faq Posting-Frequency: once a week Last-modified: 2004-07-26 Version: 2.00 URL: <http://css.nu/faq/ciwas-mFAQ.html> Maintainer: Jan Roland Eriksson...
0
by: Jan Roland Eriksson | last post by:
Archive-name: www/stylesheets/newsgroup-faq Posting-Frequency: once a week Last-modified: 2004-07-26 Version: 2.00 URL: <http://css.nu/faq/ciwas-mFAQ.html> Maintainer: Jan Roland Eriksson...
0
by: Jan Roland Eriksson | last post by:
Archive-name: www/stylesheets/newsgroup-faq Posting-Frequency: once a week Last-modified: 2004-07-26 Version: 2.00 URL: <http://css.nu/faq/ciwas-mFAQ.html> Maintainer: Jan Roland Eriksson...
11
by: Safalra | last post by:
I've always linked to external stylesheets using a line like: <link rel="stylesheet" href="style.css" type="text/css"> I recently installed the HTMLTidy extension for Firefox and it objected...
3
by: Guadala Harry | last post by:
Is it possible to view the contents of an external CSS style sheet that is referenced from any web page being viewed in the browser (IE6)? If so how? The css file physically lives on the server,...
5
by: George | last post by:
greetings, just checking if it is appropriate practice to use css stylesheets with aspx. If not, what is the recommended way to format aspx pages? If css is ok do you call the css same as...
8
by: Flip | last post by:
I have a website that's using Master pages (very cool). But when I put JS on there (to close the browser for example) coming from an external file, when I navigate away from the first page, the JS...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
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...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.