I'm using a DataList inside a Grid Layout Panel (which ends up being a
<DIV>) so that I can use the overflow:scroll property. This is working fine,
except for one anomaly: If there aren't enough items to cause an overflow,
and scrolling, they get spaced evenly inside the <DIV>. So, one item appears
in the middle of the area, two spread out with space on top, between, and
bottom, etc. Finally, after adding enough to fill the area, the spacing and
positioning is as I would prefer to see it.
Is there a way to change this behavior so that the <DIV> simply fills in
from the top?
(Also - possible warning note: My first attempt at this consisted of cutting
& pasting the DataList into the Grid Layout panel. This resulted in
*trashing* the HTML for my page. I was able to recover, but sure wished I
had picked the point just before I did that to check in the source....) 5 2631
You may change the DataList control's RepeatLayout to "Flow". When it is
set to table, the item's layout will be arranged automatically.
Luke
"Microsoft Security Announcement: Have you installed the patch for
Microsoft Security Bulletin MS03-026?? If not Microsoft strongly advises
you to review the information at the following link regarding Microsoft
Security Bulletin MS03-026 http://www.microsoft.com/security/se...s/ms03-026.asp and/or to
visit Windows Update at http://windowsupdate.microsoft.com to install the
patch. Running the SCAN program from the Windows Update site will help to
insure you are current with all security patches, not just MS03-026."
This just controls whether the scroll bar(s) always appear (albeit grayed
out) or not. Thanks. See my response to the MSFT comments by Luke.
"Justin Dutoit" <an**@anon.co m> wrote in message
news:uf******** ********@TK2MSF TNGP12.phx.gbl. .. I've heard of overflow:auto being used, have you tried that?
J
"Rick Spiewak" <ri*********@mi ndspring.com> wrote in message news:ut******** ******@TK2MSFTN GP12.phx.gbl... I'm using a DataList inside a Grid Layout Panel (which ends up being a <DIV>) so that I can use the overflow:scroll property. This is working fine, except for one anomaly: If there aren't enough items to cause an
overflow, and scrolling, they get spaced evenly inside the <DIV>. So, one item appears in the middle of the area, two spread out with space on top, between,
and bottom, etc. Finally, after adding enough to fill the area, the spacing and positioning is as I would prefer to see it.
Is there a way to change this behavior so that the <DIV> simply fills in from the top?
(Also - possible warning note: My first attempt at this consisted of cutting & pasting the DataList into the Grid Layout panel. This resulted in *trashing* the HTML for my page. I was able to recover, but sure wished
I had picked the point just before I did that to check in the source....)
And, we have a winner <g>. Yes, this works!, and without making a mess of
the formatting (I already had manually inserted a <BR> where I wanted a line
break, anyway).
Thanks.
"MSFT" <lu******@onlin e.microsoft.com > wrote in message
news:v9******** ******@cpmsftng xa06.phx.gbl... You may change the DataList control's RepeatLayout to "Flow". When it is set to table, the item's layout will be arranged automatically.
Luke
"Microsoft Security Announcement: Have you installed the patch for Microsoft Security Bulletin MS03-026?? If not Microsoft strongly advises you to review the information at the following link regarding Microsoft Security Bulletin MS03-026 http://www.microsoft.com/security/se...s/ms03-026.asp and/or
to visit Windows Update at http://windowsupdate.microsoft.com to install the patch. Running the SCAN program from the Windows Update site will help to insure you are current with all security patches, not just MS03-026."
This just controls whether the scroll bar(s) always appear (albeit grayed
out) or not. Thanks. See my response to the MSFT comments by Luke.
"Justin Dutoit" <an**@anon.co m> wrote in message
news:uf******** ********@TK2MSF TNGP12.phx.gbl. .. I've heard of overflow:auto being used, have you tried that?
J
"Rick Spiewak" <ri*********@mi ndspring.com> wrote in message news:ut******** ******@TK2MSFTN GP12.phx.gbl... I'm using a DataList inside a Grid Layout Panel (which ends up being a <DIV>) so that I can use the overflow:scroll property. This is working fine, except for one anomaly: If there aren't enough items to cause an
overflow, and scrolling, they get spaced evenly inside the <DIV>. So, one item appears in the middle of the area, two spread out with space on top, between,
and bottom, etc. Finally, after adding enough to fill the area, the spacing and positioning is as I would prefer to see it.
Is there a way to change this behavior so that the <DIV> simply fills in from the top?
(Also - possible warning note: My first attempt at this consisted of cutting & pasting the DataList into the Grid Layout panel. This resulted in *trashing* the HTML for my page. I was able to recover, but sure wished
I had picked the point just before I did that to check in the source....)
And, we have a winner <g>. Yes, this works!, and without making a mess of
the formatting (I already had manually inserted a <BR> where I wanted a line
break, anyway).
Thanks.
"MSFT" <lu******@onlin e.microsoft.com > wrote in message
news:v9******** ******@cpmsftng xa06.phx.gbl... You may change the DataList control's RepeatLayout to "Flow". When it is set to table, the item's layout will be arranged automatically.
Luke
"Microsoft Security Announcement: Have you installed the patch for Microsoft Security Bulletin MS03-026?? If not Microsoft strongly advises you to review the information at the following link regarding Microsoft Security Bulletin MS03-026 http://www.microsoft.com/security/se...s/ms03-026.asp and/or
to visit Windows Update at http://windowsupdate.microsoft.com to install the patch. Running the SCAN program from the Windows Update site will help to insure you are current with all security patches, not just MS03-026." This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Daniel Hansen |
last post by:
I know this must seem totally basic and stupid, but I cannot find any reference that describes how to control the spacing between <p>...</p> and
<div>...</div> blocks. When I implement these on a page, there is a huge gap (like 3/8 inch or 25 px) between them. This is driving me bananas.
What the hey am I missing?
dh
------------------------------------------------
Dan Hansen
------------------------------------------------
|
by: smiley |
last post by:
I hope this is the right forum for this question; i know it crosses
over a few topics but here goes. I have a page that uses a
server-side include perl script to return a list of name/value pairs
from a text file. The last value is variable length- the shortest
return is about 300 characters, and the longest is about 6000 or so.
This SSI lives inside a <div> on a page with a few other text <div>s;
a simplified example of the layout is:
...
|
by: slim |
last post by:
hi again all,
i am still working on the website as mentioned in earlier threads and
have hit another snag...
http://awash.demon.co.uk/index.php
http://awash.demon.co.uk/vd.css
the php is pulling a name and placing it under the thumbnail (the text is
|
by: CMAR |
last post by:
I have the following markup. The problem is that the browser, e.g., IE6,
inserts several lines of blank space between the <div> and the following
table. Is there a way to minimize that vertical spacing?
Thanks, CMA
<div class="vlgray">Condition</div>
<table cellpadding="0" cellspacing="0">
|
by: Tim Sheets |
last post by:
Hi all,
I am having a problem that seems so simple, I am almost embarrassed to
ask about it.
I am working on a page that has the layout largely css driven. The top
of the page has two <img> tags, one a logo, the other a graphic just for
looks. If I use the following code:
<div id="header">
| |
by: Alan Silver |
last post by:
Hello,
I would like to know if it is possible to use a panel, but prevent it
from adding a <div> tag to the HTML. The reason I want to do this is
that I am using a panel to enable me to show/hide part of a page as
required. I would like the part in the panel to appear on the same line
as the controls that precede it, but when the panel is converted to
HTML, a <div> tag is used, and that forces a new line in the browser.
Any ideas? TIA
|
by: chakradhari.ashish |
last post by:
Does anybody know how can I load an html page inside a <div</div>
where the content gets update on the onclick even of anchor <a href=>
</a>?
I googled around and followed some links pointing me that it is
possible to use javascript combined with CSS for doing this? Any
ideas?
Chakra
|
by: nathj |
last post by:
Hi All,
I'm working on a new site that has a two column layout underneath a title bar. If you check out:
http://www.christianleadership.org.uk/scratch/mainpage.php
using IE or Opera you will see what I am after as these browsers work fine.
However, in FF the results are slightly different - take a look and you'll see that the <p>, within <div class="mainContent"> has shot way over to the right.
I've been working on this for 2days now...
|
by: prino |
last post by:
Hi all,
I've written code (in REXX) that takes files in legacy languages (PL/I, COBOL, z/OS assembler, etc) and converts them into HTML in a format similar to what's displayed in the z/OS ISPF editor. A fellow member of the PCG has helped me by creating a bit of Javascript to emulate the scrolling and using Google I've now gotten it into a state where it almost passes the W3C Markup Validation Service. However, the one error, Error Line 166,...
|
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...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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: 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: 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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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();...
|
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...
| |