HighDots Forums  

PLEASE HELP! Why is this web page not centering ininternet explorer 6?

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss PLEASE HELP! Why is this web page not centering ininternet explorer 6? in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Webethics
 
Posts: n/a

Default PLEASE HELP! Why is this web page not centering ininternet explorer 6? - 07-14-2008 , 06:44 PM






I'm new to web design, this is just a practice web page. I don't know half of
what I'm doing.
Anyway, here's my problem. This web page
http://www.patrickjudson.com/demo_page1g.html will not center when viewed in
internet explorer 6.

I have tested this page in all other browsers but the page will not go in the
center of the browser in internet explorer 6. This is the link to the page.
http://www.patrickjudson.com/demo_page1g.html

Any ideas? Please help!

Patrick


Reply With Quote
  #2  
Old   
Ken Binney
 
Posts: n/a

Default Re: PLEASE HELP! Why is this web page not centering in internet explorer 6? - 07-14-2008 , 07:05 PM






wrapper {
text-align: left;
margin-left: auto;
margin-right: auto;
}

IE6 will center a wrapper with auto side margins if the doctype given on the
page puts that browser into "standards" mode. For most pages, it will be the
case that you use such a doctype, so this workaround for centering a wrapper
can be considered to be primarily focused on IE5.x/Win browsers.


"Webethics" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
I'm new to web design, this is just a practice web page. I don't know half
of
what I'm doing.
Anyway, here's my problem. This web page
http://www.patrickjudson.com/demo_page1g.html will not center when viewed
in
internet explorer 6.

I have tested this page in all other browsers but the page will not go in
the
center of the browser in internet explorer 6. This is the link to the
page.
http://www.patrickjudson.com/demo_page1g.html

Any ideas? Please help!

Patrick




Reply With Quote
  #3  
Old   
Webethics
 
Posts: n/a

Default Re: PLEASE HELP! Why is this web page not centering ininternet explorer 6? - 07-14-2008 , 08:00 PM



[q]Originally posted by: Newsgroup User
wrapper {
text-align: left;
margin-left: auto;
margin-right: auto;
}

IE6 will center a wrapper with auto side margins if the doctype given on the
page puts that browser into "standards" mode. For most pages, it will be the
case that you use such a doctype, so this workaround for centering a wrapper
can be considered to be primarily focused on IE5.x/Win browsers.


"Webethics" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
I'm new to web design, this is just a practice web page. I don't know half
of
what I'm doing.
Anyway, here's my problem. This web page
http://www.patrickjudson.com/demo_page1g.html will not center when viewed
in
internet explorer 6.

I have tested this page in all other browsers but the page will not go in
the
center of the browser in internet explorer 6. This is the link to the
page.
http://www.patrickjudson.com/demo_page1g.html

Any ideas? Please help!

Patrick


[/q]


Thanks very much for you help. However if you look at the codes, I already had
that applied that.
I centered the text alignment on the body tag and then over ride it with the
left alignment on the wrapper tag to center the page and fix the problem with
internet explorer 6. But this is not working at all.

Did you look at the codes?

Patrick





Reply With Quote
  #4  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: PLEASE HELP! Why is this web page not centering in internet explorer 6? - 07-15-2008 , 07:11 AM



Could it be this spelling?

"The truth is lemons are selfish little bastereds."

Nahh - probably not.... 8)

Actually, it seems that you have done everything right, yet in IE6, it
appears that you have made the container wider with a margin somewhere so
that the center point is offset to the left. Both your HTML and your CSS
validate, so I'm a bit puzzled here....

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"Webethics" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
I'm new to web design, this is just a practice web page. I don't know half
of
what I'm doing.
Anyway, here's my problem. This web page
http://www.patrickjudson.com/demo_page1g.html will not center when viewed
in
internet explorer 6.

I have tested this page in all other browsers but the page will not go in
the
center of the browser in internet explorer 6. This is the link to the
page.
http://www.patrickjudson.com/demo_page1g.html

Any ideas? Please help!

