473,320 Members | 2,177 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,320 software developers and data experts.

CSS Editor in visual studio 2005

Hi,

I know that visual studio 2005 has built-in CSS editor. I have the following
code in my aspx file at the <head> section:

<style type="text/css" >

<!--

BODY { background: url(foo.gif) red; color: black }

.note { margin-left: 5em; margin-right: 5em }

-->

</style>

How can I edit the <style> area by using VS2005 CSS editor?

Thanks,

Max
May 15 '06 #1
2 1364
I suggest putting your CSS in an external stylesheet. I know the CSS bits
work there.

--
Gregory A. Beamer

*************************************************
Think Outside the Box!
*************************************************
"Maxwell2006" <al******@newsgroup.nospam> wrote in message
news:%2******************@TK2MSFTNGP03.phx.gbl...
Hi,

I know that visual studio 2005 has built-in CSS editor. I have the
following code in my aspx file at the <head> section:

<style type="text/css" >

<!--

BODY { background: url(foo.gif) red; color: black }

.note { margin-left: 5em; margin-right: 5em }

-->

</style>

How can I edit the <style> area by using VS2005 CSS editor?

Thanks,

Max

May 16 '06 #2
Hi Max,

The Style Builder in Visual Studio 2005 can only be used to edit styles in
standalone stylesheet files or edit controls¡¯ in-line style. Regarding
your issue, you can either:

1. Create a temporary stylesheet file and use Style Builder to work on it.
Then copy the content into webform.
2. Create a standalone stylesheet file and create a link in webform:
<link rel="stylesheet" href="default.css" />

Regards,

Walter Wang
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

May 16 '06 #3

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

Similar topics

3
by: Shapper | last post by:
Hello, I am starting 2 new projects to deliver in January 2006. I want to create them in Asp.Net 2.0 using Visual Studio 2005. All my clients web sites are Visual Studio 2003 projects in...
0
by: fiona | last post by:
Innovasys Ltd., a leader in help authoring and documentation tools, today announced the inclusion of a tailored version of the Innovasys HelpStudio help authoring product, HelpStudio Lite, in the...
10
by: Steve | last post by:
I am trying to create a DLL in Visual Studio 2005-Visual Basic that contains custom functions. I believe I need to use COM interop to allow VBA code in Excel 2002 to access it. I've studied...
3
by: Edwin Smith | last post by:
I have a 2 form project in VS2005 that now hangs whenever I try to do anything with the second form. This seems to have started when I added some SQL tables from a Pervasive v.9 database using the...
1
by: Nathan Sokalski | last post by:
Visual Studio 2005 recently stopped generating the *.designer.vb files for my *.aspx and *.ascx files. I am using Service Pack 1, and do not believe I did anything differently than normal prior to...
1
by: Nathan Sokalski | last post by:
Visual Studio 2005 unexpectedly stopped generating the *.designer.vb files for *.aspx and *.ascx files. After a few days of frustration trying to fix this, I noticed that it had the following...
3
by: Robert Dailey | last post by:
Hi, I've gone through tons of XML editors: - XML Spy - Oxygen - UltraEdit - PSPad - Many others I can't think of...
7
by: Anil Gupte | last post by:
I am trying to decide between buying Visual Studio 2005 Professional and Standard versions. As far as I can tell, there is not a whole lot of difference, but the price for Professional is almost...
4
by: wbsurfver | last post by:
We have classic ASP running (so I'm told) on IIS 6, and I found a vbc executable on the system that says visual basic 7 when I run vbc - help . If I have them install Visual Studio 2005, I am...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.