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

Break before <form> tag ASP.NET

Hi all,
How do I get rid of a break (an empty row) before <form> tag in ASP.NET?
I set the "topmargin=0" inside the <body> tag. When I look at the page on a
regular IE, the space is gone, but when I look at it in PocketPC IE, the
space is still there.
I did CTRL+ refresh and reboot few times so that should not be the problem.

Any ideas?

--
Thanks for your time
Goran Djuranovic
Nov 18 '05 #1
3 1392
it could be that the IE on the pocketpc doesn't process that instruction

have you tried it with a simple html page (ie no .net) to see if it is
possible.

Also what flavour of pocketpc OS are you using.

"Goran Djuranovic" <go*****************@maine.rr.com> wrote in message
news:uE**************@TK2MSFTNGP12.phx.gbl...
Hi all,
How do I get rid of a break (an empty row) before <form> tag in ASP.NET?
I set the "topmargin=0" inside the <body> tag. When I look at the page on a regular IE, the space is gone, but when I look at it in PocketPC IE, the
space is still there.
I did CTRL+ refresh and reboot few times so that should not be the problem.
Any ideas?

--
Thanks for your time
Goran Djuranovic

Nov 18 '05 #2
Hi Shaun,
I did try a plain HTML page, and the same thing happened.
It processes "leftmargin=0", "rightmargin=0", and "bottommargin=0", BUT NOT
"topmargin=0".
Device I am using is PocketPC 2003, Operating system is Windows CE 4.2.
Any suggestions?
"Shaun Wilde" <sh*********@nospam.co.uk> wrote in message
news:O5**************@TK2MSFTNGP12.phx.gbl...
it could be that the IE on the pocketpc doesn't process that instruction

have you tried it with a simple html page (ie no .net) to see if it is
possible.

Also what flavour of pocketpc OS are you using.

"Goran Djuranovic" <go*****************@maine.rr.com> wrote in message
news:uE**************@TK2MSFTNGP12.phx.gbl...
Hi all,
How do I get rid of a break (an empty row) before <form> tag in ASP.NET?
I set the "topmargin=0" inside the <body> tag. When I look at the page
on a
regular IE, the space is gone, but when I look at it in PocketPC IE, the
space is still there.
I did CTRL+ refresh and reboot few times so that should not be the

problem.

Any ideas?

--
Thanks for your time
Goran Djuranovic


Nov 18 '05 #3
Naaah, forget it. I figured it out. I just moved some controls in front of
the form tag and everything worked fine. But I still don't understand why
form tag has "invisible" break in front of it.

Goran
"Goran Djuranovic" <djurag@mmcREMOVE_TO_MAIL.org> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Hi Shaun,
I did try a plain HTML page, and the same thing happened.
It processes "leftmargin=0", "rightmargin=0", and "bottommargin=0", BUT NOT "topmargin=0".
Device I am using is PocketPC 2003, Operating system is Windows CE 4.2.
Any suggestions?
"Shaun Wilde" <sh*********@nospam.co.uk> wrote in message
news:O5**************@TK2MSFTNGP12.phx.gbl...
it could be that the IE on the pocketpc doesn't process that instruction

have you tried it with a simple html page (ie no .net) to see if it is
possible.

Also what flavour of pocketpc OS are you using.

"Goran Djuranovic" <go*****************@maine.rr.com> wrote in message
news:uE**************@TK2MSFTNGP12.phx.gbl...
Hi all,
How do I get rid of a break (an empty row) before <form> tag in ASP.NET? I set the "topmargin=0" inside the <body> tag. When I look at the page

on
a
regular IE, the space is gone, but when I look at it in PocketPC IE, the space is still there.
I did CTRL+ refresh and reboot few times so that should not be the

problem.

Any ideas?

--
Thanks for your time
Goran Djuranovic



Nov 18 '05 #4

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

Similar topics

2
by: Ricki Susic | last post by:
Hi, Can anyone tell me if it is possible to call a function from a html form, where the function is included in the same file as the form. <html> <body> <form method="post" action="what...
2
by: Keiron Waites | last post by:
I have the following code: <input type="text" name="search" class="search_top"> <a href="" onclick="window.location='search.inc.php'+document..search. value; return false;"...
3
by: Ben | last post by:
Here's my form: <form name="aForm" method='post'> <input type=file name=file1 onkeypress='KeyPress()'><br> <a id='attachMoreLink' href='javascript:AddFileInput()">Attach More Files </a> <input...
4
by: Howard Jess | last post by:
In Opera 8.01 (Linux; Build 1204) and in Opera 7.54 (Windows XP; Build 3865), my form disappears from the HTML markup (below). To summarize: 1) In a <script> block in the <head> I create a form...
6
by: snacktime | last post by:
I've searched and searched and have not found a solution to suppress the margin on form or href tags so that there is no space before or after the tag. The only way I have found to do this is to...
4
by: George | last post by:
I'm using .NET framework 1.1 and VS.NET 2003 for a aspx web form. There is a DropDwonList on the page and its SelectedIndexChanged event is fired to the server normally, until when I add another...
4
by: rob c | last post by:
This is a minor thing and only appears in IE (so far), but I'd like to know to correct it (if possible). Whenever I use a form on a webpage, Explorer always leaves a blank line following the...
19
by: Coward 9 | last post by:
HI, I saw in an example hello.aspx, there is a <form tagbeing used like <form runat="server> I search all html tag references and could NOT find "runat" attributes for <formtag. which...
10
by: neverquit | last post by:
hi , Iam Nagesh,Begineer in using Ajax,well i have been using ajax in application, i have faced a problem while placing the responseTEXT into the <div> tag positioned inside the <form> tag iam...
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
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
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: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.