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

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 1272
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.com> wrote in message
news:40********@news4.uncensored-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.com> wrote in message
news:40********@news4.uncensored-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
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. ...
14
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;...
1
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...
2
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...
8
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....
9
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....
11
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...
0
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...
2
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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
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
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...
0
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...

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.