473,508 Members | 2,441 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IE and NN - Appearence Differs?

I am using VS.NET to design my web form.

<asp:button id="Button1" style="Z-INDEX: 102; LEFT: 213px; POSITION:
absolute; TOP: 253px" runat="server" BackColor="White" BorderColor="White"
Text="Welcome" Font-Names="Arial" Font-Size="X-Small"
CssClass="style1"></asp:button>

The above code gives white background button in IE 6.0. But it is not giving
so in NN 7.1. I want the appearence to be same in both IE and NN. How to go
about it.

Thanks in advance.
--
Great!!
ChristManIn
Nov 18 '05 #1
3 1176
Hi ChristManIn,
You use CSS. It will work good. Create a CSS class as shown below.

<style type="text/css">
..style1 { FONT-SIZE: 12px; BORDER-LEFT-COLOR: #ffffff; BORDER-BOTTOM-COLOR:
#ffffff; BORDER-TOP-COLOR: #ffffff; FONT-FAMILY: Arial; BACKGROUND-COLOR:
#ffffff; BORDER-RIGHT-COLOR: #ffffff }
</style>

assign the above style to the button.

<asp:Button id="Button2" style="Z-INDEX: 103; LEFT: 311px; POSITION:
absolute; TOP: 255px" runat="server" Text="Button"
CssClass="style1"></asp:Button>

It works good on IE and NN.
Cheer up!!..

Regards,
John Paul. A
"ChristManIn" wrote:
I am using VS.NET to design my web form.

<asp:button id="Button1" style="Z-INDEX: 102; LEFT: 213px; POSITION:
absolute; TOP: 253px" runat="server" BackColor="White" BorderColor="White"
Text="Welcome" Font-Names="Arial" Font-Size="X-Small"
CssClass="style1"></asp:button>

The above code gives white background button in IE 6.0. But it is not giving
so in NN 7.1. I want the appearence to be same in both IE and NN. How to go
about it.

Thanks in advance.
--
Great!!
ChristManIn

Nov 18 '05 #2
Chris,

DON'T user Gridlayout in your body tag if you want to support other browsers
other than IE. This is not supported. Use the FlowLayout instead. VS.NET
default is to use Gridlayout until you change it.

"ChristManIn" wrote:
I am using VS.NET to design my web form.

<asp:button id="Button1" style="Z-INDEX: 102; LEFT: 213px; POSITION:
absolute; TOP: 253px" runat="server" BackColor="White" BorderColor="White"
Text="Welcome" Font-Names="Arial" Font-Size="X-Small"
CssClass="style1"></asp:button>

The above code gives white background button in IE 6.0. But it is not giving
so in NN 7.1. I want the appearence to be same in both IE and NN. How to go
about it.

Thanks in advance.
--
Great!!
ChristManIn

Nov 18 '05 #3
Dear Tampa .NET Koder,
I have tried this, but it is not displaying properly in NN 7.1. What to do?.
Your suggestions are most welcome.

Rgds,
John Paul. A

"Tampa .NET Koder" wrote:
Chris,

DON'T user Gridlayout in your body tag if you want to support other browsers
other than IE. This is not supported. Use the FlowLayout instead. VS.NET
default is to use Gridlayout until you change it.

"ChristManIn" wrote:
I am using VS.NET to design my web form.

<asp:button id="Button1" style="Z-INDEX: 102; LEFT: 213px; POSITION:
absolute; TOP: 253px" runat="server" BackColor="White" BorderColor="White"
Text="Welcome" Font-Names="Arial" Font-Size="X-Small"
CssClass="style1"></asp:button>

The above code gives white background button in IE 6.0. But it is not giving
so in NN 7.1. I want the appearence to be same in both IE and NN. How to go
about it.

Thanks in advance.
--
Great!!
ChristManIn

Nov 18 '05 #4

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

Similar topics

10
11490
by: blimeyoreilly | last post by:
Hi I've a small problem .. can anyone figure it out? I am working in VS.NET in C++ with MFC. I have a CWinApp-based class called CTestHarnessApp. I keep getting the 'differs in levels of...
6
13688
by: Angus | last post by:
I am using a global which is a void* I have it defined in one file as: void* hFlag; and one other header file as: extern void* hFlag; But I get this compile error:
8
2373
by: shruthiKKKK | last post by:
change appearence for textbox by using combolist
3
10785
by: imaloner | last post by:
I am posting two threads because I have two different problems, but both have the same background information. Common Background Information: I am trying to rebuild code for a working,...
0
7223
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,...
0
7114
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
7321
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,...
0
7488
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...
1
5045
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...
0
4702
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...
0
3191
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
762
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.