473,386 Members | 1,842 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Problems with IE6.0 and stylesheets :-(

I hope someone may be able to help please!

Have a look at this site which I'm developing - http://tinyurl.com/6d4nr

As you will see if you look at it in IE6, the browser has completely screwed
the stylesheet and knocked the logo over too far etc. I've checked it out
in Mozilla, Netscape 7, Opera and Firefox and it's working fine.

Any ideas what I can do to get IE to work but then not to cause the other
browsers to get screwed?

Any help would be gratefully appreciated! :-)

Thanks in advance

--
IanUK
Hertfordshire, UK
Jul 21 '05 #1
15 8677
IanUK wrote:
I hope someone may be able to help please!

Have a look at this site which I'm developing -
http://tinyurl.com/6d4nr
Please don't post tinyurls to your site. Nobody knows where they
really lead, and may be reluctant to visit.
As you will see if you look at it in IE6, the browser has
completely screwed the stylesheet and knocked the logo over too far
etc. I've checked it out in Mozilla, Netscape 7, Opera and Firefox
and it's working fine.

Any ideas what I can do to get IE to work but then not to cause the
other browsers to get screwed?


I think the problem may be that you have used the keyword "body" in
your markup, and CSS, to indicate a content column. One of the
browsers interprets that as the <body> of the document.

Change <div id="body"> to something relevant, like
<div id="maincontent"> or other significant descriptive word, in your
HTML and CSS.

Add a DOCTYPE to the page and visit:
<http://validator.w3.org/check?verbose=1&uri=http%3A//homepage.ntlworld.com/i.anker/re/default.htm>

There are some errors.

Why stuff like this? Why not just put the menu on the page?
http://homepage.ntlworld.com/i.anker/re/css/footer.js
http://homepage.ntlworld.com/i.anker/re/css/date.js

--
-bts
-This space intentionally left blank.
Jul 21 '05 #2
"Beauregard T. Shagnasty" <a.*********@example.invalid> wrote in message
news:34*************@individual.net...
IanUK wrote:
I hope someone may be able to help please!

Have a look at this site which I'm developing -
http://tinyurl.com/6d4nr
Please don't post tinyurls to your site. Nobody knows where they
really lead, and may be reluctant to visit.


Thanks for the feedback - sorry I didn't realise about TinyURLs. The actual
address is:

http://homepage.ntlworld.com/i.anker/re/default.htm
As you will see if you look at it in IE6, the browser has
completely screwed the stylesheet and knocked the logo over too far
etc. I've checked it out in Mozilla, Netscape 7, Opera and Firefox
and it's working fine.

Any ideas what I can do to get IE to work but then not to cause the
other browsers to get screwed?


I think the problem may be that you have used the keyword "body" in
your markup, and CSS, to indicate a content column. One of the
browsers interprets that as the <body> of the document.

Change <div id="body"> to something relevant, like
<div id="maincontent"> or other significant descriptive word, in your
HTML and CSS.


I'll have a look at changing the div id="body" and then see if that works
and try the validation again.

Add a DOCTYPE to the page and visit:
<http://validator.w3.org/check?verbos....ntlworld.com/
i.anker/re/default.htm>
There are some errors.

Why stuff like this? Why not just put the menu on the page?
http://homepage.ntlworld.com/i.anker/re/css/footer.js
http://homepage.ntlworld.com/i.anker/re/css/date.js

The only reason I put the footer.js and date.js on is so that I can update
one file and then this will make changes across the whole of the site. Not
so crucial at the moment as this site is only three pages but could be more
important later on if there are more pages. Is there an accessible way of
doing this (or similar) but without resorting to javascripts?

Thanks again.

--
IanUK
Hertfordshire, UK
Jul 21 '05 #3
Beauregard T. Shagnasty <a.*********@example.invalid> wrote:
IanUK wrote:
I hope someone may be able to help please!

Have a look at this site which I'm developing -
http://tinyurl.com/6d4nr


Please don't post tinyurls to your site. Nobody knows where they
really lead, and may be reluctant to visit.


Not to mention they time out, and as such are useless for archiving
purposes - one of the good features of Usenet.
Jul 21 '05 #4
"IanUK" <i.*****@ntlworld.com> writes:
"Beauregard T. Shagnasty" <a.*********@example.invalid> wrote in message
news:34*************@individual.net...
Why stuff like this? Why not just put the menu on the page?
http://homepage.ntlworld.com/i.anker/re/css/footer.js
http://homepage.ntlworld.com/i.anker/re/css/date.js