Patrick



Reply With Quote
  #5  
Old   
geeturs
 
Posts: n/a

Default Re: PLEASE HELP! Why is this web page not centering ininternet explorer 6? - 07-15-2008 , 07:41 AM



Noone really uses IE6 that much anymore, when IE8 gets released it will totally die

Reply With Quote
  #6  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: PLEASE HELP! Why is this web page not centering in internet explorer 6? - 07-15-2008 , 07:52 AM



That would be dependent on what your site's session logs show, of course.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"geeturs" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Noone really uses IE6 that much anymore, when IE8 gets released it will
totally die


Reply With Quote
  #7  
Old   
Michael Fesser
 
Posts: n/a

Default Re: PLEASE HELP! Why is this web page not centering in internet explorer 6? - 07-15-2008 , 07:54 AM



..oO(geeturs)

Quote:
Noone really uses IE6 that much anymore,
For me 15-30% is a bit more than "no one" (these are actual value from
two of my sites, from the beginning of 2008 until now).

Quote:
when IE8 gets released it will
totally die
Wrong again. It will be around for many years to come, simply because
IE7 won't run on Win2k, which is still a widely used OS. These people
simply can't update their IE.

Micha


Reply With Quote
  #8  
Old   
Osgood
 
Posts: n/a

Default Re: PLEASE HELP! Why is this web page not centering in internetexplorer 6? - 07-15-2008 , 08:56 AM



Webethics wrote:
Quote:
I'm new to web design, this is just a practice web page. I don't know half of
what I'm doing.
Anyway, here's my problem. This web page
http://www.patrickjudson.com/demo_page1g.html will not center when viewed in
internet explorer 6.

I have tested this page in all other browsers but the page will not go in the
center of the browser in internet explorer 6. This is the link to the page.
http://www.patrickjudson.com/demo_page1g.html

Any ideas? Please help!

Patrick

Remove the width: 780px; from below.


#nav{
list-style: none;
width: 780px;
padding-right: 0px;
height: 46px;
padding-left: 190px;
background-repeat: no-repeat;
background-position: left top;
padding-top: 0px;
background-image: url(web_images/lemom_menu_bgimg1a.jpg);
margin: 0px;
padding-bottom: 0px;
}


I know its wide spread practice to style a <ul> but in my opinion its
still flaky in browsers such as IE6. Therefore I usually put minimum
styling on the <ul> and the rest on a containing <div>


Reply With Quote
  #9  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: PLEASE HELP! Why is this web page not centering in internet explorer 6? - 07-15-2008 , 09:02 AM



That's it. The combination of padding-left and width makes that element
190+780px wide, causing the center point to be offset by 95px to the
left....

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"Osgood" <notavailable (AT) thisaddress (DOT) com> wrote

Quote:
Webethics wrote:
I'm new to web design, this is just a practice web page. I don't know
half of what I'm doing.
Anyway, here's my problem. This web page
http://www.patrickjudson.com/demo_page1g.html will not center when viewed
in internet explorer 6.

I have tested this page in all other browsers but the page will not go
in the center of the browser in internet explorer 6. This is the link to
the page. http://www.patrickjudson.com/demo_page1g.html

Any ideas? Please help!

Patrick


Remove the width: 780px; from below.


#nav{
list-style: none;
width: 780px;
padding-right: 0px;
height: 46px;
padding-left: 190px;
background-repeat: no-repeat;
background-position: left top;
padding-top: 0px;
background-image: url(web_images/lemom_menu_bgimg1a.jpg);
margin: 0px;
padding-bottom: 0px;
}


I know its wide spread practice to style a <ul> but in my opinion its
still flaky in browsers such as IE6. Therefore I usually put minimum
styling on the <ul> and the rest on a containing <div


Reply With Quote
  #10  
Old   
joomla564
 
Posts: n/a

Default Re: PLEASE HELP! Why is this web page not centering ininternet explorer 6? - 07-15-2008 , 10:54 AM



Its a nightmare designing for all the avaliable browsers

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.