Hi,
I have a page with some controls, usercontrols etc.
when I change a div from plain <div id="foo"> to a <div id="foo" runat="server">
the layout complete changes.
why is that?
and how can I prevent it?
I'm using 2.0 .net framework
Is it because .net changes my id, which obviously I don't want?
...
I have panel that is using group layout to organize some label. I want to keep this panel center of the screen when re sized. If i put the panel inside a another panel using flow layout i can keep the labels centered horizontally but not vertically. Which layout manager will allow me to keep the panel centered in the middle of the screen...
Hi there.
I want to code a simple form layout in flex. Something like the following:
[label] [text field]
[label] [text field]
Initially, I've tried coding this using vboxes and hboxes for my layout. Like the following
<hbox>
<vbox>
<label />
<textfield />
</vbox>
<vbox>
<label />
<textfield />
...
I need to attach text labels to objects that are spread randomly across the screen and keep moving.
The default and ideal position for a label is on the right side of the object it refers to. I need a way to dynamically rearrange (or possibly merge) the labels so that they never overlap each other or other objects.
They should still be...
I want to implement a description page in an iPhone app. It's the final page in a drill-down navigation structure and needs to include a title, description, icon, large image, date and some buttons the user can click on to activate another application. The information comes from an external source and the title, description and image all...
I am building a 3 column web page (header & menu bar above a left nav, main area and right sidebar with a full width footer on the bottom). I have background colors for each column but they cut off at the end of the text instead of filling the whole column. Is there a way to fill the whole column that does not rely on using a table (td...
My site looks very different from FF and IE (http://www.kiubbo.com), as you can see there its a lot of space between ".news_item" lines in IE 8
If anyone has any idea why?
Thanks
...
Hi,
I'm looking to find out how robotreplay works. (Basically, it shows a movie of a visitor's mouse, and where he clicks when he enters a site)
I don't know much about ajax, and I'm learning, and I'm trying to figure out if I can replicate what they are doing in a basic way.
Would stuff like onmousemove or onscroll be useful?
BTW, thi...
Using a certain font, I use Java's FontLayout to determine its ascent, descent, and leading. (see Java's FontLayout tutorial here)
In my specific case I'm using Arial Unicode MS, font size 8. Using the following code:
Font font = new Font("Arial Unicode MS", 0, 8);
TextLayout layout = new TextLayout("Pp", font,
...
I have a div which contains two nested divs, one that specifies a height of 65 pixels (header), the other which specifies the height as 100% (content) and it is supposed to take the rest of the space veritically. When the page renders, there is a scrollbar on the right because of the height specified of 65 pixels of the header. What am ...
Hello this is my question;
I have created 5 very similar panels that are suppuosed to be visible in the same area of a frane on at a time, What I mean is that when the app stars one of them (JPanel0) is visible and the other four are created but invisible and when i hit Button1, JPanel1 sets to visible and Jpanel0 goes invisible, same w...
What CSS toolkit for initial page layout do you prefer? Is there is a solution that would have:
Tested cross-browser compatibility;
Great scalability (small source for a small project and adding new code only when necessary);
Clean and readible source.
...
In a GridBagLayout, what component is the best for providing empty space in a panel? Ideally I would like to use a component that has:
Low overhead
No side effect when no empty space is required (i.e. no minimum size)
A trivial constructor (no parameters)
A JPanel violates #2 above. A Box requires a constructor parameter (#3 above)...
Hi,
I am using the crystal report integrated in visual studio 2008 to create my reports.
My report design is that its has 3 sections
Section header where
Section detail
Section Footer
However I am having a problem with displaying vertical lines on the detail section when there are no records. The section footer is always displayed at the...
Basically i want to be able to make a a grid of boxes, where i can align text at the top middle and bottom of each box, and have the boxes on the same row resize when text in another box on its row pushes it down.
If you look at this HTML 4 code, it achieves what i want to be able to do, but id like to be able to achieve this with the X...
I'm trying to show a tree structure in an HTML table. It's basically a list of people you referred to a site, but you can expand each and see the people they referred too (only 2 or 3 levels).
I'm also showing a number of pieces of information on each person, so I'm using a table, with several columns.
I'm wondering what's the best way ...
<mx:TextInput x="917" y="10" width="111"/>
I have many declarations like the abovein my flex code :
I wrote the following code, without thinking about how would it look
like on a resolution like 800x600 or even 1024x768.
So, now some portion of my UI is not displayed on machines
with above mentioned resolutions.
How do I solve this...
I think the ideal is to use CSS purely for the layout and presentation, and HTML for the content. But let's say, the company wants to change a "Related articles" box from the bottom of the page to the top of the page. In such case, won't using CSS alone be not an ideal solution, but is better to alter the HTML as well? So as things ar...
I'm looking for a lightweight, PHP based, layout framework. Like how the Zend Framework, uses layouts, I would like to create a layout template and include only the content for the necessary pages.
<html>
<head>
<title><?= $pageTitle ?></title>
</head>
<body>
<?= $content ?>
</body>
</html>
Anyone know of anything that does this? I wo...
Hi,
I want to build a Master-Detail layout for one of my applications using SWT.
Container, Content, Sidebar and Part1 are Composite instances.
Scrolled is a ScrolledComposite
The desired layout is something like:
+--Container-------------------------------------+
|+--Content----------------------++--Sidebar----+|
|| ...