13 posts tagged with css and div.
Displaying 1 through 13 of 13. Subscribe:

CSS absolute position within container div?

Hi web nerds. I'm a n00b having trouble with some CSS positioning stuff and it's driving me nuts. I'm trying to arrange multiple divs within a container div and nothing seems to work right. Details inside. [more inside]
posted by no regrets, coyote on Dec 2, 2014 - 9 answers

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

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

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

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

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

Page: 1