I created a header that adjusts with the size of the browser windows.
How do I place labels in the header section so they also maintain
their position when the window is resized? One of the labels is
constant but the rest will be entered programmaticall y, for example,
the users name, their company, city, state and zip.
My example code:
<body>
<form id="form1" runat="server">
<div style="z-index: 103; margin: 0px; background:
url(logo_ucd.gi f) black fixed no-repeat center center; font-family:
Verdana; height: 95px; valign: top; overflow: visible;" >
<div id="Content" style="z-index: 100; left: 13px; width:
1017px; position: absolute;
top: 114px; height: 695px; background-position: center
center; background-attachment: fixed; background-image:
url(logo_firest one_shield_WM.g if); background-repeat: no-repeat;">
<asp:ContentPla ceHolder ID="ContentPlac eHolder1"
runat="server">
</asp:ContentPlac eHolder>
</div>
</div>
<div style="z-index: 102; position: absolute; top: 100%;
valign: bottom; margin: 0px; width: 100%; background-color: red;
overflow: visible; font-family: Verdana;">
</div>
</form>
</body> 5 2379
Is there any specific reason why you are using absolute positioning? With
flow layout and relative positioning everything will resize automatically.
--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET] http://msmvps.com/blogs/egoldin http://usableasp.net
"Mel" <ML********@gma il.comwrote in message
news:11******** *************@u 2g2000hsc.googl egroups.com...
>I created a header that adjusts with the size of the browser windows.
How do I place labels in the header section so they also maintain
their position when the window is resized? One of the labels is
constant but the rest will be entered programmaticall y, for example,
the users name, their company, city, state and zip.
My example code:
<body>
<form id="form1" runat="server">
<div style="z-index: 103; margin: 0px; background:
url(logo_ucd.gi f) black fixed no-repeat center center; font-family:
Verdana; height: 95px; valign: top; overflow: visible;" >
<div id="Content" style="z-index: 100; left: 13px; width:
1017px; position: absolute;
top: 114px; height: 695px; background-position: center
center; background-attachment: fixed; background-image:
url(logo_firest one_shield_WM.g if); background-repeat: no-repeat;">
<asp:ContentPla ceHolder ID="ContentPlac eHolder1"
runat="server">
</asp:ContentPlac eHolder>
</div>
</div>
<div style="z-index: 102; position: absolute; top: 100%;
valign: bottom; margin: 0px; width: 100%; background-color: red;
overflow: visible; font-family: Verdana;">
</div>
</form>
</body>
On Jun 26, 2:22 am, "Eliyahu Goldin"
<REMOVEALLCAPIT ALSeEgGoldD...@ mMvVpPsS.orgwro te:
Is there any specific reason why you are using absolute positioning? With
flow layout and relative positioning everything will resize automatically.
--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]http://msmvps.com/blogs/egoldinhttp://usableasp.net
"Mel" <MLights...@gma il.comwrote in message
news:11******** *************@u 2g2000hsc.googl egroups.com...
I created a header that adjusts with the size of the browser windows.
How do I place labels in the header section so they also maintain
their position when the window is resized? One of the labels is
constant but the rest will be entered programmaticall y, for example,
the users name, their company, city, state and zip.
My example code:
<body>
<form id="form1" runat="server">
<div style="z-index: 103; margin: 0px; background:
url(logo_ucd.gi f) black fixed no-repeat center center; font-family:
Verdana; height: 95px; valign: top; overflow: visible;" >
<div id="Content" style="z-index: 100; left: 13px; width:
1017px; position: absolute;
top: 114px; height: 695px; background-position: center
center; background-attachment: fixed; background-image:
url(logo_firest one_shield_WM.g if); background-repeat: no-repeat;">
<asp:ContentPla ceHolder ID="ContentPlac eHolder1"
runat="server">
</asp:ContentPlac eHolder>
</div>
</div>
<div style="z-index: 102; position: absolute; top: 100%;
valign: bottom; margin: 0px; width: 100%; background-color: red;
overflow: visible; font-family: Verdana;">
</div>
</form>
</body>- Hide quoted text -
- Show quoted text -
Absolute must be the Visual Studio default. Even if I change it to
relative and drag a label on a Header <DIVsection the label does not
appear.
Are you with 1.1? It defaults to GridLayout. If so, just get rid of the
MS_POSITIONING= "GridLayout " attribute in the <bodyelement
--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET] http://msmvps.com/blogs/egoldin http://usableasp.net
"Mel" <ML********@gma il.comwrote in message
news:11******** **************@ q75g2000hsh.goo glegroups.com.. .
On Jun 26, 2:22 am, "Eliyahu Goldin"
<REMOVEALLCAPIT ALSeEgGoldD...@ mMvVpPsS.orgwro te:
>Is there any specific reason why you are using absolute positioning? With flow layout and relative positioning everything will resize automaticall y.
-- Eliyahu Goldin, Software Developer & Consultant Microsoft MVP [ASP.NET]http://msmvps.com/blogs/egoldinhttp://usableasp.net
"Mel" <MLights...@gma il.comwrote in message
news:11******* **************@ u2g2000hsc.goog legroups.com...
>I created a header that adjusts with the size of the browser windows.
How do I place labels in the header section so they also maintain
their position when the window is resized? One of the labels is
constant but the rest will be entered programmaticall y, for example,
the users name, their company, city, state and zip.
My example code:
<body>
<form id="form1" runat="server">
<div style="z-index: 103; margin: 0px; background:
url(logo_ucd.gi f) black fixed no-repeat center center; font-family:
Verdana; height: 95px; valign: top; overflow: visible;" >
<div id="Content" style="z-index: 100; left: 13px; width:
1017px; position: absolute;
top: 114px; height: 695px; background-position: center
center; background-attachment: fixed; background-image:
url(logo_firest one_shield_WM.g if); background-repeat: no-repeat;">
<asp:ContentPla ceHolder ID="ContentPlac eHolder1"
runat="server">
</asp:ContentPlac eHolder>
</div>
</div>
<div style="z-index: 102; position: absolute; top: 100%;
valign: bottom; margin: 0px; width: 100%; background-color: red;
overflow: visible; font-family: Verdana;">
</div>
</form>
</body>- Hide quoted text -
- Show quoted text -
Absolute must be the Visual Studio default. Even if I change it to
relative and drag a label on a Header <DIVsection the label does not
appear.
On Jun 26, 7:48 am, "Eliyahu Goldin"
<REMOVEALLCAPIT ALSeEgGoldD...@ mMvVpPsS.orgwro te:
Are you with 1.1? It defaults to GridLayout. If so, just get rid of the
MS_POSITIONING= "GridLayout " attribute in the <bodyelement
--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]http://msmvps.com/blogs/egoldinhttp://usableasp.net
"Mel" <MLights...@gma il.comwrote in message
news:11******** **************@ q75g2000hsh.goo glegroups.com.. .
On Jun 26, 2:22 am, "Eliyahu Goldin"
<REMOVEALLCAPIT ALSeEgGoldD...@ mMvVpPsS.orgwro te:
Is there any specific reason why you are using absolute positioning? With
flow layout and relative positioning everything will resize
automatically.
--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP
[ASP.NET]http://msmvps.com/blogs/egoldinhttp://usableasp.net
"Mel" <MLights...@gma il.comwrote in message
>news:11******* **************@ u2g2000hsc.goog legroups.com...
I created a header that adjusts with the size of the browser windows.
How do I place labels in the header section so they also maintain
their position when the window is resized? One of the labels is
constant but the rest will be entered programmaticall y, for example,
the users name, their company, city, state and zip.
My example code:
<body>
<form id="form1" runat="server">
<div style="z-index: 103; margin: 0px; background:
url(logo_ucd.gi f) black fixed no-repeat center center; font-family:
Verdana; height: 95px; valign: top; overflow: visible;" >
<div id="Content" style="z-index: 100; left: 13px; width:
1017px; position: absolute;
top: 114px; height: 695px; background-position: center
center; background-attachment: fixed; background-image:
url(logo_firest one_shield_WM.g if); background-repeat: no-repeat;">
<asp:ContentPla ceHolder ID="ContentPlac eHolder1"
runat="server">
</asp:ContentPlac eHolder>
</div>
</div>
<div style="z-index: 102; position: absolute; top: 100%;
valign: bottom; margin: 0px; width: 100%; background-color: red;
overflow: visible; font-family: Verdana;">
</div>
</form>
</body>- Hide quoted text -
- Show quoted text -
Absolute must be the Visual Studio default. Even if I change it to
relative and drag a label on a Header <DIVsection the label does not
appear.- Hide quoted text -
- Show quoted text
Microsoft Visual Studio 2005
Version 8.0.50727.42 (RTM.050727-4200)
Microsoft .NET Framework
Version 2.0.50727
Installed Edition: Professional
Microsoft Visual Basic 2005
Microsoft Visual Web Developer 2005
I do everything in layout in the HTML view and don't have much experience
with the designer. You can always switch to HTML and insert controls there.
This can give you a better idea what's going on.
--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET] http://msmvps.com/blogs/egoldin http://usableasp.net
"Mel" <ML********@gma il.comwrote in message
news:11******** **************@ g4g2000hsf.goog legroups.com...
On Jun 26, 7:48 am, "Eliyahu Goldin"
<REMOVEALLCAPIT ALSeEgGoldD...@ mMvVpPsS.orgwro te:
>Are you with 1.1? It defaults to GridLayout. If so, just get rid of the MS_POSITIONING ="GridLayout " attribute in the <bodyelement
-- Eliyahu Goldin, Software Developer & Consultant Microsoft MVP [ASP.NET]http://msmvps.com/blogs/egoldinhttp://usableasp.net
"Mel" <MLights...@gma il.comwrote in message
news:11******* *************** @q75g2000hsh.go oglegroups.com. ..
On Jun 26, 2:22 am, "Eliyahu Goldin"
<REMOVEALLCAPIT ALSeEgGoldD...@ mMvVpPsS.orgwro te: Is there any specific reason why you are using absolute positioning? With flow layout and relative positioning everything will resize automaticall y.
>-- Eliyahu Goldin, Software Developer & Consultant Microsoft MVP [ASP.NET]http://msmvps.com/blogs/egoldinhttp://usableasp.net
>"Mel" <MLights...@gma il.comwrote in message
>>news:11****** *************** @u2g2000hsc.goo glegroups.com.. .
>I created a header that adjusts with the size of the browser windows.
How do I place labels in the header section so they also maintain
their position when the window is resized? One of the labels is
constant but the rest will be entered programmaticall y, for example,
the users name, their company, city, state and zip.
My example code:
<body>
<form id="form1" runat="server">
<div style="z-index: 103; margin: 0px; background:
url(logo_ucd.gi f) black fixed no-repeat center center; font-family:
Verdana; height: 95px; valign: top; overflow: visible;" >
<div id="Content" style="z-index: 100; left: 13px; width:
1017px; position: absolute;
top: 114px; height: 695px; background-position: center
center; background-attachment: fixed; background-image:
url(logo_firest one_shield_WM.g if); background-repeat: no-repeat;">
<asp:ContentPla ceHolder ID="ContentPlac eHolder1"
runat="server">
</asp:ContentPlac eHolder>
</div>
</div>
<div style="z-index: 102; position: absolute; top: 100%;
valign: bottom; margin: 0px; width: 100%; background-color: red;
overflow: visible; font-family: Verdana;">
</div>
</form>
</body>- Hide quoted text -
>- Show quoted text -
Absolute must be the Visual Studio default. Even if I change it to
relative and drag a label on a Header <DIVsection the label does not
appear.- Hide quoted text -
- Show quoted text
Microsoft Visual Studio 2005
Version 8.0.50727.42 (RTM.050727-4200)
Microsoft .NET Framework
Version 2.0.50727
Installed Edition: Professional
Microsoft Visual Basic 2005
Microsoft Visual Web Developer 2005
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Grim Reaper |
last post by:
I know this is probably an easy question, but I could not find/figure it
out.
Basically, I am printing mailing labels with a "Sorting/Grouping" section
that groups the label types together. Also, I am using a "Report Header" to
show a count of how many total labels that are being printed.
Now, my problem is that without the "Report Header", the spacing is perfect.
But, when I add the Report Header, it gets shifted downwards and the...
|
by: Chuck |
last post by:
I have a report with three columns, accross then down, and two groups.
Currently the group headers are only one column wide and appear in the left
hand column. How can I make the group header be centered accross all columns?
Chuck
....
|
by: Ross Hamilton |
last post by:
Can anyone help me with this small problem.
I have a report that is divided into 3 Columns using the page setup, It
displays the report fields in 3 separate columns (Desc & Pg Num) but it only
displays the Page Header on the first column.
Any thoughts??
regards,
|
by: tesc |
last post by:
I'm sure this is pretty simple but I'm having a hard time with it. I
have a report that has multiple columns and have to change some of the
titles in the page header. As a result, the titles don't match up with
the detail. I've used the all the formatting buttons such as align,
size, etc. but it doesn't seem to work that well. I've also tried
highlighting the page header and detail at the same time and formatting
at the same time -...
|
by: cedoucette |
last post by:
I just wrote code to support sortable columns in a datagrid.
It seems to work fine; but, it doesn't look right.
The problem is that I have a generic style for links
and a different style for the header row - and they conflict.
The sortable column apparently uses the generic style for <a>
elements and the rest of the header uses "headerRow".
Can anyone tell me how to get consistent styles for each column in
my datagrid header?
| |
by: Arnold |
last post by:
Hi Everyone;
In a report, I've essentially recreated a paper sheet by adding various
labels--name, date, problem, year, Progress Notes, etc.--and horizontal
lines (people have traditionally written notes). I made all of these
in the Page Header section. By the way, this is a report form to track
the daily progress of students.
--Report Header--none.
--Grouping section--yes. The report form has a StudentID Header, which
|
by: rech340 |
last post by:
Hi, I created labels using the label wizard. I then added a group
header for a FN/LN field. I moved the following text box to the group
header:
=Trim( & ", " & )
Remaining in the detail section is a field called "Signer Name".
|
by: JH001A |
last post by:
I have a report of selected employees printed using a label report four columns wide. The label report width is 1.5 inches. How can I merge a report header ahead of the labels?
Thank you for any suggestions.
JH001A
|
by: cmartin1986 |
last post by:
Hi Guys,
My problem today is how to change the labels in a form header when the user selects a different tab. I want it in the header instead of the tab control box because im using this is a continuous form and want to fit maximum number of records per page.
to clarify, I have labels that say Line Unit 0001, Line Unit 0002, Line Unit 0003 eg. through Line Unit 0010. When the user selects the second tab, I want the labels to chang to...
|
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...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
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,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |