Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 4.5.1 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4.5.1: in C# and VB by Imar Spaanjaars; ISBN: 978-1-118-84677-3
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4.5.1 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 23rd, 2016, 05:14 PM
Authorized User
 
Join Date: Dec 2015
Posts: 12
Thanks: 0
Thanked 1 Time in 1 Post
Default Setting Alternative Font Colors

I'm progressing slowly but everything is going great. I'm currently working on Chapter 16, "Web Site Security". However, I've noticed that I don't like the font colors on a number of my web pages (including login.aspx). The font colors that I'd like to change (primarily in the "darkgrey" format) are the ones that seemingly are dynamically generated i.e. "Register to use Web Site" on the Login.aspx page, The entire "Reviews List" on the ReviewsAndGenere" page, The hyperlinks on the "Home" page, etc. All come out dark red on the dark grey background. For the life of me, I can't seem to find how to change the "color" attribute for these on the css forms, the master pages or the pages on which they are generated. Any suggestions on how you access their color attributes?

T
 
Old May 31st, 2016, 09:35 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

You can either set them directly (using something like "a" in your CSS file) or use the various templates for the controls. You can click Convert to Template on the control's Smart Tasks panel and then directly modify the underlying controls in Design or Markup view.

Hope this helps,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old October 12th, 2016, 09:21 AM
Registered User
 
Join Date: Oct 2016
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

If you are working on web, try to learn basic of CSS.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Colors scandalous Access 1 February 8th, 2007 01:01 PM
how to get font ,color,font size of text in win32 satishsatao Visual C++ 0 April 5th, 2006 05:05 AM
Problems with colors Sara Access VBA 4 January 21st, 2005 11:00 AM
2 Font Color menu box that show 2 different colors alienscript Excel VBA 0 December 5th, 2003 01:22 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.