Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > How do I fix this?

Reply
Thread Tools

How do I fix this?

 
 
Prof. Marvel
Guest
Posts: n/a
 
      11-05-2003
I'm doing this site for friends. They're telling me the main box is centered
on one of their computers,. but not the other. I know the site has a bunch
of validation errors and I plan to fix each, but I'd just like to know if
anyone can spot why the site is displaying two different ways on IE and
what's the quick fix.

thanks

Paul

www.nmrfh.com



 
Reply With Quote
 
 
 
 
J Briggs
Guest
Posts: n/a
 
      11-05-2003
On Wed, 5 Nov 2003 13:46:24 -0500, "Prof. Marvel"
<reporter@(removethis)fuse.net> wrote:

>I'm doing this site for friends. They're telling me the main box is centered
>on one of their computers,. but not the other. I know the site has a bunch
>of validation errors and I plan to fix each, but I'd just like to know if
>anyone can spot why the site is displaying two different ways on IE and
>what's the quick fix.
>
>thanks
>
>Paul
>
>www.nmrfh.com
>
>


Which image is it exactly? I notice that some of your images are
centered using style-sheets. It would probably be better to use HTML
center tags instead as these will be more widely supported by
browsers.

eg
<center><img src="......"></center>

Jonathan

 
Reply With Quote
 
 
 
 
PeterMcC
Guest
Posts: n/a
 
      11-05-2003
J Briggs wrote:
> On Wed, 5 Nov 2003 13:46:24 -0500, "Prof. Marvel"
> <reporter@(removethis)fuse.net> wrote:
>
>> I'm doing this site for friends. They're telling me the main box is
>> centered on one of their computers,. but not the other. I know the
>> site has a bunch of validation errors and I plan to fix each, but
>> I'd just like to know if anyone can spot why the site is displaying
>> two different ways on IE and what's the quick fix.
>>
>> thanks
>>
>> Paul
>>
>> www.nmrfh.com
>>
>>

>
> Which image is it exactly? I notice that some of your images are
> centered using style-sheets. It would probably be better to use HTML
> center tags instead as these will be more widely supported by
> browsers.
>
> eg
> <center><img src="......"></center>


That may not be terribly sound advice.

--
PeterMcC
If you feel that any of the above is incorrect,
inappropriate or offensive in any way,
please ignore it and accept my apologies.
 
Reply With Quote
 
Beauregard T. Shagnasty
Guest
Posts: n/a
 
      11-05-2003
Quoth the raven named Prof. Marvel:

> I'm doing this site for friends. They're telling me the main box is centered
> on one of their computers,. but not the other. I know the site has a bunch
> of validation errors and I plan to fix each, but I'd just like to know if
> anyone can spot why the site is displaying two different ways on IE and
> what's the quick fix.
>
> www.nmrfh.com


Besides the centering, you need to compress your images. The picture
of the funeral home (center-3b.jpg) is a 54KB download. Simply by
resaving it using PSP, I reduced it to 15KB.

You could also turn your <pre> into a list using <ul><li> and the text
would not overshoot the content area. And, supply its own bullets.

--
-bts
-This space intentionally left blank.

 
Reply With Quote
 
Prof. Marvel
Guest
Posts: n/a
 
      11-05-2003
This is interesting. My people are telling me the white box is not centered
properly and none of you guys have seen that. All the other stuff I know
about, but the white page is not centered correctly on the gray background,
is what they're saying. Moreover, a quick check in Netscape 7.1 shows this
to be the case. Meanwhile, IE shows it centered correctly in my computer at
al resolutions.

What's going on with their IE view?

M.
"Beauregard T. Shagnasty" <(E-Mail Removed)> wrote in message
news:NUbqb.54519$(E-Mail Removed)...
> Quoth the raven named Prof. Marvel:
>
> > I'm doing this site for friends. They're telling me the main box is

centered
> > on one of their computers,. but not the other. I know the site has a

bunch
> > of validation errors and I plan to fix each, but I'd just like to know

if
> > anyone can spot why the site is displaying two different ways on IE and
> > what's the quick fix.
> >
> > www.nmrfh.com

>
> Besides the centering, you need to compress your images. The picture
> of the funeral home (center-3b.jpg) is a 54KB download. Simply by
> resaving it using PSP, I reduced it to 15KB.
>
> You could also turn your <pre> into a list using <ul><li> and the text
> would not overshoot the content area. And, supply its own bullets.
>
> --
> -bts
> -This space intentionally left blank.
>



 
Reply With Quote
 
Beauregard T. Shagnasty
Guest
Posts: n/a
 
      11-05-2003
Quoth the raven named Prof. Marvel:
> This is interesting. My people are telling me the white box is not centered
> properly and none of you guys have seen that. All the other stuff I know
> about, but the white page is not centered correctly on the gray background,
> is what they're saying. Moreover, a quick check in Netscape 7.1 shows this
> to be the case. Meanwhile, IE shows it centered correctly in my computer at
> al resolutions.


Try adding to .mainbox style
margin-left: auto;
margin-right: auto;


> What's going on with their IE view?


IE is wrong, interpreting your width: 80% as being centered. <g> Why
do you want to waste 20% of the visitor's canvas?