The only reason I put the footer.js and date.js on is so
that I can update one file and then this will make changes
across the whole of the site. [...] Is there an
accessible way of doing this (or similar) but without
resorting to javascripts?


At least two: server side scripts and (for want of a better
term) local builds. Server scripts are only really necessary
for generating pages; if the content of the site is
essentially fixed, but you want changes to be consistent,
building it locally is more efficient. Use whatever
scripting language you like best and "make" (gnumake or
whatever) to convert your sources to html+css and upload it
to the server.

--
Jón Fairbairn Jo***********@cl.cam.ac.uk

Jul 21 '05 #5
IanUK wrote:
"Beauregard T. Shagnasty" <a.*********@example.invalid> wrote in
message news:34*************@individual.net...
Please don't post tinyurls to your site. Nobody knows where they
really lead, and may be reluctant to visit.
Thanks for the feedback - sorry I didn't realise about TinyURLs.
The actual address is:

http://homepage.ntlworld.com/i.anker/re/default.htm


Ok...
I'll have a look at changing the div id="body" and then see if that
works and try the validation again.


Let us know.

....
Why stuff like this? Why not just put the menu on the page?
http://homepage.ntlworld.com/i.anker/re/css/footer.js
http://homepage.ntlworld.com/i.anker/re/css/date.js


The only reason I put the footer.js and date.js on is so that I can
update one file and then this will make changes across the whole of
the site. Not so crucial at the moment as this site is only three
pages but could be more important later on if there are more pages.
Is there an accessible way of doing this (or similar) but without
resorting to javascripts?


http://www.allmyfaqs.com/faq.pl?Incl...ile_in_another

Check with your host about using SSI - server side includes. Makes it
very easy.

--
-bts
-This space intentionally left blank.
Jul 21 '05 #6
Neal <ne*****@yahoo.com> wrote:
Beauregard T. Shagnasty <a.*********@example.invalid> wrote:
IanUK wrote:
I hope someone may be able to help please!

Have a look at this site which I'm developing -
http://tinyurl.com/6d4nr


Please don't post tinyurls to your site. Nobody knows where they
really lead, and may be reluctant to visit.


Not to mention they time out, and as such are useless for archiving
purposes - one of the good features of Usenet.


That's a little besides the point for the purpose at hand. If I give a
URL for a page I've posted to the Internet in order to solicit some
help here, there's no reason for anyone to assume it'll still be there
a week from now, let alone that it will be an archive for the ages.

--
Harlan Messinger
Remove the first dot from my e-mail address.
Veuillez ôter le premier point de mon adresse de courriel.
Jul 21 '05 #7
Harlan Messinger <hm*******************@comcast.net> wrote:
Neal <ne*****@yahoo.com> wrote:
Beauregard T. Shagnasty <a.*********@example.invalid> wrote:
Please don't post tinyurls to your site. Nobody knows where they
really lead, and may be reluctant to visit.


Not to mention they time out, and as such are useless for archiving
purposes - one of the good features of Usenet.


That's a little besides the point for the purpose at hand. If I give
a
URL for a page I've posted to the Internet in order to solicit some
help here, there's no reason for anyone to assume it'll still be
there
a week from now, let alone that it will be an archive for the ages.


Though it is true what you say, there are resources and sites to which
a normal URL is superior to a tiny one, but never the other way around
IMO.
Jul 21 '05 #8
Ive looked at your site in two browsers: IE6 (SP2) and Firefox, and apart
from the fact that everything is larger in IE, I can't see any significant
difference.

I'm looking at the site on my 1920x1200 screen (vast) and you get a vertical
bar 2/3 of the width from the left, with the text crossing it - obviously
not what you intended (but few people currently use such wide screens). The
difference you see may be due to the "magnification" of IE (I presume that's
something to do with IE's default font/size but I've never fathomed it - I
just take it as "different"). The different scaling may be triggering
wrapping behaviour which would be there if you shrank Firefox a bit. I'll
send you a screenshot (48K) separately of your site in Firefox, maximised on
my system.

