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
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
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
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
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
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
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
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
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
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 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
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
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
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
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