473,466 Members | 1,377 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

HTML table on aspx web form

Hi,

I want to put a HTML table on aspx webform so that i can place my header,
menu, footer user controls appropriately.
I got 3 user controls
header.ascx
menu.ascx
footer.ascx

I trying to put a HTML table with width 100% and height 100% -
first row - height 10% for header ascx
next row - height 10% for menu.ascx
next row - height 70% for page content
last row - height 10% for footer.ascx..

the problem i am facing is that header anfd footer ascx's are showing fine
appropriately, but the menu ascx..is getting displayed somewhere randomly on
the page.

Any idea on this...or is there any other way to arrange this....

Thanks
Nedu
Nov 18 '05 #1
4 4017
Sounds like you may have used absolute positioning on that Control. Check
the Style attribute.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Nedu N" <ne****@hotmail.com> wrote in message
news:#0**************@tk2msftngp13.phx.gbl...
Hi,

I want to put a HTML table on aspx webform so that i can place my header,
menu, footer user controls appropriately.
I got 3 user controls
header.ascx
menu.ascx
footer.ascx

I trying to put a HTML table with width 100% and height 100% -
first row - height 10% for header ascx
next row - height 10% for menu.ascx
next row - height 70% for page content
last row - height 10% for footer.ascx..

the problem i am facing is that header anfd footer ascx's are showing fine
appropriately, but the menu ascx..is getting displayed somewhere randomly on the page.

Any idea on this...or is there any other way to arrange this....

Thanks
Nedu

Nov 18 '05 #2
style attribute of aspx or ascx?
"Kevin Spencer" <ke***@takempis.com> wrote in message
news:u%****************@TK2MSFTNGP09.phx.gbl...
Sounds like you may have used absolute positioning on that Control. Check
the Style attribute.

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Nedu N" <ne****@hotmail.com> wrote in message
news:#0**************@tk2msftngp13.phx.gbl...
Hi,

I want to put a HTML table on aspx webform so that i can place my header, menu, footer user controls appropriately.
I got 3 user controls
header.ascx
menu.ascx
footer.ascx

I trying to put a HTML table with width 100% and height 100% -
first row - height 10% for header ascx
next row - height 10% for menu.ascx
next row - height 70% for page content
last row - height 10% for footer.ascx..

the problem i am facing is that header anfd footer ascx's are showing fine appropriately, but the menu ascx..is getting displayed somewhere
randomly on
the page.

Any idea on this...or is there any other way to arrange this....

Thanks
Nedu


Nov 18 '05 #3
Most probably you'll find it in the Page template (aspx), or whatever User
Control (ascx) you put it in. Of course, if you had just looked, you would
already know by now.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Nedu N" <ne****@hotmail.com> wrote in message
news:up**************@TK2MSFTNGP11.phx.gbl...
style attribute of aspx or ascx?
"Kevin Spencer" <ke***@takempis.com> wrote in message
news:u%****************@TK2MSFTNGP09.phx.gbl...
Sounds like you may have used absolute positioning on that Control. Check
the Style attribute.

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Nedu N" <ne****@hotmail.com> wrote in message
news:#0**************@tk2msftngp13.phx.gbl...
Hi,

I want to put a HTML table on aspx webform so that i can place my

header, menu, footer user controls appropriately.
I got 3 user controls
header.ascx
menu.ascx
footer.ascx

I trying to put a HTML table with width 100% and height 100% -
first row - height 10% for header ascx
next row - height 10% for menu.ascx
next row - height 70% for page content
last row - height 10% for footer.ascx..

the problem i am facing is that header anfd footer ascx's are showing fine appropriately, but the menu ascx..is getting displayed somewhere

randomly
on
the page.

Any idea on this...or is there any other way to arrange this....

Thanks
Nedu



Nov 18 '05 #4

Hi Nedu,

Thanks for posting in this group.
Just as Kevin stated, I think your problem related to absolute positioning.
The article how to approach the challenges in designing a menu control, it
may help you:
http://msdn.microsoft.com/library/de...us/dnaspp/html
/aspnet-buildmenuservercontrol.asp

Best regards,
Jeffrey Tan
Microsoft Support Engineer
This posting is provided "AS IS" with no warranties, and confers no rights.
Nov 18 '05 #5

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

Similar topics

3
by: mca | last post by:
Hi everyone, I'm new to asp.net and i have a question about separating the html code from the programming code. i have an unknown numbers of entries in my table. I want to make a hyperlink...
1
by: Patrick | last post by:
Problem I have an ASPX file, with a table of 3 columns, 2 rows with a usercontrol in the middle column (in the code snippet stated below, although in reality, the left hand column would also...
4
by: Zuel | last post by:
Hi Folks. So I have a small problem. My DoPostBack function is not writen to the HTML page nor are the asp:buttons calling the DoPostBack. My Goal is to create a totaly dynamic web page where...
3
by: Al Wilkerson | last post by:
Hey, I have a Web Form with a drop down list, textbox, and search button. When click the search button an SQL server database is queried fordata. Once I have the data in a dataset I use the...
1
by: Al Wilkerson | last post by:
Hey, I have a Web Form with a drop down list, textbox, and search button. When click the search button an SQL server database is queried fordata. Once I have the data in a dataset I use the...
8
by: Randall Parker | last post by:
I want to generate an HTML tag that will look like: <a href="EquipmentServiceCreate.aspx?serial=X01">Create New Service For X01</a> or on a different instance where the user would be viewing...
4
by: steve | last post by:
Hi All I am having annoying problems with VS 2005 (VB) positioning tables on a web page If I create HTML tables for layout, sometimes the next table sits at the bottom of the above table and...
3
by: Just D. | last post by:
All, What's the simplest way to show my own HTML string on the ASPX page assuming that this page is just created using the wizard and it has nothing on it? We're free to use any control adding...
2
by: sarafat | last post by:
greetings people I am new to Ajax and javascript, yet i have little time to learn it all. Question is: i am using javascript to create my DOM Table and AJAX that returns a DataSet to my...
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
jinu1996
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...
0
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,...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 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.