I'm a bit dismayed to see your email address is in the clear. You may soon
be asking about spam filters (google for Brightmail, Spam Assassin,
SpamBayes and Spamihlator).

--
####################
## PH, London
####################
"IanUK" <i.*****@ntlworld.com> wrote in message
news:Dh**************@newsfe2-gui.ntli.net...
I hope someone may be able to help please!

Have a look at this site which I'm developing - http://tinyurl.com/6d4nr

As you will see if you look at it in IE6, the browser has completely
screwed
the stylesheet and knocked the logo over too far etc. I've checked it out
in Mozilla, Netscape 7, Opera and Firefox and it's working fine.

Any ideas what I can do to get IE to work but then not to cause the other
browsers to get screwed?

Any help would be gratefully appreciated! :-)

Thanks in advance

--
IanUK
Hertfordshire, UK

Jul 21 '05 #9
In article <op**************@news.individual.net>,
Neal <ne*****@yahoo.com> wrote:
Beauregard T. Shagnasty <a.*********@example.invalid> wrote:

(snip)
Please don't post tinyurls to your site. Nobody knows where they
really lead, and may be reluctant to visit.


Not to mention they time out, and as such are useless for archiving
purposes - one of the good features of Usenet.


Actually, ones from tinyurl.com don't time out.

-- Mark
Jul 21 '05 #10
IanUK wrote:

http://homepage.ntlworld.com/i.anker/re/default.htm


Just thought I'd mention that when I first looked at this, my brain read
"Restaurant ecoli". ish

:)

--
Reply email address is a bottomless spam bucket.
Please reply to the group so everyone can share.
Jul 21 '05 #11
IanUK wrote:

The only reason I put the footer.js and date.js on is so that I can update
one file and then this will make changes across the whole of the site. Not
so crucial at the moment as this site is only three pages but could be more
important later on if there are more pages. Is there an accessible way of
doing this (or similar) but without resorting to javascripts?

The problem with javascript is that not everybody has it turned on, or
even available, in their browser. That's the downfall of client-side
scripting.
I personally prefer PHP although there are other scripting languages
like JSP or ASP.
Using PHP makes site changes much simpler. Change a function once, the
whole site is updated.
PHP generates most of the semi-static parts of a page: the header,
footer, banners, and especially the menus. For instance, the header
function receives the title string as an argument; everything else is
automatic.
The menu generator is where PHP shines for me. Usually there is one
small change in the menu for each page. The generator takes an argument
that makes the change for me. Poof! Custom menu for each page.
With all HTML pages I was having to update 10s of files every time I
changed a menu. Now it is just one file.
This has the worthy side-effect that your site's look is consistent for
all pages.

--
jmm dash list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Jul 21 '05 #12
Mark Carroll <ma***@chiark.greenend.org.uk> wrote:
Neal <ne*****@yahoo.com> wrote:
Not to mention they time out, and as such are useless for archiving
purposes - one of the good features of Usenet.

Actually, ones from tinyurl.com don't time out.


News to me, thanks.
Jul 21 '05 #13
Neal <ne*****@yahoo.com> wrote:
Harlan Messinger <hm*******************@comcast.net> wrote:
Neal <ne*****@yahoo.com> wrote:
Beauregard T. Shagnasty <a.*********@example.invalid> wrote:
Please don't post tinyurls to your site. Nobody knows where they
really lead, and may be reluctant to visit.

Not to mention they time out, and as such are useless for archiving
purposes - one of the good features of Usenet.


That's a little besides the point for the purpose at hand. If I give
a
URL for a page I've posted to the Internet in order to solicit some
help here, there's no reason for anyone to assume it'll still be
there
a week from now, let alone that it will be an archive for the ages.


Though it is true what you say, there are resources and sites to which
a normal URL is superior to a tiny one, but never the other way around
IMO.


Saving people some the trouble of cutting and pasting a URL in pieces
when they try to give you a hand with something seems like a
worthwhile reason to me.
--
Harlan Messinger
Remove the first dot from my e-mail address.
Veuillez ôter le premier point de mon adresse de courriel.
Jul 21 '05 #14
Harlan Messinger wrote:
Neal <ne*****@yahoo.com> wrote:
there are resources and sites to which
a normal URL is superior to a tiny one, but never the other way around
IMO.


