473,394 Members | 1,797 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,394 software developers and data experts.

Problems with largeish (9k) stylesheets?

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 eventually run on the
server is not serving the stylesheet. All links are definately correct
because the smaller stylesheets load. This large stylesheet though if I try
to view it on its own in the browser window comes up blank. Its file size
is still 9k though, as it should be. Is this a know problem? I really
don't want to split it into several css files if I don't need to - are there
any other ways to make it work? The main server (the one that doesn't work)
is running ISS on Win2000, my development server is ISS on WinXP Pro. The
site in question is http://www.sunion.warwick.ac.uk/subaqua/, and the
stylesheet that isn't loading is
http://www.sunion.warwick.ac.uk/subaqua/cssall.css. I can get settings
changed on the main server if necessary, but not unless it is a known,
guaranteed to work solution and you can describe it fully to me.

Any ideas appreciated though.

David
Jul 20 '05 #1
9 1987
David Walker wrote:
the stylesheet that isn't loading is
http://www.sunion.warwick.ac.uk/subaqua/cssall.css.


I just downloaded it and tried to open it in a text editor. Whatever the
file contains, it isn't text/*. Where its getting trashed I don't know, try
examining the file on the server. That might help you track down if the
problem is caused during the upload or the download.

--
David Dorward http://david.us-lot.org/
Redesign in progress: http://stone.thecoreworlds.net/
Microsoft announces IE is dead (so upgrade):
http://minutillo.com/steve/weblog/20...ces-ie-is-dead
Jul 20 '05 #2
In article <be**********@wisteria.csv.warwick.ac.uk>,
wb*********@hotmail.com says...
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 eventually run on the
server is not serving the stylesheet. All links are definately correct
because the smaller stylesheets load. This large stylesheet though if I try
to view it on its own in the browser window comes up blank. Its file size
is still 9k though, as it should be. Is this a know problem? I really
don't want to split it into several css files if I don't need to - are there
any other ways to make it work? The main server (the one that doesn't work)
is running ISS on Win2000, my development server is ISS on WinXP Pro. The
site in question is http://www.sunion.warwick.ac.uk/subaqua/, and the
stylesheet that isn't loading is
http://www.sunion.warwick.ac.uk/subaqua/cssall.css. I can get settings
changed on the main server if necessary, but not unless it is a known,
guaranteed to work solution and you can describe it fully to me.

Any ideas appreciated though.

David


Try fixing the errors in it.

P, UL, OL, LI, DIV {
color: black;
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
font: Verdana; /*??????*/
}

..helpmark {
font-family: Verdana;
color: #FFFFFF;
font-style: normal;
text-decoration : none;
cursor: help ;
font-size: 12pt;
font-weight: bold;
font-variant: normal;
text-transform: none?, Direction=?, Strength=?) /*??????*/
}

--
**************************************
The Eldritch Dark:
Dedicated to Clark Ashton Smith
http://www.eldritchdark.com/
Jul 20 '05 #3
> > the stylesheet that isn't loading is
http://www.sunion.warwick.ac.uk/subaqua/cssall.css.
I just downloaded it and tried to open it in a text editor. Whatever the
file contains, it isn't text/*. Where its getting trashed I don't know,

try examining the file on the server. That might help you track down if the
problem is caused during the upload or the download.


Ah yeah. I downloaded back from the server via FTP, and the file is blank
as it shows when downloaded normally. Its working now, although there does
seem to be something odd somewhere thats causing the uploads to corrupt
because there are other files that have done it too.

Thanks for the pointer though, I do now know what caused it and have fixed
it.

By the way, now its working if anyone would like to test it for me that'd be
great:
http://www.sunion.warwick.ac.uk/subaqua/
All I need to know is if theres any browsers it's particularly broken in.
Hopefully it shouldn't be, but i've ran out of browsers that i've got I can
test it in.
Thanks a lot

David
Jul 20 '05 #4
Jacqui or (maybe) Pete wrote:
In article <be**********@wisteria.csv.warwick.ac.uk>,
wb*********@hotmail.com says...
the stylesheet that isn't loading is
http://www.sunion.warwick.ac.uk/subaqua/cssall.css.

I just downloaded it and tried to open it in a text editor.
Whatever the file contains, it isn't text/*. Where its getting
trashed I don't know, ...


Thanks for the pointer though, I do now know what caused it and have
fixed it.

By the way, now its working if anyone would like to test it for me
that'd be great:
http://www.sunion.warwick.ac.uk/subaqua/
All I need to know is if theres any browsers it's particularly
broken in.

...
1024x768/15"LDC/Moz1.5a/XP the left menu slides off the page at narrow
window sizes & can't be retreived with the scroll bar (which is an
effect I haven't seen before!).

Same in Opera 7.2b.

Same in IE6!

Looks good apart from that...


It's the centering by negative margin trick - keeps the page centered by
shifting the left-hand edge of the div, in this case, 406px to the left of
the middle of the window. As the div is 812px wide, the div stays centered -
except when the window is less than 812px. In a 600px window, the left hand
edge is going to be 106px off the left hand side of the window.

Shame, it's a nice trick - margin:auto ought to do it but there are problems
with IE

--
PeterMcC
If you feel that any of the above is incorrect,
inappropriate or offensive in any way,
please ignore it and accept my apologies.

Jul 20 '05 #5
> It's the centering by negative margin trick - keeps the page centered by
shifting the left-hand edge of the div, in this case, 406px to the left of
the middle of the window. As the div is 812px wide, the div stays centered - except when the window is less than 812px. In a 600px window, the left hand edge is going to be 106px off the left hand side of the window.

Shame, it's a nice trick - margin:auto ought to do it but there are problems with IE


Yeah. I'll have a look and see what else I can come up with - either find
an alternative centering method or try to either reduce the effect or fix
that one. I'll see what I can come up with.

David
Jul 20 '05 #6
In article <be**********@wisteria.csv.warwick.ac.uk>,
wb*********@hotmail.com says...
It's the centering by negative margin trick - keeps the page centered by
shifting the left-hand edge of the div, in this case, 406px to the left of
the middle of the window. As the div is 812px wide, the div stays

centered -
except when the window is less than 812px. In a 600px window, the left

hand
edge is going to be 106px off the left hand side of the window.

Shame, it's a nice trick - margin:auto ought to do it but there are

problems
with IE


Yeah. I'll have a look and see what else I can come up with - either find
an alternative centering method or try to either reduce the effect or fix
that one. I'll see what I can come up with.

Just use margin:auto. Works fine in modern browsers (IE6+) and nothing
much is lost in old browsers.

If you really care about them then many older browsers have a bug where
they'll center a div if the surrounding div (or <body>) has 'text-
align:center;' Might be worth a try, see:

http://www.bluerobot.com/web/css/center1.html

for details.
Jul 20 '05 #7
> Just use margin:auto. Works fine in modern browsers (IE6+) and nothing
much is lost in old browsers.


Using that, it fixes it in IE6 and IE5, Mozilla is no different to before
(can scroll right, but not left), and Opera won't let me scroll either way
when the window is narrow, which is just odd!

David
Jul 20 '05 #8
> Using that, it fixes it in IE6 and IE5, Mozilla is no different to before
(can scroll right, but not left), and Opera won't let me scroll either way
when the window is narrow, which is just odd!


Little correction: Opera does work properly, like IE, and its just Mozilla
that won't scroll left.

By the way, this won't show up on the web address I posted yet, so you can't
try it for now.

David
Jul 20 '05 #9
In article <be**********@wisteria.csv.warwick.ac.uk>,
"David Walker" <wb*********@hotmail.com> wrote:
Has anyone had any problems with large (this one is 9k) stylesheets


My stylesheet is bigger than yours. :P

--
Kris
kr*******@xs4all.netherlands (nl)
"We called him Tortoise because he taught us" said the Mock Turtle.
Jul 20 '05 #10

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

Similar topics

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...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.