Tagged Questions
0
votes
0answers
14 views
Extra space after percentage based image in floated div
I have a structure of many divs, where each has one image inside it... this all is wrapper inside one big container div.
The whole thing is percentage based and the container div should be scrollable.
...
0
votes
2answers
28 views
How to float blocks of undetermined width
I am having problems floating multiple DIVs, allowing them to bust out of acontaining div. Please see my code below as an example.
<!DOCTYPE HTML>
<html lang="en-GB">
<head>
...
0
votes
1answer
35 views
Text Overflow Hidden Breaks Float
I need my text to wrap my image which works fine until I set the text overflow the hidden. The reason I need to set it to hidden is because it's going to be half hidden at first. I tried switching ...
0
votes
0answers
49 views
Overflow: hidden does not work with display: inline-block in Opera 12 (Presto)
See this demo:
http://codepen.io/vobpler/pen/GHDCs
It's pretty simple, a button with two elements inside. There's a .text element which holds the text shown in the default state, then there's a ...
2
votes
1answer
45 views
3 Float Divs with overflow content to next div - html & css
I have 3 div's which is floated left, with a continuous content and fixed height, then overflowed content from the first div should be shifted to 2nd div and other overflowed content of 2nd div must ...
1
vote
2answers
50 views
Float images into overflow without wrapper div
I got some images into a div.
<div>
<img />
<img />
<img />
<img />
</div>
All images are set to the same height of 50px. The width is set to auto.
...
0
votes
1answer
469 views
Floated div 100% height of parent inline-block div
I am making a simple slideshow and I have got the javascript working very easily. However the layout is not going as well. The current image is display in big with a fixed width of 80% and the height ...
2
votes
1answer
112 views
multiple floated divs-overflow hidden, partial view
Here's the set up:
I have a 100% width div that allows for the input of multiple images (this is in wordpress). I have a class set up that floats those images left. The overflow is hidden, but I want ...
0
votes
3answers
139 views
Footer menu goes top of main container
I have three main divs , they are header,main-container and footer. CSS for the divs are
#main_container
{
width:950px;
margin:0 auto;
}
#header
{
background:#f4f8f9;
}
#footer
{
...
0
votes
1answer
131 views
How to make DIVs flow to the left in a x-scrollable pane with CSS?
I want to create a x-scrollable panel of specific height and width where DIVs should be positioned in a row to the left insted of to the bottom (see this example: http://jsbin.com/ohahac/1/edit). I ...
1
vote
3answers
502 views
Firefox unexpected line break using floats & overflow hidden
I have a container div that holds two items: a .button and a .box with text inside. .button comes first and is floated right. .box has no float [this is a constraint - I can't float it left due to ...
3
votes
1answer
340 views
Chrome: overflow:auto + margin:auto fails to layout correctly sometimes
I'm trying to layout a page which has anchor elements that I would like on a new line and centered. However these blocks are inside of <p> elements which are beside floating images.
Right:
...
0
votes
2answers
320 views
Content goes outside div
As the title implies my problem is that the content doesn't stay inside the main container (no floats are used).
Yes, I know there are a lot of questions regarding this matter here on Stack, though ...
0
votes
1answer
303 views
Prevent floating elements from wrapping around (show scroll bar instead)
How do I make a div tag's elements not wrap around and instead extend beyond the available space on the page?
For example, I have:
<div class="container">
<div class="row">
<div ...
0
votes
4answers
914 views
child div outside the parent
I am currently designing a website . But in one of my parent div box_t,the child divs box_t1 and box_t2 goes outside the box_t. My HTML:
<div id="main_container">
<div ...