473,806 Members | 2,929 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Positioning buttons via HTML

All,

I'm new to web development, so bear with me. I added to buttons to a
webform, but the second button overlaps with the first. How can I change
the position? Here is the HTML code that Visual Studio rendered:

<asp:Button: id="btnFiles" runat="server" Text="Files"></asp:Button>
<asp:Button: id="btnRef" runat="server" Text="Refs"></asp:Button>

The Refs button sits on top of the Files button. I want them side by side.
Thanks!


_______________ _______________ _______________ _______________ _______________ ____
Posted Via Uncensored-News.Com - Accounts Starting At $6.95 - http://www.uncensored-news.com
<><><><><><>< > The Worlds Uncensored News Source <><><><><><><>< >

Nov 18 '05 #1
2 1284
You could put them in a table and have each button in its own table cell or
use css absolute positioning

Regards

John Timney
Microsoft Regional Director
Microsoft MVP
"Sun Tzu" <s.***@aol.co m> wrote in message
news:40******** @news4.uncensor ed-news.com...
All,

I'm new to web development, so bear with me. I added to buttons to a
webform, but the second button overlaps with the first. How can I change
the position? Here is the HTML code that Visual Studio rendered:

<asp:Button: id="btnFiles" runat="server" Text="Files"></asp:Button>
<asp:Button: id="btnRef" runat="server" Text="Refs"></asp:Button>

The Refs button sits on top of the Files button. I want them side by side. Thanks!


_______________ _______________ _______________ _______________ _______________ _
___ Posted Via Uncensored-News.Com - Accounts Starting At $6.95 - http://www.uncensored-news.com <><><><><><>< > The Worlds Uncensored News Source <><><><><><><>< >

Nov 18 '05 #2
Nevermind. My bad.

"Sun Tzu" <s.***@aol.co m> wrote in message
news:40******** @news4.uncensor ed-news.com...
All,

I'm new to web development, so bear with me. I added to buttons to a
webform, but the second button overlaps with the first. How can I change
the position? Here is the HTML code that Visual Studio rendered:

<asp:Button: id="btnFiles" runat="server" Text="Files"></asp:Button>
<asp:Button: id="btnRef" runat="server" Text="Refs"></asp:Button>

The Refs button sits on top of the Files button. I want them side by side. Thanks!


_______________ _______________ _______________ _______________ _______________ _
___ Posted Via Uncensored-News.Com - Accounts Starting At $6.95 - http://www.uncensored-news.com <><><><><><>< > The Worlds Uncensored News Source <><><><><><><>< >


_______________ _______________ _______________ _______________ _______________ ____
Posted Via Uncensored-News.Com - Accounts Starting At $6.95 - http://www.uncensored-news.com
<><><><><><>< > The Worlds Uncensored News Source <><><><><><><>< >

Nov 18 '05 #3

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

Similar topics

9
32067
by: Bryan R. Meyer | last post by:
Hello Everyone, The problem of browser resizing has become an issue for me. While redesigning my webpage, I set the left and right margins to be auto so that my content would be centered. However, there are images that I used absolute positioning in order to place them in the appropriate location on my page. When I do a browser resize, these images do not move (obviously). However, the rest of my content is auto centered as...
14
4118
by: Michael Satterwhite | last post by:
On my page, I'm positioning text on top of a graphic. I'm using the following code on my page: <img src="images/plainTop.gif" border="0" alt="" /> <div style="position: absolute; top:98px; font-size: small"> <div style="position: absolute; left: 190px"><a href="aboutus.html">About Us</a></div> <div style="position: absolute; left: 321px"><a href="faq.html">FAQ</a></div> <div style="position: absolute; left: 415px"><a
1
1639
by: RWC | last post by:
Hey Folks! I'm having trouble with an asp page. First off, I'm new to the html / asp world, but not to software development. I'd like to minimize or "normalize" the site, so I'm trying to use one menu page and include it into any page that needs the menu. The problem is, I include the header.asp page, include the menu.asp page, but when I write the body of the page, it sticks the text underneath the side menu. I'd like the text to...
2
1791
by: Johnson Smith | last post by:
Question is related to ASP.Net and controlling the position of these controls. I am using html table to placce my web controls. I am displaying same datagrid and calendar controls at clicks of different buttons. Since I am using same control for various clicks, it is hard for me to place the controls at runtime for my required position. Any suggestions of doing this will be a great help. Johnson Smith
8
3820
by: Woodchuck | last post by:
Hi:) I've been trying to position some element's on my page and I can't come up with a way to equally position 4 DIV's in another DIV without explicitly setting the width of the "child" DIV's. Here's what the code look's like: <div id="Heading"> <a id="WP">WERSJA POLSKA</a> <div id="Buttons"> <div id="Home" class="ButtPart"><img src="Images/Buttons/blank_button.gif" alt="" class="InButtPart" />
9
2173
by: wreed | last post by:
I have several questions. I ran my html and css through a checker, and fixed all of the errors it found. 1) I was using IE for development, but have now switched to FF after reading other posts. Once my page is lined up for FF, how do I make it IE compatible? I found this code that tests for IE browser use: <!--> <!--> and I could redirect to an IE specific stylesheet. 2) I'm finding that I have to manually position most of my divs. Is...
11
2035
by: Cartoper | last post by:
Here is the code: http://cartoper.ueuo.com/centering.htm How do I get the big blue buttons to center themselves on Firefox and Safari on this web site? I know that the layout is a bit complex, but there is a reason for it, have a look at this site:
0
2462
by: hzgt9b | last post by:
I've got html page with has a fixed height - there are five buttons on the page. The page has a fixed, known height - but the width can change. The five buttons should be arranged on the page as follows (all buttons should always be 3px from the top): "button1" - left edge always 3px from left side of the page "button2" - left edge always be 5px to the left of "button 1:" "button3" - buttons three and four should float (relatively) in...
2
4467
Frinavale
by: Frinavale | last post by:
I've created a ASP.NET control that displays a "book" of schedules. It dynamically displays scheduling times and allows the user to page through the schedules. It also lets the user edit the schedule times if the user has permissions to edit schedules. When the user is not editing, or the user is not allowed to edit, the buttons that let the user edit are not displayed. If the user is allowed to edit schedules but they are not editing a link...
0
9719
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
10620
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
10372
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
9187
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...
0
6877
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
5546
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5682
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4329
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
2
3851
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.