This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Dreamweaver > April 2004 > Mac IE 5.2 - center table not centered
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Mac IE 5.2 - center table not centered
|
|
|
| Hi there,
I've been a hand coder for a few years and have taken a crash learning
experience in Dreamweaver and css to put this site together. The problem
I'm encountering is with the Portfolio section in which I've used css in all
three frames....the other pages have css applied to fonts only.
Anyway, in Mac IE 5.2 the file are off to the left and not even all the way
left, just not centered. Is there a work around? Fingers crossed....real
hard!
Here's the portfolio section link:
http://www.focusdesigncreative.com/...folioframe.html
I created a separate css file for each page (because it was easier as a
newbie to css). If you wouldn't mind just looking at least one css file,
here it is:
http://www.focusdesigncreative.com/...e/css/print.css
Thank you,
Cindi
| |
| Murray *TMM* 2004-04-30, 5:32 pm |
| The good news is that this is not the case in Safari.
I guess it's too late to say that you would not be having this problem
without the frames, no?
With regard to the center frame, there are these comments -
1. The doctype on the page is broken (DMX - type DTD). Either fix it or
remove it -
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
2. There is *no* CSS in the center frame's source page, and the body has no
margins defined - BUT, the table has the align attribute set to "center",
whereas the other tables do not. Try setting them all to "center" -
<table cellspacing="0"> vs.
<table width="780" height="400" border="0" align="center" cellpadding="0"
cellspacing="0" bgcolor="#999966">
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================
"Cindi" <mcsimon@charter.net> wrote in message
news:10954ci1ih82a19@corp.supernews.com...
> Hi there,
>
> I've been a hand coder for a few years and have taken a crash learning
> experience in Dreamweaver and css to put this site together. The problem
> I'm encountering is with the Portfolio section in which I've used css in
all
> three frames....the other pages have css applied to fonts only.
>
> Anyway, in Mac IE 5.2 the file are off to the left and not even all the
way
> left, just not centered. Is there a work around? Fingers crossed....real
> hard!
>
> Here's the portfolio section link:
> http://www.focusdesigncreative.com/...folioframe.html
>
> I created a separate css file for each page (because it was easier as a
> newbie to css). If you wouldn't mind just looking at least one css file,
> here it is:
> http://www.focusdesigncreative.com/...e/css/print.css
>
> Thank you,
>
> Cindi
>
>
| |
| Aloosenation 2004-04-30, 5:32 pm |
| I dont' know but this css looks fine:
table {
width:780px;
height:50px;
background:#cccc99;
text-align: center;
margin-right: auto;
margin-left: auto;
}
table td {
text-align:right;
padding:0px;
border-width: 0;
}
Unless border-width: 0; is incorrect.
Murray *TMM* wrote:
> How can the image maps do that?
>
| |
| Murray *TMM* 2004-04-30, 5:33 pm |
| How can the image maps do that?
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================
"Aloosenation" <noreply@news.com> wrote in message
news:c6u9dl$khe$1@forums.macromedia.com...[color=darkred]
> I think the problem is with the imagemaps. The header and footer are
> off to the right, but margin-righ:auto; margin-left:auto; width:768px;
> works in IE 5.2.
>
>
>
> Cindi wrote:
>
problem[color=darkred]
all[color=darkred]
way[color=darkred]
crossed....real[color=darkred]
file,[color=darkred]
| |
| Aloosenation 2004-04-30, 5:33 pm |
| I think the problem is with the imagemaps. The header and footer are
off to the right, but margin-righ:auto; margin-left:auto; width:768px;
works in IE 5.2.
Cindi wrote:
> Hi there,
>
> I've been a hand coder for a few years and have taken a crash learning
> experience in Dreamweaver and css to put this site together. The problem
> I'm encountering is with the Portfolio section in which I've used css in all
> three frames....the other pages have css applied to fonts only.
>
> Anyway, in Mac IE 5.2 the file are off to the left and not even all the way
> left, just not centered. Is there a work around? Fingers crossed....real
> hard!
>
> Here's the portfolio section link:
> http://www.focusdesigncreative.com/...folioframe.html
>
> I created a separate css file for each page (because it was easier as a
> newbie to css). If you wouldn't mind just looking at least one css file,
> here it is:
> http://www.focusdesigncreative.com/...e/css/print.css
>
> Thank you,
>
> Cindi
>
>
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|