Tagged Questions
2
votes
7answers
56 views
Expand a Div Vertically to fit contents
I have Login page, with a div in the center. I have set the height and it fits perfectly. However, if I add validation errors at the top of the div, the button at the bottom gets pushed outside the ...
0
votes
4answers
43 views
How can I realize a CSS layout with a fixed sidebar and scrollable content?
I'd like to create such a layout:
Red: Fixed sidebar that expands to the right when opened.
Blue: Content, scrollable and should move to the right when the sidebar expands
Now, when I try to code ...
0
votes
3answers
137 views
Javascript and CSS Dynamic-Width Float Glitch When Resizing
I've got a snippet of code working fairly well thus far, but there's a small glitch that needs to be worked out.
The goal is to have two items next to each other where one is a fixed width and the ...
0
votes
2answers
34 views
Center text next to floated image
I have an image with three lines of text to the right. The text is centering on the remaining space on the line, but I would like to center it on the page so that all of the text is centered (the ...
0
votes
2answers
51 views
Layout not aligning
I have two containers, one on top of the other. The bottom one is wider than the top and both have auto margins to the left and right. I figure the top one should sit even on top of the other.
I have ...
-6
votes
0answers
32 views
How change position of blocks in responsive design? [on hold]
1Here I have my test for responsive design ( live version at my website ). But in tablet version (768px < browser window width < 1024 ) 1 block have to be places above 2 blocks.
Someone have ...
0
votes
2answers
42 views
CSS Stack images from right to left, out of the DIV
I'm trying to achieve a past and future picture line in 2 divs. All pictures on left side of screen stack to infinity from right to left and all images on the right side of screen stack to infinity ...
0
votes
2answers
24 views
CSS alternating rowbased floating
Im not sure how exactly to call my problem, hence the cryptic title.
The situation I have is the following:
<div class="widget full">foobar</div>
<div class="widget ...
1
vote
2answers
37 views
Float and @media query doesn't seem to work together
Here's my CSS:
div.imgbeequick
{
background: url('../img/beequick400-135.png') no-repeat center top;
display: inline-block;
vertical-align: center;
width:45%;
margin:auto;
height:135px;
}
aside
{
...
1
vote
1answer
20 views
css: logo: img: float right: being weird: still floating left and showing bgcolor of another div
this is just a static page, nothing too frilly. i just want this page to look fine smooshed into a cell-phone, tablet, or on a computer monitor.
http://www.cupcakeshop.com
the logo is 400px wide, i ...
0
votes
0answers
59 views
Why is Firefox totally ignoring some of my CSS?
I am using Firefox 21 on Mountain Lion. I have some divs that are being created by JavaScript via:
$(document).ready(function(){
setup_teaching_points();
});
The code below works ...
1
vote
1answer
19 views
IE9 forcing inline block elements to clear floats
I have an interesting issue that took me a while to replicate with IE9, but it involves floats AND inline-block elements. Due to the desired flow of content in mobile, I'm trying to get a certain ...
1
vote
6answers
41 views
Right div on float:right appears a line below the left one
Here's my problem.
I have a wrapper div(width: 800px and height: 250px) which contains two divs occupying all the space in height and dividing their width in half.
I set up my css, float the right ...
0
votes
3answers
45 views
How can i make the responsive design using CSS?
How can i make the responsive design when i view from smartphone or tablet. It should align properly and show the exact output in any device.Here is the code that i tried to implement in popup. I am ...
3
votes
2answers
45 views
Float not working as expected
I have a navigation box, and the "Contact" element isn't fully right justified despite float being set to right.
<div id="navwrapper">
<ul>
<li ...