Jump to content

Recommended Posts

Posted

OK, I'm redesigning my site and found a three column layout that I liked and adjusted my review page to those configurations. This template uses <div> tags and I noticed that instead of single apostophes it shows up as an empty square box or a question mark. By the way, the page uses MySQL to get the data.

 

Also, on a larger screen (1024x768), it shows up fine but on something smaller (800x600), the middle section gets (for the lack of a better word) squished down to the bottom of the page.

 

Here's the page I'm talking about:

http://www.moviemansguide.com/reviews/DVD/....php?id=unknown

 

Plus the home page (where this also happens)

http://www.moviemansguide.com/test-index3.php

Posted

It works correctly in Firefox at all resolutions. If I look at it in IE it does as you describe. Another reason to abandon IE in my opinion.

 

In your CSS it has this:

 

>#leftcol {
 float: left;
 margin: 0 0 0 0;
 width: 150px;
}

#main {
 margin: 0px;
}

#centercol {
 margin: 0 220px 0 170px;
}

#rightcol {
 float: right;
 margin: 0 0 0 0;
 width: 220px;
}

 

Your left column is 150 pixels wide (#leftcol)

Your center column is shifted 220 pixels from the left edge and 170 pixel from the right edge (#centercol)

Your right column is 220 pixels wide (#rightcol)

 

So your sidebars are totaling 370 pixels in size so on larger resolutions it's displaying properly.

Posted (edited)

I guess I'll try adjusting the numbers and maybe get it down some... But I have seen other sites that the side bars stay the same and the middle adjusts, yet doesn't do what mine has.

 

 

Another thing (and this doesn't really pertain to this issue, more of curiosity), but I use a spacer.gif image on one of the sidebars and in MSN Explorer (which I think uses the same kind of coding as IE), there's a bar that shows even if I specify border="0". Just odd but not that pressing to fix.

Edited by TheMovieman
Posted

What happens if you move this

above the
instead of below it?

 

I think that tag is out of place. It is your main body below the header and your left, right and center columns should be inside of it.

 

I use a 3-column theme on my site and it resizes at all resolutions correctly.

Posted

Still haven't really solved the problem per se, but I did set (within #main) the width to 1010 so the middle section won't do that on smaller resolutions, the trade-off however is, there will be a horizontal scroll.

 

One other question, I noticed this on another site using 1024x768 that there is still the horizonal scrollbar where you can only move over a little. I had put in a code to remove this but in order to do the fixed width size, I needed to remove that piece.

Posted
You don't need to adjust your sidebars. You are using tables inside the div's. These tables are set to 100% change them to 97% and I bet it works in IE.

 

So I adjusted it and it still does the same thing and now even if I adjust it slightly the middle section goes to the bottom. I know it's a matter of adjusting the numbers, but this thing is really bugging me now, lol. :thumbup1:

Posted

Thanks for the link Don. I had actually found something similar (http://webdesign.about.com/od/freewebtemplates/p/blbetter3col.htm) and was trying to adapt that. If I find an extra spurt of energy, I might try this over without using tables, but I need to learn more about <div> tags.

 

BTW, do div tags have an effect on apostophes and such? I noticed on that first link (in my first post) that instead of ', there's an empty box or (on another computer), it's a question mark. If I edit the review and replace the apostrophe , it'll show fine (the one in the review is taken from Word).

Posted

Yeah, but since IE is so quirky, I don't want it to look so strange. I'm going to research the div tags and see how to do what I need instead of using tables since that seems to be the trouble.

 

Thanks for your help guys, in any case. :thumbup1:

Posted

Just wanted to thank all you guys for your help. I ended up sticking with tables without the div tag and just re-designed my home page and made the width to 765pixels which looks fine on a 800 x 600 monitor.

 

Anyways thanks everyone :)

 

:tchrocks:

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...