I have a text document with some annotations, and I would like to make them appear near the text they accompany, on a webpage.
That is, I want to convert something like this:
The Houdan hen was never drawn into the
cult of Sredni Vashtar. Conradin had
long ago settled that she was an
Anabaptist. He did not pretend to have ...
Having a world of trouble with a fullscreen layout. Either a table or css based solution would be appreciated.
The goal is to expand to the viewing screen, with the "nav" fixed by width and "top" fixed by height, ideally without javascript. The code below works until the "content" fills up. When that happens it needs to scroll. However,...
I want a two column layout where the two columns are proportional in size to each other and won't overlap. The left column has only a little bit of content in the top of it and should scroll down with the page (float along with the page as it scrolls down.) The right column will have a lot of data and won't have a scrollbar, the browse...
I have a simple form like this:
Username: ..........
Password: ..........
When the form is re-sized, I would expect JTextField (illustrated by .........) to be re-sized horizontally to fit the new width but not vertically (the same height for JTextField). Do we have any way to control this?
Thanks!
...
Hi community,
I have the following problem, I have a canvas with some axes and grids I drawed on it by Shapes and added them to the rawchildren of the canvas. Now I created a custom component with only a VBox and a BezierSpline (degrafa) embedded. Now as I added the spline component to my canvas (addChild(spline) the spline is behind th...
I'll start with an ASCII art illustration of what I want to achieve:
Category title
Title Title
+-------+ +-------+
| | | |
| | | |
| Image | | Image |
| | | |
| | | |
+-------+ +-------+
Subtitle Subtitle
Category title
Title Title
+-------+ +-...
Guys, I have a CSS Layout that I am using that has a header, footer and a sidebar on the left. It works great, but the only problem is, I would like the sidebar and the footer to extend to the bottom of the screen if there is not enough content to fill the main content. How do I do this in CSS? I have posted the css here so you can see w...
Hey guys, I've struggled with this for a bit and don't seem to find a solution. Need an advise or the simple statement saying this is impossible (so far I think it is - impossible).
Problem is:
need 3 column flixible width layout, left fixed width, right aswell, middle - takes all of the space provided by body or whatever.
Trick is that ...
Hi guys,
So I had a question on general organization of code for the Zend framework with regard to the layout.
My layout is basically this:
(LAYOUT.PHTML)
<div id='header'>
<?= $this->Layout()->header ?>
</div>
<div id='main'>
<?= $this->Layout()->main ?>
</div>
<div id='footer'>
<?= $this->Layout()->footer ?>
</div>
and so on an...
I want to be able to determine the bounding box of areas of text, images and paths on a PDF page, similar to what is shown here:
http://www.windjack.com/products/screenshot/pdfcanscreenshot2.html
Looking at the PDF spec, I can see how to determine the bounding boxes of paths and images, but I can't see how to arrive at them for text. D...
The layout of the components in the project I'm working on didn't look correct, I suspect there's a bug in Swing. Basically, what appears to be happening is that the weightx and weighty proportions aren't being adhered to when the cells being laid out have varying minimum sizes and/or preferred sizes. I created a sample program to demo...
I've tried finding an understandable answer to this, but given up.
In order to have dymnamic content (like blog posts and images) in a horizontal website (like on thehorizontalway.com) you must set a fixed width for the BODY in pixles, right? Because you use floated elements inside it that otherwise would break and wrap down the page, d...
Hi,
I created some custom elements and I want to programatically place them to the upper right corner (n pixels from the top edge and m pixels from the right edge) therefore I need to get the screen width and screen height and then set position:
int px = screenWidth - m;
int py = screenWidth - n;
Does anyone know how to get screenWidt...
Say I have a database table like the following:
FileID | FileName | FileSize | Group
-------------------------------------
1 test.txt 100 Group1
2 test2.txt 100 Group1
3 test3.txt 100 Group2
What would be the best way to display this data with an MVC view in the style of:
Group 1
Table C...
Scenario
In a screen I have 2 managers: 1) menu manager at the top and 2) body manager that has info/button elements. The menu manager does custom drawing so that its menu elements (LabelFields) are properly spaced.
Core Issue - Manager and subfield drawing order
The screen draws fine except when the user preforms an action (clicks a b...
I am writing a class that has lots of getters and setters and was wondering on what people thought about the following:
The normal way is to code like the following:
public function setChangeSort($changeSort)
{
self::$changeSort = $changeSort;
}
public function getChangeSort()
{
return self::$changeSort;
}
What are your opin...
I am creating an application which has a scrollable and scalable (zoomable) view. Inside this view I want to place other components (most of them customized JPanels and JInternalFrames).
Things such as fonts and borders, and sub-elements such as buttons don't need to be scalable. Only dimensions and position of container components shou...
Is it possible to do template layouts which you can assign to all your pages within NetBeans. (The equivalent to Dreamweaver templates)
Please note this is a PHP Project
Thanks in advance!
Any takers on this one?
...
I have this case
<WrapPanel>
<CheckBox>Really long name</CheckBox>
<CheckBox>Short</CheckBox>
<CheckBox>Longer again</CheckBox>
<CheckBox>Foo</CheckBox>
<Slider MinWidth="200" />
</WrapPanel>
I want all the CheckBoxes inside the WrapPanel to be the same width.
Adding the following almost accomplishes the desired e...
Hello,
I want to lay out items in a ListView in a similar manner to the WinForms ListView in List mode. That is, where items are laid out not just vertically but horizontally in the ListView as well.
I don't mind if the items are laid out like this:
1 4 7
2 5 8
3 6 9
Or like this:
1 2 3
4 5 6
7 8 9
As long as they are presented bot...