Top "Layout" questions

The layout tag is for questions about the placement, alignment and justification of objects with respect to a containing element.

Get the size of the screen, current web page and browser window

How can I get windowWidth, windowHeight, pageWidth, pageHeight, screenWidth, screenHeight, pageX, pageY, screenX, screenY which will work in all major …

javascript html jquery layout cross-browser
How to get screen dimensions as pixels in Android

I created some custom elements, and I want to programmatically place them to the upper right corner (n pixels from …

android layout screen pixel dimensions
How to set Bullet colors in UL/LI html lists via CSS without using any images or span tags

Imagine a simple unsorted list with some <li> items. Now, I have defined the bullets to be square …

css layout colors html-lists
CSS - Expand float child DIV height to parent's height

I have the page structure as: <div class="parent"> <div class="child-left floatLeft"> </div> &…

html css layout
Android Drawing Separator/Divider Line in Layout?

I would like to draw a line right in the middle of a layout and use it as a separator …

android layout draw
What is a clearfix?

Recently I was looking through some website's code, and saw that every <div> had a class clearfix. After …

html css layout cross-browser clearfix
Fixed Table Cell Width

A lot of people still use tables to layout controls, data etc. - one example of this is the popular …

html css layout html-table
How to make layout with rounded corners..?

How can I make a layout with rounded corners? I want to apply rounded corners to my LinearLayout.

android xml image layout
Using jQuery to center a DIV on the screen

How do I go about setting a <div> in the center of the screen using jQuery?

javascript jquery html css layout
Closing Application with Exit button

I'm a beginner in android, I'm practicing a Project that have a 2 labels and 1 exit button. But when I run …

android android-layout layout exit