Hi,
If I place a button on either a Web form or an HTML form, when I run the
page in a browser, the button stretches right across the screen. This happens
with our Enterprise Visual Studio at work & the Web developer Express edition
I have at home.
Has anybody experienced this problem?
Many thanks for any ideas on how to fix it.
Ant 7 1290
It doesn't happen for me. Sounds like you have some sort of formatting
issues. Unfortunately, you didn't provide your code so I have nothing to go
on.
--
Jonathan Wood
SoftCircuits Programming http://www.softcircuits.com
"Ant" <An*@discussions.microsoft.comwrote in message
news:6D**********************************@microsof t.com...
Hi,
If I place a button on either a Web form or an HTML form, when I run the
page in a browser, the button stretches right across the screen. This
happens
with our Enterprise Visual Studio at work & the Web developer Express
edition
I have at home.
Has anybody experienced this problem?
Many thanks for any ideas on how to fix it.
Ant
Thanks for the interest,
The code is quite simple. Here is the Markup:
<body>
<form id="form1" runat="server">
<asp:Button ID="Button1" runat="server" Style="z-index: 100; left:
207px; position: absolute;
top: 171px" Text="Button" />
</form>
</body>
simply dropped a button onto the form. I also tried removing the default
divs to see if that would fix it but it didn't help.
It's strange that it happens on two separate systems running two different
version of ASP, yet nobody else has seen this issue.(?)
Anyway, hope this might help
Many thanks
Ant
"Jonathan Wood" wrote:
It doesn't happen for me. Sounds like you have some sort of formatting
issues. Unfortunately, you didn't provide your code so I have nothing to go
on.
--
Jonathan Wood
SoftCircuits Programming http://www.softcircuits.com
"Ant" <An*@discussions.microsoft.comwrote in message
news:6D**********************************@microsof t.com...
Hi,
If I place a button on either a Web form or an HTML form, when I run the
page in a browser, the button stretches right across the screen. This
happens
with our Enterprise Visual Studio at work & the Web developer Express
edition
I have at home.
Has anybody experienced this problem?
Many thanks for any ideas on how to fix it.
Ant
And there's no other CSS styles involved?
I'm not sure what you are seeing but I'd start by removing each element of
the style attribute. Looks like you're using absolute positioning. I don't
think too many people are using that mode I strongly suspect that is related
to what you are seeing.
--
Jonathan Wood
SoftCircuits Programming http://www.softcircuits.com
"Ant" <An*@discussions.microsoft.comwrote in message
news:1D**********************************@microsof t.com...
Thanks for the interest,
The code is quite simple. Here is the Markup:
<body>
<form id="form1" runat="server">
<asp:Button ID="Button1" runat="server" Style="z-index: 100; left:
207px; position: absolute;
top: 171px" Text="Button" />
</form>
</body>
simply dropped a button onto the form. I also tried removing the default
divs to see if that would fix it but it didn't help.
It's strange that it happens on two separate systems running two different
version of ASP, yet nobody else has seen this issue.(?)
Anyway, hope this might help
Many thanks
Ant
"Jonathan Wood" wrote:
>It doesn't happen for me. Sounds like you have some sort of formatting issues. Unfortunately, you didn't provide your code so I have nothing to go on.
-- Jonathan Wood SoftCircuits Programming http://www.softcircuits.com
"Ant" <An*@discussions.microsoft.comwrote in message news:6D**********************************@microso ft.com...
Hi,
If I place a button on either a Web form or an HTML form, when I run
the
page in a browser, the button stretches right across the screen. This
happens
with our Enterprise Visual Studio at work & the Web developer Express
edition
I have at home.
Has anybody experienced this problem?
Many thanks for any ideas on how to fix it.
Ant
Hi Jonathon,
Absolutely not. No CSS. Apart from "position", left & top there isn't any
css in the project, no css in the head & the markup I pasted is all there is
apart from the simple div tags I took off. Strange eh!
I discovered something though:
When the style position attribute is set to Absolute in conjunction with top
& left attribute as px, it stretches. When I change top & left to % or use
static or relative, it had no issue.
Do you find you have the issue if you use Absolute with px?
Thanks very much for your feedback on this. I'd like to determine if this is
a bug or my setup
Thanks
Ant
This is what I do:
I create a new project,
switch to design mode,
drag a button onto the default page,
run the application
View a button stretched right across my screen.
Tried it with an HTML button to the same effect
"Jonathan Wood" wrote:
And there's no other CSS styles involved?
I'm not sure what you are seeing but I'd start by removing each element of
the style attribute. Looks like you're using absolute positioning. I don't
think too many people are using that mode I strongly suspect that is related
to what you are seeing.
--
Jonathan Wood
SoftCircuits Programming http://www.softcircuits.com
"Ant" <An*@discussions.microsoft.comwrote in message
news:1D**********************************@microsof t.com...
Thanks for the interest,
The code is quite simple. Here is the Markup:
<body>
<form id="form1" runat="server">
<asp:Button ID="Button1" runat="server" Style="z-index: 100; left:
207px; position: absolute;
top: 171px" Text="Button" />
</form>
</body>
simply dropped a button onto the form. I also tried removing the default
divs to see if that would fix it but it didn't help.
It's strange that it happens on two separate systems running two different
version of ASP, yet nobody else has seen this issue.(?)
Anyway, hope this might help
Many thanks
Ant
"Jonathan Wood" wrote:
It doesn't happen for me. Sounds like you have some sort of formatting
issues. Unfortunately, you didn't provide your code so I have nothing to
go
on.
--
Jonathan Wood
SoftCircuits Programming http://www.softcircuits.com
"Ant" <An*@discussions.microsoft.comwrote in message
news:6D**********************************@microsof t.com...
Hi,
If I place a button on either a Web form or an HTML form, when I run
the
page in a browser, the button stretches right across the screen. This
happens
with our Enterprise Visual Studio at work & the Web developer Express
edition
I have at home.
Has anybody experienced this problem?
Many thanks for any ideas on how to fix it.
Ant
Ant,
Do you find you have the issue if you use Absolute with px?
No, because, as indicated, I never use absolute positioning. <g>
I can try it sometime if I get a chance.
Thanks very much for your feedback on this. I'd like to determine if this
is
a bug or my setup
The way to determine which is to load it in your browser. The browser is
where it needs to work.
--
Jonathan Wood
SoftCircuits Programming http://www.softcircuits.com
"Ant" <An*@discussions.microsoft.comwrote in message
news:AB**********************************@microsof t.com...
Hi Jonathon,
Absolutely not. No CSS. Apart from "position", left & top there isn't any
css in the project, no css in the head & the markup I pasted is all there
is
apart from the simple div tags I took off. Strange eh!
I discovered something though:
When the style position attribute is set to Absolute in conjunction with
top
& left attribute as px, it stretches. When I change top & left to % or use
static or relative, it had no issue.
Do you find you have the issue if you use Absolute with px?
Thanks very much for your feedback on this. I'd like to determine if this
is
a bug or my setup
Thanks
Ant
This is what I do:
I create a new project,
switch to design mode,
drag a button onto the default page,
run the application
View a button stretched right across my screen.
Tried it with an HTML button to the same effect
"Jonathan Wood" wrote:
>And there's no other CSS styles involved?
I'm not sure what you are seeing but I'd start by removing each element of the style attribute. Looks like you're using absolute positioning. I don't think too many people are using that mode I strongly suspect that is related to what you are seeing.
-- Jonathan Wood SoftCircuits Programming http://www.softcircuits.com
"Ant" <An*@discussions.microsoft.comwrote in message news:1D**********************************@microso ft.com...
Thanks for the interest,
The code is quite simple. Here is the Markup:
<body>
<form id="form1" runat="server">
<asp:Button ID="Button1" runat="server" Style="z-index: 100;
left:
207px; position: absolute;
top: 171px" Text="Button" />
</form>
</body>
simply dropped a button onto the form. I also tried removing the
default
divs to see if that would fix it but it didn't help.
It's strange that it happens on two separate systems running two
different
version of ASP, yet nobody else has seen this issue.(?)
Anyway, hope this might help
Many thanks
Ant
"Jonathan Wood" wrote:
It doesn't happen for me. Sounds like you have some sort of formatting issues. Unfortunately, you didn't provide your code so I have nothing to go on.
-- Jonathan Wood SoftCircuits Programming http://www.softcircuits.com
"Ant" <An*@discussions.microsoft.comwrote in message news:6D**********************************@microso ft.com...
Hi,
If I place a button on either a Web form or an HTML form, when I run
the
page in a browser, the button stretches right across the screen.
This
happens
with our Enterprise Visual Studio at work & the Web developer
Express
edition
I have at home.
Has anybody experienced this problem?
Many thanks for any ideas on how to fix it.
Ant
Hi Jonathan,
You are quite right. It is related to Absolute positioning. Now that I know
what it is I can work around it at least. Many thanks!
I'm surprised that not many people use Absolute. I come from a Windows Form
background & to me, Absolute is very wysiwyg, especially in conjuction with
using the layout functionality. It uses divs & works well. I wonder why
Absolute is not used much(?). But I guess that's a question for another
thread ;)
Many thanks Jonathan for helping work this out.
Cheers
Ant
"Jonathan Wood" wrote:
Ant,
Do you find you have the issue if you use Absolute with px?
No, because, as indicated, I never use absolute positioning. <g>
I can try it sometime if I get a chance.
Thanks very much for your feedback on this. I'd like to determine if this
is
a bug or my setup
The way to determine which is to load it in your browser. The browser is
where it needs to work.
--
Jonathan Wood
SoftCircuits Programming http://www.softcircuits.com
"Ant" <An*@discussions.microsoft.comwrote in message
news:AB**********************************@microsof t.com...
Hi Jonathon,
Absolutely not. No CSS. Apart from "position", left & top there isn't any
css in the project, no css in the head & the markup I pasted is all there
is
apart from the simple div tags I took off. Strange eh!
I discovered something though:
When the style position attribute is set to Absolute in conjunction with
top
& left attribute as px, it stretches. When I change top & left to % or use
static or relative, it had no issue.
Do you find you have the issue if you use Absolute with px?
Thanks very much for your feedback on this. I'd like to determine if this
is
a bug or my setup
Thanks
Ant
This is what I do:
I create a new project,
switch to design mode,
drag a button onto the default page,
run the application
View a button stretched right across my screen.
Tried it with an HTML button to the same effect
"Jonathan Wood" wrote:
And there's no other CSS styles involved?
I'm not sure what you are seeing but I'd start by removing each element
of
the style attribute. Looks like you're using absolute positioning. I
don't
think too many people are using that mode I strongly suspect that is
related
to what you are seeing.
--
Jonathan Wood
SoftCircuits Programming http://www.softcircuits.com
"Ant" <An*@discussions.microsoft.comwrote in message
news:1D**********************************@microsof t.com...
Thanks for the interest,
The code is quite simple. Here is the Markup:
<body>
<form id="form1" runat="server">
<asp:Button ID="Button1" runat="server" Style="z-index: 100;
left:
207px; position: absolute;
top: 171px" Text="Button" />
</form>
</body>
simply dropped a button onto the form. I also tried removing the
default
divs to see if that would fix it but it didn't help.
It's strange that it happens on two separate systems running two
different
version of ASP, yet nobody else has seen this issue.(?)
Anyway, hope this might help
Many thanks
Ant
"Jonathan Wood" wrote:
It doesn't happen for me. Sounds like you have some sort of formatting
issues. Unfortunately, you didn't provide your code so I have nothing
to
go
on.
--
Jonathan Wood
SoftCircuits Programming http://www.softcircuits.com
"Ant" <An*@discussions.microsoft.comwrote in message
news:6D**********************************@microsof t.com...
Hi,
If I place a button on either a Web form or an HTML form, when I run
the
page in a browser, the button stretches right across the screen.
This
happens
with our Enterprise Visual Studio at work & the Web developer
Express
edition
I have at home.
Has anybody experienced this problem?
Many thanks for any ideas on how to fix it.
Ant
FWIW, I come from a Windows form background also (at least, when I was using
VB).
But I just don't find absolute positioning natural, appropriate, or
efficient when we're talking Web pages.
--
Jonathan Wood
SoftCircuits Programming http://www.softcircuits.com
"Ant" <An*@discussions.microsoft.comwrote in message
news:94**********************************@microsof t.com...
Hi Jonathan,
You are quite right. It is related to Absolute positioning. Now that I
know
what it is I can work around it at least. Many thanks!
I'm surprised that not many people use Absolute. I come from a Windows
Form
background & to me, Absolute is very wysiwyg, especially in conjuction
with
using the layout functionality. It uses divs & works well. I wonder why
Absolute is not used much(?). But I guess that's a question for another
thread ;)
Many thanks Jonathan for helping work this out.
Cheers
Ant
"Jonathan Wood" wrote:
>Ant,
Do you find you have the issue if you use Absolute with px?
No, because, as indicated, I never use absolute positioning. <g>
I can try it sometime if I get a chance.
Thanks very much for your feedback on this. I'd like to determine if
this
is
a bug or my setup
The way to determine which is to load it in your browser. The browser is where it needs to work.
-- Jonathan Wood SoftCircuits Programming http://www.softcircuits.com
"Ant" <An*@discussions.microsoft.comwrote in message news:AB**********************************@microso ft.com...
Hi Jonathon,
Absolutely not. No CSS. Apart from "position", left & top there isn't
any
css in the project, no css in the head & the markup I pasted is all
there
is
apart from the simple div tags I took off. Strange eh!
I discovered something though:
When the style position attribute is set to Absolute in conjunction
with
top
& left attribute as px, it stretches. When I change top & left to % or
use
static or relative, it had no issue.
Do you find you have the issue if you use Absolute with px?
Thanks very much for your feedback on this. I'd like to determine if
this
is
a bug or my setup
Thanks
Ant
This is what I do:
I create a new project,
switch to design mode,
drag a button onto the default page,
run the application
View a button stretched right across my screen.
Tried it with an HTML button to the same effect
"Jonathan Wood" wrote:
And there's no other CSS styles involved?
I'm not sure what you are seeing but I'd start by removing each element of the style attribute. Looks like you're using absolute positioning. I don't think too many people are using that mode I strongly suspect that is related to what you are seeing.
-- Jonathan Wood SoftCircuits Programming http://www.softcircuits.com
"Ant" <An*@discussions.microsoft.comwrote in message news:1D**********************************@microso ft.com...
Thanks for the interest,
The code is quite simple. Here is the Markup:
<body>
<form id="form1" runat="server">
<asp:Button ID="Button1" runat="server" Style="z-index: 100;
left:
207px; position: absolute;
top: 171px" Text="Button" />
</form>
</body>
simply dropped a button onto the form. I also tried removing the
default
divs to see if that would fix it but it didn't help.
It's strange that it happens on two separate systems running two
different
version of ASP, yet nobody else has seen this issue.(?)
Anyway, hope this might help
Many thanks
Ant
"Jonathan Wood" wrote:
It doesn't happen for me. Sounds like you have some sort of formatting issues. Unfortunately, you didn't provide your code so I have nothing to go on.
-- Jonathan Wood SoftCircuits Programming http://www.softcircuits.com
"Ant" <An*@discussions.microsoft.comwrote in message news:6D**********************************@microso ft.com...
Hi,
If I place a button on either a Web form or an HTML form, when I
run
the
page in a browser, the button stretches right across the screen.
This
happens
with our Enterprise Visual Studio at work & the Web developer
Express
edition
I have at home.
Has anybody experienced this problem?
Many thanks for any ideas on how to fix it.
Ant This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: JR |
last post by:
Hi. I hope someone out there who is more versed with JavaScript than
I can help me with the following annoying problem. Here's the
problem.
I have a form with the following layout:
Column A...
|
by: tshad |
last post by:
I posted this on the asp.net group, also. I wasn't sure whether this was an
asp.net problem or a javascript problem.
I have a page that was originally created from a program I found on the net...
|
by: Jason Kyle Baginski |
last post by:
Here's a little test app to demonstrate a problem I'm having.
It creates four buttons, each one with the different FlatStyle types
available. Three of them behave exactly the same way(and the...
|
by: Michael Johnson Jr. |
last post by:
I am trying to handle a button click event, which updates a web control
table with data. The button is dynamically created in the table itself.
When I call updateTable() in the Page_Load the new...
|
by: tasmisr |
last post by:
This is an old problem,, but I never had it so bad like this before,,
the events are refiring when clicking the Browser refresh button.
In the Submit button in my webform, I capture the server side...
| |
by: Klaus Jensen |
last post by:
Hi!
This has been annoying me all day, and I can't get it to work It is really
driving me nuts!
Basicly this simple webapp created to illustrate my problem, renders five
buttons, and adds a...
|
by: Tina |
last post by:
the Edit, Update, Cancel, and Delete buttons in my datagrid are causing
validation elsewhere on the page. I want to specify that these buttons
should not cause validation but they have no design...
|
by: NateDawg |
last post by:
I'm reposting this. I'm kinda in a bind untill i get this figured out, so if
anyone has some input it would sure help me out.
Ok, I’ve noticed a few gridview problems floating around the forum....
|
by: Kevin |
last post by:
A couple of easy questions here hopefully. I've been working on two
different database projects which make use of multiple
forms.
1. Where's the best/recommended placement for command buttons...
|
by: glbdev |
last post by:
Hi,
I posted this question yesterday but didn't get the answer I needed.
I am DESPERATE to get this working so I'm re-posting it because I
don't think I worded it correctly.
I have a GridView...
|
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...
| |
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,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
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...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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 ...
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |