Questions tagged [width]

The property which determines the size of an object on the X-axis. The most common form of this measurement is in pixels or millimeters.

The property which determines the size of an object on the X-axis. Most likely, it has no taxonomic value in your post, and you should not be using it. Consider e.g. , or

6050 questions
2
votes
1 answer

CSS Media Query - width rule does not apply

I'm trying to center the content of the header, if screen size decreases below 800 px. So I defined a css media query, but it doesn't work properly. below is a fiddle with my code: http://jsfiddle.net/QGyXe/3/ Note: I know there is a lot of code,…
jeff
  • 13,055
  • 29
  • 78
  • 136
2
votes
2 answers

How to get width of a horizontal scroll view

I have a horizontal scroll view, I should learn the width of this scroll view. I had tried all solutions which I found in web, but the result has been the same: 0. The scroll view:
ismailarilik
  • 2,236
  • 2
  • 26
  • 37
2
votes
3 answers

Div inline-block elements not filling width properly

I'm about to make a website but I'm getting stuck on the css. For some reason, there's a space between the video slideshow and the side bar. Can anyone tell me why this is? Below is a picture of what my web browser displays when given the code.…
user2449973
  • 123
  • 2
  • 7
2
votes
2 answers

Changing CSS style using jquery

I'm trying to modify the width of a div. What am I doing wrong? $('#foo') [
​] $('#foo').css('style','width:50%') [
​]
JZ.
  • 21,147
  • 32
  • 115
  • 192
2
votes
2 answers

JTabbedPane tab component resize to fit

I want to make my tab labels share the JTabbedPane width. If there's one tab, fit whole width, if two tabs, share width, if three, 1/3 for each and so on... i don't even know if it's possible to do it without putting a component there and resizing…
2
votes
2 answers

Scaling an image sprite, using percentage: Possible?

I just received help in another question I recently asked here in regards to sprites, but now that I have them working properly, I have run into another problem: How can I scale the image displayed? My current code is as follows:
Hiigaran
  • 829
  • 10
  • 28
2
votes
2 answers

Percentage % padding that isn't relative to the parent

I have this piece of HTML

CONTENT

And I have this CSS: .box { display: inline-block; min-width: 360px; position:…
pocesar
  • 6,860
  • 6
  • 56
  • 88
2
votes
1 answer

CSS width wierdness in Chrome and Firefox with Pure CSS

To start off with, I'm quite new to CSS still so I hope I haven't done anything horrendously stupid. Basically, I have a design I'm doing built using Pure and the width is playing up in Google Chrome, while it works as intended in Firefox. Here's a…
user478250
  • 259
  • 2
  • 9
2
votes
1 answer

Height and Width of path data

I am new to WPF and have a Path data like: M44.3364,36.7461C42.2004,42.9021,36.3504,47.3241,29.4644,47.3241C20.7724,47.3241,13.7244,40.2761,13.7244,31.5851 Now I want to get height and width of this path data, how to do it?
Shanmukh
  • 35
  • 1
  • 4
2
votes
2 answers

fixing width of a gridview in asp.net

I want to fix width of gridview. I am filling gridview as following; sorgu = "select urun.urunId as \"İş No\",urun.modelNo as \"Model No\",modelAd as \"Model Adı\",bedenAd as \"Beden\", adet as \"Adet\"" + ",aciklama as \"Açıklama\",…
the4u
  • 83
  • 1
  • 2
  • 8
2
votes
3 answers

How to set background size (height & width)?

I'm very new to JavaScript. My code so far: $("#Stage").css( "background-image", "url(BG.jpg)", "background-attachment", "fixed" ); What I want to do is have the background image at a set size so lets say: width: 100% and height: 100%.
Chris Lad
  • 349
  • 4
  • 8
  • 24
2
votes
4 answers

How to find the actual width of grid component with scrollbar in Delphi

I have a grid component (DBGrid) which has lots of columns on it. Because of large number of columns, a scrollbar was created, and thus some part of grid remains hidden. I need to find out what is the real width of DBGrid, including the part which…
Tofig Hasanov
  • 3,303
  • 10
  • 51
  • 81
2
votes
5 answers

How do I make the container div be as wide as the h1 element in it

I need the container div to be as wide as the h1 element and to change with font size changes. Currently everything is as wide as the page. This is the code:

ABCDEFGH

2
votes
4 answers

When android calculate width and height of views

I create my hierarchy of views by code, and then I do setContentView()in the Activity with my root view like argument. I need know width and height of one view in runtime but if i do getWidth() or getHeight(), i get 0. If i wait a few seconds i get…
Bae
  • 892
  • 3
  • 12
  • 26
2
votes
0 answers

Setting screen size for multiple devices on mobile web application

I am trying to get a legacy web application to run "properly" on mobile devices (where "properly" mainly means tweaking CSS so that text is readable and superfluous images and effects are hidden). Due to various reasons (many graphics files which…
Jens
  • 1,386
  • 14
  • 31
1 2 3
99
100