Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Web Design & Development
Tag Cloud
access audio black screen blue screen boot bsod connection crash dell desktop driver drivers dvd email error excel firefox hard drive hardware hijackthis internet keyboard laptop malware monitor motherboard network networking outlook problem processor recovery registry cleaner router safe mode slow sound spyware tdlwsp.dll trojan vba video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Internet & Networking > Web Design & Development >
Website views different on IE 6 and IE8, can I download IE6?

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

 
Thread Tools
colinsp's Avatar
Computer Specs
Senior Member with 574 posts.
 
Join Date: Sep 2007
Location: Spain
Experience: Adv PC, int HTML, bit PHP
15-Oct-2009, 12:47 AM #31
Dano, I have been really busy and also away with SWMBO for a few days. Sorry to keep you waiting reply later today (hopefully)
Dano2's Avatar
Senior Member with 460 posts.
 
Join Date: Jun 2003
15-Oct-2009, 10:02 AM #32
no worries I will be here, thanks. Dano
colinsp's Avatar
Computer Specs
Senior Member with 574 posts.
 
Join Date: Sep 2007
Location: Spain
Experience: Adv PC, int HTML, bit PHP
16-Oct-2009, 09:36 AM #33
Dano, finally got to this for you.

Go to your css and make the following changes to the #maincontent

Code:
margin-right: 190px;
margin-left: 180px;
This allows 20 pixels additional for the centre content. It may look lousy from a display perspective but see if it pushes the form back up to where it should be in ie6. If it does we can make a couple of other changes to the CSS to get it looking right again.

The second thing is I don't know if it is where you were playing there is an unnecessary opening div tag at line 179 right after you open the centre div for content, so delete that too if it is in your live site.

Let me know if this fixes the problem and then we can tidy up your css from there.

Colin
Dano2's Avatar
Senior Member with 460 posts.
 
Join Date: Jun 2003
16-Oct-2009, 11:20 AM #34
Thanks Colin, I will try that when I get home from work. Silly question, I use Dreamweaver CS3, how do I know which is line 179? thanks, Dano
colinsp's Avatar
Computer Specs
Senior Member with 574 posts.
 
Join Date: Sep 2007
Location: Spain
Experience: Adv PC, int HTML, bit PHP
16-Oct-2009, 03:58 PM #35
I use CS3 too it is one of the display options in code view.
Dano2's Avatar
Senior Member with 460 posts.
 
Join Date: Jun 2003
17-Oct-2009, 12:16 PM #36
Hi Colin,

I went down to line 179 but didn't see that extra div tag you mentioned. Here is a snapshot of the code on that line from my code view. Thought I would try and fix that piece first then do that CSS code adjustment. thanks Dano

Code:
177  <!-- InstanceEndRepeatEntry --><!-- InstanceEndRepeat --></div>
178 <div id="mainContent"><!-- InstanceBeginEditable name="Center Column" -->
179 <h2 align="center"><?php include "vsadmin/db_conn_open.php" ?>
180 <?php include "vsadmin/inc/languagefile.php" ?>
colinsp's Avatar
Computer Specs
Senior Member with 574 posts.
 
Join Date: Sep 2007
Location: Spain
Experience: Adv PC, int HTML, bit PHP
17-Oct-2009, 04:34 PM #37
Its not in that version of the code so it was something that crept in to the txt file that you posted.
Dano2's Avatar
Senior Member with 460 posts.
 
Join Date: Jun 2003
17-Oct-2009, 06:59 PM #38
I may have posted the older code before I changed it back.
Dano2's Avatar
Senior Member with 460 posts.
 
Join Date: Jun 2003
17-Oct-2009, 08:30 PM #39
Colin,

Awesome...that worked. The only thing I see going on is that if you view it in IE8/IE7 or FF, there is that inner background stripe that is getting cuttoff by the container. I attached a screen shot of it in firefox and outlined it in red.

I'm thinking that is the background: url(../Images/tri-color-bg.gif) repeat-y; image to fix the equal 3 column height problem? just guessing...anything we can do to fix that? It kinda separates the columns from the main content kinda a look...

thanks..dano
Attached Thumbnails
Website views different on IE 6 and IE8, can I download IE6?-ff_fix.png   Website views different on IE 6 and IE8, can I download IE6?-ie8.jpg  

Last edited by Dano2 : 17-Oct-2009 08:38 PM.
colinsp's Avatar
Computer Specs
Senior Member with 574 posts.
 
Join Date: Sep 2007
Location: Spain
Experience: Adv PC, int HTML, bit PHP
18-Oct-2009, 02:06 AM #40
That's good news that is what I was expecting to happen.


The first thing to do is slowly increase the width the margins say 2px each time (add 2 px to left and right margins) until it starts displaying incorrectly and see where we get to.

Once you know at what width the problem arises we can make the appropriate changes to your css. It may be as simple as adding a couple of pixels to the width of your master container or it could be something else.

Let me know the final values you get to before the problem shows.
Dano2's Avatar
Senior Member with 460 posts.
 
Join Date: Jun 2003
18-Oct-2009, 12:11 PM #41
Would I not want to decrease the margins? or maybe you mean increase them by 2px from what they originally were? Or do you mean increase them 2 px from right: 190px;
margin-left: 180px;? to 192px then 182px etc...

Just want to make sure I'm doing this right...thanks Dano
Dano2's Avatar
Senior Member with 460 posts.
 
Join Date: Jun 2003
18-Oct-2009, 06:37 PM #42
Colin, I got it looking pretty good as of right now. I have the margins set at right:195, left:185, and set the left and right padding to 2px. I tried setting the padding to 10 but that seemed to mess up things again. Dano
colinsp's Avatar
Computer Specs
Senior Member with 574 posts.
 
Join Date: Sep 2007
Location: Spain
Experience: Adv PC, int HTML, bit PHP
19-Oct-2009, 01:40 AM #43
Yes the padding of 10px would screw things up. Sorry I should have made the increase of tha margins clearer (I knew what I meant ). Glad you have it sorted.
Dano2's Avatar
Senior Member with 460 posts.
 
Join Date: Jun 2003
19-Oct-2009, 12:36 PM #44
no worries....) at least I got it looking pretty good with your help...Since you have CS3 also, do you know is there a way that I can adjust the padding on individual pages? I was going to try that but it didn't work out due to my pages are based off a template and the center area I set to repeatable region i think....
colinsp's Avatar
Computer Specs
Senior Member with 574 posts.
 
Join Date: Sep 2007
Location: Spain
Experience: Adv PC, int HTML, bit PHP
19-Oct-2009, 04:47 PM #45
It isn't easy to do as you are using the templates in DW. The only way would be to have multiple templates and use the appropriate one for the page BUT that rather defeats the object of having a template.

What I have gone over to doing is to have the common elements as php includes and then I can style the page with css as appropriate but have common headers and footers and menu bars but change the page layout as I wish.
Reply Bookmark and Share

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 12:40 PM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.