473,788 Members | 2,713 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Beta 2 (VS2005) StyleSheet Issue

Hello,

My organization is just beginning to test out Whitby with a plan to move to
it on release. We're just starting testing now and are coming across a
number of issues related to converting older VS2003 Framework 1.1 based
applications - nothing too bad but more work then we counted on.

There is one problem that has us stumped. We have a standard stylesheet
used on all of our asp.net apps. This stylesheet declares a 'button' style
that is used with asp.net LinkButtons. When compiled and executed in VS2003
it looks like a simple 95px rectangular box, grey background, centered text,
and a simple 1px border on all four sides. BUT, when compiled and run in
VS2005 it appears the same EXCEPT that there is an inner border around the
LinkButton text, giving the appearance of a box within a box. We have been
screwing around with different stylesheet declarations, app settings, etc.
So far nothing has made a difference. Does anyone out there have any idea
why there is a difference?

Here is the button stylesheet declaration:
..button
{
width: 95px;
height: 15px;
font-family: Arial, 'Microsoft Sans Serif';
font-size: 8pt;
color: black;
background-color: buttonface;
border-right: black 1px solid;
border-top: black 1px solid;
border-left: black 1px solid;
border-bottom: black 1px solid;
text-decoration: none;
text-align: center;
vertical-align: baseline;
}

Thanks in advance.

Nov 19 '05 #1
2 1268
"C Gatto" <ch*********@re moveme.gnb.ca> wrote in message
news:eG******** ******@TK2MSFTN GP14.phx.gbl...
Hello,

My organization is just beginning to test out Whitby with a plan to move
to it on release. We're just starting testing now and are coming across a
number of issues related to converting older VS2003 Framework 1.1 based
applications - nothing too bad but more work then we counted on.

There is one problem that has us stumped. We have a standard stylesheet
used on all of our asp.net apps. This stylesheet declares a 'button'
style that is used with asp.net LinkButtons. When compiled and executed
in VS2003 it looks like a simple 95px rectangular box, grey background,
centered text, and a simple 1px border on all four sides. BUT, when
compiled and run in VS2005 it appears the same EXCEPT that there is an
inner border around the LinkButton text, giving the appearance of a box
within a box. We have been screwing around with different stylesheet
declarations, app settings, etc. So far nothing has made a difference.
Does anyone out there have any idea why there is a difference?

Here is the button stylesheet declaration:
.button
{
width: 95px;
height: 15px;
font-family: Arial, 'Microsoft Sans Serif';
font-size: 8pt;
color: black;
background-color: buttonface;
border-right: black 1px solid;
border-top: black 1px solid;
border-left: black 1px solid;
border-bottom: black 1px solid;
text-decoration: none;
text-align: center;
vertical-align: baseline;
}

Thanks in advance.

No sooner did I send this then the answer appeared. Simply specifying the
button class to display as a block element did the trick: "display: block;".
Now why it ran in VS2003 without this specified, but not in VS2005 is
another mystery, and if anyone knows the answer I'd still like to know.
Nov 19 '05 #2

You'll have a more focused audience for your
VS.NET 2005 questions if you ask them at :

http://forums.microsoft.com/MSDN/default.aspx
or at
http://forums.asp.net/default.aspx?ForumGroupID=26


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
=============== =======

"C Gatto" <ch*********@re moveme.gnb.ca> wrote in message
news:eG******** ******@TK2MSFTN GP14.phx.gbl...
Hello,

My organization is just beginning to test out Whitby with a plan to move to it on
release. We're just starting testing now and are coming across a number of issues
related to converting older VS2003 Framework 1.1 based applications - nothing too bad
but more work then we counted on.

There is one problem that has us stumped. We have a standard stylesheet used on all of
our asp.net apps. This stylesheet declares a 'button' style that is used with asp.net
LinkButtons. When compiled and executed in VS2003 it looks like a simple 95px
rectangular box, grey background, centered text, and a simple 1px border on all four
sides. BUT, when compiled and run in VS2005 it appears the same EXCEPT that there is an
inner border around the LinkButton text, giving the appearance of a box within a box.
We have been screwing around with different stylesheet declarations, app settings, etc.
So far nothing has made a difference. Does anyone out there have any idea why there is
a difference?

