I'm trying to adopt one of deathshadow tempalates: http://www.cutcodedown.com/for_others/ralph-design/template.html I'm having a problem: http://www.furniturefinder.biz/store2/ Sidebar is under the "main" div , and "main" width is 100%. I need sidebar on the left and "main" div on the right. Can somebody correct it? Thanks.
Doesn't really look anything like how I'd write code, with the lack of media targets, media="all", epic failure at scripttardery, clearing DIV like it's still 2003, pixel metric fonts, illegible colour contrasts, advert before you even have your page heading, blocking scripts in the <head>... The lack of code formatting in the HTML makes it hard to tell what section is what -- I'm heading to bed soon (that pesky non-24 sleep wake disorder caught up with me again) but I'll run the code through some formatting and see if there are any tell-tales for what may have gone awry when I get a chance... but a quick check in the document inspector and... You're floating #sidebar, but NOT #main. If anything the floats should be on the FIRST element, not the second, or a double-wrapping DIV is needed to use the negative margin technique floating BOTH. The former method works if going for a percentage width, the latter is better if content first with elastic width. (em). See how in the page you were copying from the floated part (#extras) is FIRST in the code, not second? That's so all I had to do is float #extras and then set #content to overflow:hidden so it didn't de-indent beneath it. Swap your code order would be the SIMPLER approach, but not necessarily in the case of the page you are working on one that makes any sense semantically -- so more complex layout methods may need to be used there.
This is maybe 10 yrs old template with no responsive layouts. I know this is a mess. Tried another CSS (part of course) http://www.cutcodedown.com/for_others/ultimate/template.html So I have sidebar and "Main" div in right places. http://www.furniturefinder.biz/store2/ I'm using part of yours CSS with div "ContentWrapper" here: http://www.furniturefinder.biz/furniture/ Had to add extra divs to 5 pages. But it causes problems in main page of website. Wasn't able to add closing </div> to right place and one page was broken. So I'm looking for CSS without re-writting Divs. Best Regards.
Hi, Can you tell me what's wrong with this page? http://www.furniturefinder.biz/store2/search.php?q=sofa - with 3 columns - looks good (kind of) - with 2 columns (media-width < 56em) - wrong height of images - with 1 column (media-width; 40em) - looks OK.