473,289 Members | 1,756 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,289 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 1363
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...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
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: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
1
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: 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...

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.