473,387 Members | 1,742 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,387 software developers and data experts.

Anyone have the secret to Layout Position on web pages?

I'm at a new level of frustration just trying to get my controls to line up
and stay in place.

I'm using a MultiView containing 4 views - some views have Panels. I can't
use absolution position on my controls because in MultiView that means when
the views are switched (ActiveViewIndex) the controls in the new view are
absolution position which means they are displayed lower down the page
(where they were arranged in the original view since MultiView sets the
child views downward in the page). So I have to use Relative position --
this in itself causes some bizarre changes in the position of my controls --
for example I could change the text of a Label control from "User" to
"UserID" and it will move other controls around.

As I understand it, I should be able to use Absolution position within a
panel that is set to "relative" position since this is the deemed parent
container, however, I get inconsistance results when I do this -- sometimes
the controls display correctly sometimes not -- bare in mind the only way I
know how to keep a label control's text to retain multiline position is when
using absolute position. Also keep in mind that I have to ensure that I
don't have an standard HTML in the Panel or View as this will also cause all
sorts of control position changes -- source view is the only way to confirm
I don't have.

Bottom line is -- there must be an easier way to place and align controls
when using MultView? If not, the restrictions of MultView use make the
control not practical for any serious development work.

Anyone have any suggestions?

Thanks, Rob.
Feb 9 '06 #1
1 1764
So you're suggesting not to use VS 2005 IDE at all?

I wish I wasn't familiar with HTML and CSS, unfortunately I am - sure anyone
can hardcode the HTML, but if I want to use MultiView and View controls,
then that doesn't do me much good does it. Tables don't solve this problem
either and appear to be just as worky as I've tried those also.

"Spam Catcher" <sp**********@rogers.com> wrote in message
news:Xn**********************************@127.0.0. 1...
"Rob R. Ainscough" <ro*****@pacbell.net> wrote in
news:uo**************@TK2MSFTNGP10.phx.gbl:
Bottom line is -- there must be an easier way to place and align
controls when using MultView? If not, the restrictions of MultView
use make the control not practical for any serious development work.


Use some tables to align your controls?

Are you familiar with HTML and CSS? You should be able to do just about
any
layout you want with those two technologies : )

--
Stan Kee (sp**********@rogers.com)

Boycott StarForce!
http://www.glop.org/starforce

Feb 9 '06 #2

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

Similar topics

102
by: RFox | last post by:
I date back to the early days of the web when HTML was limited but very managable, and have always maintained that hand-coding HTML gives you far better control and cleaner HTML markup than any...
82
by: Peter Diedrich | last post by:
The site design is pretty simple: ============================================ | Head | ============================================ | | ...
2
by: CJM | last post by:
I'm developing a site for a charity which I am aiming to make standards-compliant, accessible and cross-browser compatible. I'm doing OK so far and have the workings of a respectable site, but I...
30
by: Diane Wilson | last post by:
I'm trying (once again) to figure out how to make a robust CSS layout style that can replace tables. I'd like to be able to do a basic two-column layout, with a one-column header, a two column...
0
by: Old Wolf | last post by:
I have a site that I laid out with tables, and lots of grotty hacks and lots of markup generated by client-side javascript. I'm in the process of converting it to "nice" CSS code but have got...
20
by: Alan Silver | last post by:
Hello, In classic ASP, I used to use two include files on each page, one before and one after the main content, to provide a consistent layout across a web site. That way I could just change the...
14
by: Anoop | last post by:
Hi, I am new to this newsgroup and need help in the following questions. 1. I am workin' on a GUI application. Does C# provides Layout Managers the way Java does to design GUI? I know that it...
6
by: ThunderMusic | last post by:
Hi, I think the subject says it all... thanks ThunderMusic
5
by: creative1 | last post by:
hi everyone, I am struck in layout of my site. Im using 1024 fixed width layout. I have a site layout designed in psd files. Bisically I have to stick with that design tightly and I am asked not to...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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,...

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.