Here is the button stylesheet declaration:
.button
{
width: 95px;
height: 15px;
font-family: Arial, 'Microsoft Sans Serif';
font-size: 8pt;
color: black;
background-color: buttonface;
border-right: black 1px solid;
border-top: black 1px solid;
border-left: black 1px solid;
border-bottom: black 1px solid;
text-decoration: none;
text-align: center;
vertical-align: baseline;
}

Thanks in advance.

Nov 19 '05 #3

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

Similar topics

3
1926
by: Robert | last post by:
I have an application with custom configuration sections in it's app.config file. Here's a shortened excerpt: <monitors> <monitor type="SystemMonitor.Monitors.NetworkAvailabilityMonitor,SystemMonitor"> <notifiers> <notifier type="SystemMonitor.Notifiers.MessageBoxNotifier,SystemMonitor" />
4
1595
by: Wayne | last post by:
This may not be the best group to ask in as the question is about the beta, if there is a better place please point me to it. I've had beta 1 installed, after a re-install of the OS this weekend I installed beta 2. I opened a project that I had written with beta 1 and tried to compile it, when I compile it I get the error below. I am not sure what the error means nor do I know how to fix it. Is the Microsoft.Common.targets file new to...
5
1323
by: WRH | last post by:
Hello I have VS 2003 and would like to try the 2005 beta. Can someone tell me...any conflicts if installed with 2003? Is there any expiry date or other restrictions on the 2005 beta?
5
1341
by: Andre Lorbach | last post by:
Hi all, I hope I picked up the right group ;) A few days ago I installed the VS2005 Beta and started playing with it. First of all the (Profile Guided Optimizations) PGO Feature looks very cool :) After some reading and testing, I got it to work. I followed this article:
3
1193
by: dhnriverside | last post by:
Hi guys I have a problem. I'm having a lot of problems with the "very known bug" of Visual C# deleting bits of code when you fast-switch between designer and code. It keeps deleting my entire OnInit(), which for a wizard-like page, contains quite a lot of code! I've spoken to various MVP leads on this issue, and the best solution they can come up with is "dont use Designer", which isn't really very helpful, is it? After all, I did...
1
1162
by: gerrod | last post by:
When using a master page In .NET v2.0 Beta 1, you could attach additional stylesheets to the master page from your content pages, with a call such as: Header.LinkedStyleSheets.Add("_Styles/Stylesheet.css"); In Beta 2, it seems as though IPageHeader no longer exposes this property. Does anyone know what the new approach / work-around is? Thank in advance.
8
1574
by: clintonG | last post by:
Membership is broken and who knows what else. Does anybody have any referrals to current documents that explain what was changed and how one might respond? <%= Clinton Gallagher METROmilwaukee (sm) "A Regional Information Service" NET csgallagher AT metromilwaukee.com URL http://metromilwaukee.com/ URL http://clintongallagher.metromilwaukee.com/
1
1594
by: yoDon | last post by:
I just installed the VS2005 Beta 2 bits, and I'm having a variety of issues with the Web Site Admin tool. If I create a test web service, I can't add users because: -- There is a problem with your selected data store. This can be caused by an invalid server name or credentials, or by insufficient permission. It can also be caused by the role manager feature not being enabled. Click the button below to be redirected to a page where you...
0
1379
by: nhmark64 | last post by:
My PC was a completely screwed up mess. Nieither the unistall tool or the manual uninstall at http://msdn.microsoft.com/vstudio/support/uninstall/default.aspx worked. I also tried the VS 2005 beta cleanup tool at http://blogs.msdn.com/astebner/archive/2005/04/25/411974.aspx. This tool was designed to remove Beta 1 in preparation for Beta 2. I needed to remove Beta 1 in preparation for VS2005 Pro, not exactly the same thing. ...
0
9656
marktang
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10366
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10110
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9967
tracyyun
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8993
agi2029
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7517
isladogs
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6750
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5536
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4070
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.