18 posts tagged with div. (View popular tags)
Displaying 1 through 18 of 18. Subscribe:

Related tags:
+ (12)
+ (9)
+ (4)
+ (4)
+ (4)


Users that often use this tag:
Freen (2)

How can I make a div expand vertically to fit it's float'ed content?

I'm racking my brains trying to figure out what seems to be an easy problem I'm having with CSS. It has to do with a div not resizing to contain two floated div's inside it. [more inside]
posted by arcolz on Oct 8, 2009 - 10 answers

 

CSS / Lightbox-esque popup/div width issue.

Scaling down div width to fit around image which has been scaled down via its height element?? [more inside]
posted by theRussian on Jun 25, 2009 - 5 answers

Centering a div element

What is your favorite method to get <div style="width:400px;height:300px;"> to be in the center of a page (both horizontally and vertically)? Preferably CSS rather than tables.
posted by jgunsch on May 17, 2009 - 9 answers

Valid solution to the CSS equal height columns problem?

Is this a good way to solve the equal height columns problem in CSS? [more inside]
posted by dolca on Mar 15, 2009 - 32 answers

CSSFilter: Webkit won't keep my elements in their fixed width container.

CSSFilter: I am building a wordpress site that uses a basic two column layout with floating div elements inside a fixed-width div . Any clues why Safari and Chrome appear to be ignoring the fixed-width container div allowing the interior elements to float away to the edges of the browser? Explorer and Firefox aren't doing this. [more inside]
posted by geos on Feb 10, 2009 - 16 answers

How can I fix my weirdly rendering navigation tabs?

What's wrong with my CSS that makes top the nav render like this or this on some browsers, and how can I fix it? [more inside]
posted by goodnewsfortheinsane on Jul 10, 2008 - 15 answers

Scrolling nested divs

Is it possible, with HTML and CSS, to nest a two divs, such that the inner div has a height relative to the outer div so that other content in the outer div can display? [more inside]
posted by Godbert on Apr 4, 2008 - 12 answers

DIV height issues...

Let's say I am using a JavaScript technique that requires a DIV to have a specified height, but the amount of text filling it, and thus the height it needs to be, will vary. Can I make it work? [more inside]
posted by TunnelArmr on May 25, 2007 - 8 answers

stop scrolling, damn ye!

Javascript / Prototype problem: I've written a function that inserts new content in a div whenever you click on a link in that same div. It works, but with the added "feature" of scrolling to the top of the page after the new content has been added. I don't want it to do this. How do I stop it? Here's the page. (Scroll down to see the link.) [more inside]
posted by grumblebee on May 2, 2007 - 11 answers

My div is sinking in IE

CSS: This should be simple, but I, the super-novice, can't find the answer. I need to figure out how to get my float:right column to sit next to my float:left column, instead of it sitting to the right, but below the left... in IE of course. [more inside]
posted by Witty on Apr 27, 2007 - 26 answers

Hekp me move a div!

Javascript Noob: I need to move one div inside of another div that is elsewhere on the page. How do I do this? [more inside]
posted by Freen on Feb 24, 2007 - 3 answers

Please help me move from tables to divs in a clear way?

How do I do multiple sets of multi-column divs w/ CSS inside other multi-column divs? More details in first comment. [more inside]
posted by Kickstart70 on Nov 28, 2006 - 9 answers

Javascript Div Issues.

Javascript neophyte: How do I swap out the contents of one div with another? But there is a monkey-wrench in the whole thing: the new div [more inside]
posted by Freen on Nov 13, 2006 - 12 answers

Image centering with CSS?

Following some googling, I've found a few sites that claim you can't use CSS to centre an image vertically within a div. Does this mean that I can't get the images on this page to float in the centre of their respective grey box? At the moment, they only seem to be postioned in the middle at the top of the box and even the middle bit is only because there is a text-align:center in there. (I don't mind If I have to lose the title of the image to get this to work)
posted by ralawrence on Dec 8, 2004 - 13 answers

Mozilla Tables

Mozilla problem: weird tables (come inside, fellow coding geeks) [more inside]
posted by moonbird on Nov 5, 2004 - 7 answers

Can CSS Make One DIV's Anchor Color Different Than Another?

I'm stumbling through css. Is there a way through CSS to make anchor color in one div different than anchors in another div? I have a div class="menu" - with links in that div, that I want to be a different color than the other links on the page - I have tried .menu:link {color:#660000;} but that doesn't seem to be working. Anyone?
posted by TuxHeDoh on Oct 19, 2004 - 4 answers

Div div the div div?

I have a div within a div. I want them both to be exactly the same width (but not height), so that the inner div's border will overwrite the outer div's border. Is this possible?
posted by Tlogmer on Aug 6, 2004 - 5 answers

Div in IE

An html/mac/ie/div question thats driving me mad...

Basically, I have a div with scrollbars on top of an image. In a mac (possibly only IE) when you try and grab the scrollbar and scroll down it instead grabs the background image and trys to drag it away. Any thoughts? Sorry - the nature of the site means I can't give you an example URL.
posted by twine42 on Mar 8, 2004 - 13 answers

Page: 1