layout

tweetboard effect sliding frame

When you visit this link http://tweetboard.com/alpha/ you will see a Tweets label on the left. When you click this tweets label, another site loads inside this panel/iframe. Can you please help me understand how this feature is created? It seems that I should be able to create this effect using standard HTML and jQuery. If you can ...

What can I use to substitute    in HTML?

   is ugly, I think. ...

WPF: Why shouldn't I use {TemplateBinding Margin} in ControlTemplate - is Margin meant only for element's containers?

I have created my own ControlTemplate for Button, like this: <Style x:Key="LightButtonStyle" TargetType="{x:Type ButtonBase}"> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type ButtonBase}"> <Border x:Name="WrappingBorder" Marg...

How to put a figure on the top of a page on its own in latex?

One of the figures appear in the middle of a page (on its own) when the figure does not fit the other text. How to show it on top of the new page? ...

Alignment of items in row when using TableLayout

Im trying to figure out how to line up items in each row of a table (TableLayout) - ideally I want the center of each cell to line up horizontally. The documentation isn't very clear on what's possible with TableLayout. Each cell has a different view widget so I thought a tabular layout would work well but they are all different sizes an...

wpf newbie - how to layout variable set of attributes so they appear in same columns as fixed attributes

Hi all, I am a wpf newbie & loving it. However I have a layout problem which I hope someone can help me with. I need to build a persons attributes editor. These consist of 2 fixed attributes - first name & lastname, plus a variable bucket of other attributes such as age, sex etc. I have build a dialog consists of grid which contains 2 ...

Problems wih minSdkVersion 1.5

Hello, we have a problem related to the manifest file and the property "android:minSdkVersion". The issue is: If our platform is 2.0 and we use the property "android:minSdkVersion=3" (3 = sdk 1.5) the graphics get corrupted (In details, the application's resolution get reduced to a 2/3 part of the original size, this is, when the reso...

Using Javascript to aid layouts

With the increasing popularity of libraries like jQuery that make Javascript a lot more friendly, I see a tendency to delegate parts of the layouts to the client side: things like coloring of table rows (from simple things up to tools like flexigrid), fixes for cross browser CSS incompatibilities, syntax highlighting and so on. Is it no...

Jquery toggling each and every div with same id

I want to toggle a bunch of divs that each have the same id. My current jquery code only toggles one div. (I've tried using a mixture of .next and .parent.next, but haven't found anything yet) $('#body'+id).toggle('400'); So: There would be multiple divs with a '#body2010' id. I want to toggle all of those. ...

Multi-column silverlight repeater?

It's easy to repeat templated data, using List box, or StackPanel + ItemsControl, etc. However, I cant figure how to get multiple columns, ie, column alignment. Example: Name: John Doe Street: 123 st City: Seattle State: WA This link below shows the general layout I am trying to programmatically replicate (scroll near bottom):...

Align items in a stack panel?

I was wondering if I can have 2 controls in a horizontal-oriented StackPanel so that the right item should be docked to the right side of the StackPanel. I tried the following but it didn't work: <StackPanel Orientation="Horizontal"> <TextBlock>Left</TextBlock> <Button Width="30" HorizontalAlignment="Right">Right<Button> </Stac...

Blackberry - getPreferredWidth ignored in 4.5?

I've created a ButtonField with an automatically-calculated width. The button's width will be determined based on how many other buttons are in it's parent's HorizontalFieldManager (HFM). So if there's 3 buttons, each button will be about 33% of the width. If there's 5 buttons, each one will be about 20% of the width, etc... Basicall...

How do i get these things horizontal instead of vertical?

http://we-live.in/city.html -- id like to see RESOURCES and EVENTS side by side bc im listing 3 more... rather than on top of one another -- can i do that within the div or do i have to redesign the layout? <div id="row1"> <div class="wrapper"> <h2><script type="text/javascript"> <!-- document.write('<form name="selecter1"><...

Disappearing imagebutton in my layout - why?

The last image button is not being rendered (in fact I see an error which quickly disappears to show the rest of my view minus the last imagebutton. My activity layout looks like this: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent"> <Scro...

Can i change the layout of YUI datatable?

My web application uses YUI datatables to show records to the user. I dont want it to be a rows and columns layout. Can I use my own layout for example all data of a record within a single row and single column. Consider StackOverflow questions page. Is it possible for me to do like this with YUI datatable? ...

Android: ScrollView Problem

I have had a number of problems with ScrollViews. Recently I tried to create a LinearView which content exceeds the screen size so I created the new layout with parent element ScrollView and set its width and height to custom values (the layout has to appear as dialog - not filling the whole screen). When the element is selected the re...

What layout should I use if I'm going to place 60 (more in the future) images in a grid-like layout?

I need them to be ordered neatly and be able to use animations on each image. The animation will be a simple "grow" effect to symbolize that the image has been selected. So when a user clicks the image, that Image will grow a bit. So, a grid? A stack? I'm a bit confused. ...

Align bottoms of text in controls

The following snippet: <Window x:Class="Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"&gt; <Grid> <StackPanel Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center"> ...

Why are there so many underlines in this HTML file? The layout is out of shape too, how to correct it?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml"&gt; <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Uターンラッシュがピーク 新幹線や空の便、ほぼ満席 -Tenxian</title> <script src="http://ajax.googleapis.com/...

Fixed 3 Column Site

I know this has been asked before but im curious to see if things have changed. I'm looking for a html/css fixed 3 column layout with the main content (middle) area located first (of the 3 columns) in the DOM - for SEO. Any ideas? ...