Note that there are some explanatory texts on larger screens.

plurals
  1. POmiddle column in css layout doesn't wrap
    primarykey
    data
    text
    <p>EDIT: Okay, so I'm at a bit of a loss here. Actually, at a lot of a loss. I'm seriously considering growing a personal hatred for CSS and its counter-intuitiveness.</p> <p>So I was trying to make a 3-column layout. It used to be based on the <a href="http://matthewjamestaylor.com/blog/perfect-3-column.htm" rel="nofollow">Holy Grail layout</a>, but then I decided I don't need the fluidity or the equal column heights, and began modifying the CSS to better suit my needs. </p> <p>First, the text in the center column, instead of wrapping, kept stretching the middle column, moving it under the left column. I implemented @ZincX's suggestion of using fixed width columns (see his post below). This fixed the columns, but the containers around them didn't stretch with them. If you open my site (see link below), there's an entire footer hidden behind the header.</p> <p>Also, I decided to do hierarchic markup - I moved the header to the bottom of the source code, and put it on top with absolute positioning. I'll probably do this with the left navigation column as soon as I get this sorted out. For those unfamiliar with the practice, I only learned about it the other day, too - putting your important content on the top of the page makes it a bit more search engine-friendly.</p> <p>So how can this huge mess of a layout be fixed? I just want a simple "header, three columns, footer" layout. Is giving absolute positions in pixels even a good practice that displays well in most browsers?</p> <p><a href="http://poland.inbulgaria.org/" rel="nofollow">Here's the site I'm working on</a>.<br> <a href="http://poland.inbulgaria.org/style.css" rel="nofollow">And here's my stylesheet</a>.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload