Web Design Web Design Forum
Registration is free! Here you can view your subscribed threads, work with private messages and edit your profile and preferences Calendar Find other members Frequently Asked Questions Search
Home Web Design

Convenient web based access to our favorite web design Usenet groups

web design reviews

This is Interesting: Free Magazines for Graphics designers and webmasters  





  Last Thread  Next Thread
Author
Thread Post New Thread   

switch off CSS for Opera browser?
 

Chris




quote this post edit post

IP Loged report this post

Old Post  12-12-03 - 06:37 PM  
Hello

Is it possible to switch off stylesheets when a browser opens a web
page?
My pages work well in NS7, IE 6, Mozilla etc but Opera 7 doesnt handle
positional elements very well.

My idea is to have Opera display a text only version of the site with
no styling but use the CSS as normal in other browsers.

Many thanks in advance

Chris


Post Follow-Up to this message ]
Re: switch off CSS for Opera browser?
 

Lauri Raittila




quote this post edit post

IP Loged report this post

Old Post  12-12-03 - 06:37 PM  
In article Chris wrote:
quote:
> Hello > > Is it possible to switch off stylesheets when a browser opens a web > page?
With opera, ctrl+g
quote:
> My pages work well in NS7, IE 6, Mozilla etc but Opera 7 doesnt handle > positional elements very well.
URL? Opera generally has much less problems with positioning than IE. I don't remember any thing with positioning that would not work on Opera that would work in IE.
quote:
> My idea is to have Opera display a text only version of the site with > no styling but use the CSS as normal in other browsers.
I don't think you need to do that for Opera, fixing CSS is propably enaugh. Google for Owen hack if you still think you need to do that, and some reason don't want to post URL. -- Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts> Saapi lähettää meiliä, jos aihe ei liity ryhmään, tai on yksityinen tjsp., mutta älä lähetä samaa viestiä meilitse ja ryhmään.


Post Follow-Up to this message ]
Re: switch off CSS for Opera browser?
 

Andrew Thompson




quote this post edit post

IP Loged report this post

Old Post  12-12-03 - 06:37 PM  
"Chris" <absc04@bangor.ac.uk> wrote in message
news:e8fe58ba.0312120341.76291cd9@posting.google.com...
quote:
> Hello > > Is it possible to switch off stylesheets when a browser opens a web > page?
A much researched topic. You might start here, http://www.ericmeyeroncss.com/bonus/trick-hide.html Then go on to.. http://www.google.com/search?as_q=hide+styles+opera HTH -- Andrew Thompson * http://www.PhySci.org/ PhySci software suite * http://www.1point1C.org/ 1.1C - Superluminal! * http://www.AThompson.info/andrew/ personal site


Post Follow-Up to this message ]
Re: switch off CSS for Opera browser?
 

Andrew Thompson




quote this post edit post

IP Loged report this post

Old Post  12-12-03 - 06:37 PM  
"Chris" <absc04@bangor.ac.uk> wrote in message
news:e8fe58ba.0312120341.76291cd9@posting.google.com...
quote:
> Hello > > Is it possible to switch off stylesheets when a browser opens a web > page?
Something I forgot to mention in the last response.. It is usually better, though, to ensure your CSS is valid and create styles that are suited to all browsers (but of course, that's easier said than done!)


Post Follow-Up to this message ]
Re: switch off CSS for Opera browser?
 

Steve Pugh




quote this post edit post

IP Loged report this post

Old Post  12-12-03 - 06:37 PM  
absc04@bangor.ac.uk (Chris) wrote:
quote:
>Is it possible to switch off stylesheets when a browser opens a web >page?
In many cases it's possible to write the stylesheet in such a way that some or all of the styles are hidden from certain browsers. See http://centricle.com/ref/css/filters/
quote:
>My pages work well in NS7, IE 6, Mozilla etc but Opera 7 doesnt handle >positional elements very well.
Unlikely. In many respects O7 has better CSS support than IE6 . Can you post a URL? I'm sure you'd rather have the CSS working in all (modern) browsers than hidden from some. Steve -- "My theories appal you, my heresies outrage you, I never answer letters and you don't like my tie." - The Doctor Steve Pugh <steve@pugh.net> <http://steve.pugh.net/>


Post Follow-Up to this message ]
Re: switch off CSS for Opera browser?
 

Chris




quote this post edit post

IP Loged report this post

Old Post  12-15-03 - 09:35 PM  
Thanks to all who have replied. My case for asking the question was
based on my experimentation with the page at
http://www.gazingus.org/html/menuDropdown.html

You will see the page works as it should in Opera 7 here but...

I then took the code and altered the positioning of the menu as can be
seen at http://www.bangor.ac.uk/~absc04/dropdown/dropdown2.html to
allow room for a logo and banner etc.

Seems to work very well in IE, NS etc (as I previously mentioned)
except in Opera 7 - take a look, its doing some strange things - hence
my idea to switch off the CSS (unfortuanately) and provide a text
version.

Thanks again
Chris

"Andrew Thompson" <andrew64@bigNOSPAMpond.com> wrote in message news:<TeiCb.49704$aT.12369@news-se
rver.bigpond.net.au>...
quote:
> "Chris" <absc04@bangor.ac.uk> wrote in message > news:e8fe58ba.0312120341.76291cd9@posting.google.com... > > Something I forgot to mention in the last response.. > > It is usually better, though, to ensure your CSS is > valid and create styles that are suited to all browsers > (but of course, that's easier said than done!)


Post Follow-Up to this message ]
Re: switch off CSS for Opera browser?
 

Steve Pugh




quote this post edit post

IP Loged report this post

Old Post  12-15-03 - 09:35 PM  
absc04@bangor.ac.uk (Chris) wrote:

Please don't top post. It reduces your chances of getting hepful
answers.
quote:
>Thanks to all who have replied. My case for asking the question was >based on my experimentation with the page at >http://www.gazingus.org/html/menuDropdown.html > >You will see the page works as it should in Opera 7 here but... > >I then took the code and altered the positioning of the menu as can be >seen at http://www.bangor.ac.uk/~absc04/dropdown/dropdown2.html to >allow room for a logo and banner etc. > >Seems to work very well in IE, NS etc (as I previously mentioned) >except in Opera 7 - take a look, its doing some strange things - hence >my idea to switch off the CSS (unfortuanately) and provide a text >version.
The problem is not with the CSS. The problem is with the JavaScript, Opera has difficulties with properties such as offsetWidth. I would look around for another dropdown menu script. There are lots of them out there and some of them work well in a wide range of browsers, including Opera. The one you have at the moment is odd, to make any of menus appear at first I need to click on one of the links, but after that all the menus appear when I mouseover the links. Steve -- "My theories appal you, my heresies outrage you, I never answer letters and you don't like my tie." - The Doctor Steve Pugh <steve@pugh.net> <http://steve.pugh.net/>


Post Follow-Up to this message ]
Sponsored Links
 





All times are GMT. The time now is 04:24 PM. Post New Thread   
  Previous Last Thread   Next Thread next
Stylesheets archive | Show Printable Version | Email this Page | Subscribe to this Thread

Popular forums

Adobe Photoshop forum Macromedia Flash Web Site Design
Dreamweaver FrontPage forum
JavaScript Forum XML forum
Style Sheets VRML
Forum Jump:
Rate This Thread:

 

XML RSS Feed web design latest articles Syndicate our forum via XML or simple JavaScript

Web Design archive  Database administration help  


Top Home  -  Register  -  Control Panel   -  Memberlist  -  Calendar  -  Faq  -  Search Top