On the history page, the photos of the three dudes looked squished.
Are you misinterpreting the height and width of the actual images?

Look at the merchandise page with Netscape or Mozilla with an 800x600
browser window.

I don't see your state or province listed anywhere. Where are you?

Please don't top-post. Thanks.

--
-bts
-This space intentionally left blank.

 
Reply With Quote
 
Richard
Guest
Posts: n/a
 
      11-05-2003
Prof. Marvel wrote:

> I'm doing this site for friends. They're telling me the main box is
> centered
> on one of their computers,. but not the other. I know the site has a
> bunch
> of validation errors and I plan to fix each, but I'd just like to know
> if
> anyone can spot why the site is displaying two different ways on IE
> and
> what's the quick fix.


> thanks


> Paul


> www.nmrfh.com


http://www.1-large-world.com/images/funeral.jpg

That's what I see using IE 6.

The different views might be the way the settings are in each.



 
Reply With Quote
 
David Graham
Guest
Posts: n/a
 
      11-06-2003

"Beauregard T. Shagnasty" <(E-Mail Removed)> wrote in message
news:5Scqb.54529$(E-Mail Removed)...
> Quoth the raven named Prof. Marvel:
> > This is interesting. My people are telling me the white box is not

centered
> > properly and none of you guys have seen that. All the other stuff I know
> > about, but the white page is not centered correctly on the gray

background,
> > is what they're saying. Moreover, a quick check in Netscape 7.1 shows

this
> > to be the case. Meanwhile, IE shows it centered correctly in my computer

at
> > al resolutions.

>
> Try adding to .mainbox style
> margin-left: auto;
> margin-right: auto;
>
>

As IE5 and IE5.5 don't understand the above, you will have to wrap the
..mainbox div like this

<div style="text-align: center;">
<div class="mainbox">
<div class="title"><IMG SRC="images/11111.gif" BORDER="0" WIDTH="626"
HEIGHT="95" ALIGN="bottom" ALT=""></div>
</div> <!-- close the wrapper div -->

These older browsers treat block level elements as inline elements, hence
text-align will have an effect on a div.
HTH
David



 
Reply With Quote
 
David Graham
Guest
Posts: n/a
 
      11-06-2003

> As IE5 and IE5.5 don't understand the above, you will have to wrap the
> .mainbox div like this
>
> <div style="text-align: center;">
> <div class="mainbox">
> <div class="title"><IMG SRC="images/11111.gif" BORDER="0" WIDTH="626"
> HEIGHT="95" ALIGN="bottom" ALT=""></div>
> </div> <!-- close the mainbox div -->

</div> <!-- close the wrapper div -->
>




 
Reply With Quote
 
informant
Guest
Posts: n/a
 
      11-09-2003

"Richard" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Prof. Marvel wrote:
>
> > I'm doing this site for friends. They're telling me the main box is
> > centered
> > on one of their computers,. but not the other. I know the site has a
> > bunch
> > of validation errors and I plan to fix each, but I'd just like to know
> > if
> > anyone can spot why the site is displaying two different ways on IE
> > and
> > what's the quick fix.

>
> > thanks

>
> > Paul

>
> > www.nmrfh.com

>
> http://www.1-large-world.com/images/funeral.jpg
>
> That's what I see using IE 6.
>
> The different views might be the way the settings are in each.


Nobody cares what you see, Mr. Bullis. When *will* you get that through your
K00K skull?


Path:
sn-us!sn-xit-06!sn-xit-08!supernews.com!pln-w!spln!dex!extra.newsguy.com!new
sp.newsguy.com!enews3
From: "Richard" <(E-Mail Removed)>
Newsgroups: alt.html
Subject: Re: How do I fix this?
Date: Wed, 5 Nov 2003 16:23:16 -0600
Organization: http://extra.newsguy.com
Lines: 26
Message-ID: <(E-Mail Removed)>
References: <3fa9458c$0$60157$(E-Mail Removed)>
NNTP-Posting-Host: p-841.newsdawg.com
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-No-Archive: yes
FL-Build: Fidolook 2002 (SL) 6.0.2600.78 - 24/10/2002 21:18:29
Xref: sn-us alt.html:436977



 
Reply With Quote
 
 
 
Reply

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FIX] Another possible fix for the missing ASP .Net tab problem Patrick Philippot ASP .Net 0 04-14-2006 11:48 AM
Xah's Edu Corner: The Concepts and Confusions of Pre-fix, In-fix, Post-fix and Fully Functional Notations Xah Lee Perl Misc 21 03-21-2006 07:02 AM
Xah's Edu Corner: The Concepts and Confusions of Pre-fix, In-fix, Post-fix and Fully Functional Notations Xah Lee Python 23 03-21-2006 07:02 AM
Xah's Edu Corner: The Concepts and Confusions of Pre-fix, In-fix, Post-fix and Fully Functional Notations Xah Lee Java 22 03-21-2006 07:02 AM
interfearance, possibly from cordless phones? is there a fix? =?Utf-8?B?R3JlZw==?= Wireless Networking 8 10-05-2004 01:42 PM



Advertisments