Saving people some the trouble of cutting and pasting a URL in pieces
when they try to give you a hand with something seems like a
worthwhile reason to me.


Suggestions:
1. Get a better newsreader that won't mangle long urls
2. If you insist on using tinyURL, also post the original url so there's
no question where a link goes

--
Reply email address is a bottomless spam bucket.
Please reply to the group so everyone can share.
Jul 21 '05 #15
kchayka <us****@c-net.us> wrote:
Harlan Messinger wrote:
Neal <ne*****@yahoo.com> wrote:
there are resources and sites to which
a normal URL is superior to a tiny one, but never the other way around
IMO.
Saving people some the trouble of cutting and pasting a URL in pieces
when they try to give you a hand with something seems like a
worthwhile reason to me.


Suggestions:
1. Get a better newsreader that won't mangle long urls


I don't even know if my newsreader causes such a problem. I thought it
was caused by the reader's newsreader, not the sender. If the problem
*is* on the sender's end, then maybe a different newsreader would do
something else wrong instead. I could experiment until I found the one
newsreader that didn't do anything that no one objected to, but that's
not really practical.

Or, I could use a TinyURL for a one-time reference to a page that's
temporary anyway and causes no problems other than violating a dogma
that has grown from what, in a more limited context, is a useful piece
of advice.
2. If you insist on using tinyURL, also post the original url so there's
no question where a link goes


Would
"www.snarfly.com/tests/test3.asp?id=4&lang=en&sess=DLKJSDLFKHJSDLFKKJLS&p g=123987&rl=348293"
tell you anything more about "where a link goes" than a TinyURL
address?

You may respond, "Yes, at least I know I'm going to snarfly.com". My
response to that would be in two parts: (1) How do you know what's at
snarfly.com? It could start playing annoying music and flashing
banners, or bombard you with odious political propaganda, or load
spyware on your computer, just as easily as if I'd used a TinyURL to
send you there. (2) The question about where the link is going still
hasn't been eliminated, because as far as you know, snarfly.com could
also be a redirection. The only difference in that case between
snarfly and TinyURL is that you wouldn't know in advance that snarfly
is a redirection. If you're averse to redirections, and are indisposed
to clicking TinyURLs, then you really shouldn't click *any* links that
you don't recognize because they could send you somewhere else.)

--
Harlan Messinger
Remove the first dot from my e-mail address.
Veuillez ôter le premier point de mon adresse de courriel.
Jul 21 '05 #16

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: David Walker | last post by:
Hi Has anyone had any problems with large (this one is 9k) stylesheets not loading from the webserver? Everything works fine on my development computer, but when I upload it to the server it will...
3
by: jason baumunk | last post by:
I author applications in php which use external stylesheets. When viewed through ie 6, netscape 6, et al. occassionally the stylesheets will not load or be applied. Has anybody encountered this...
2
by: Jan Roland Eriksson | last post by:
Archive-name: www/stylesheets/newsgroup-faq Posting-Frequency: once a week Last-modified: 2004-07-26 Version: 2.00 URL: <http://css.nu/faq/ciwas-mFAQ.html> Maintainer: Jan Roland Eriksson...
0
by: Jan Roland Eriksson | last post by:
Archive-name: www/stylesheets/newsgroup-faq Posting-Frequency: once a week Last-modified: 2004-07-26 Version: 2.00 URL: <http://css.nu/faq/ciwas-mFAQ.html> Maintainer: Jan Roland Eriksson...
0
by: Jan Roland Eriksson | last post by:
Archive-name: www/stylesheets/newsgroup-faq Posting-Frequency: once a week Last-modified: 2004-07-26 Version: 2.00 URL: <http://css.nu/faq/ciwas-mFAQ.html> Maintainer: Jan Roland Eriksson...
2
by: Mr X | last post by:
I'm a few weeks new to JS, and am having a problem. I have a simple INTERNAL style in a web page and I know that style is working. The problem arises when I try to run a script that changes one of...
5
by: Kevin Westhead | last post by:
I'm using XslTransform to apply a transform to an XML document, however I get validation problems when parsing the resulting XML document due to invalid whitespace. I'm passing in an XPathNavigator...
3
by: Scott | last post by:
Hello, we are having problems displaying non-aspx files (images, style sheets) since we have upgraded to the 1.1 framework when using a cookieless session (sessionID in the url). Check out...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.