Re: [WSG] Really strange results

2005-04-04 Thread Michael Dale
This is because your webserver is outputting: 
Content-Type: text/plain 
and not: 
Content-Type: text/css
For your CSS file.

IE doesn't care, but most other stuff does. Nothing wrong with your CSS. It is 
a web server configuration problem.

- Original Message -
From: Leslie Riggs [EMAIL PROTECTED]
To: wsg@webstandardsgroup.org
Sent: Tue,  5 Apr 2005 14:35:12 +1000
Subject: [WSG] Really strange results


 In some browsers, the test page I have put up renders fine: namely, IE 
 Mac, Safari on Mac, IE6 on PC.  However, Firefox, Opera, Mozilla and 
 Netscape don't seem to see the stylesheet.
 
 Both HTML and CSS validated fine through the W3C site.
 
 I am really having a difficult time understanding why some browsers see 
 the stylesheet, while others don't?
 
 The link to the page:  
 http://www.deafvision.net/projects/btw/revised/indexx.html.
 
 CSS is at http://www.deafvision.net/projects/btw/revised/css/btwnewx.css.
 
 This is the first time I've encountered this situation, so anyone who 
 can point me in the right direction, I would be very much obliged.
 
 Thanks.
 
 Leslie Riggs
 
 **
 The discussion list for  http://webstandardsgroup.org/
 
  See http://webstandardsgroup.org/mail/guidelines.cfm
  for some hints on posting to the list  getting help
 **
 
 

**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



[WSG] Change to application/xhtml+xml breaks background colour.

2005-03-19 Thread Michael Dale
Hey everyone,

I've just decided to output application/xhtml+xml to browsers that support it 
(Mozilla, firefox etc). Now the site
is XHTML 1.1 and valid so that is all good. But the problem I am seeing is that 
the background colour doesn't cover the
whole page.

Here is a linky to my site: http://www.bluetrait.com/

See the blue behind the header? That should be the background colour for the 
whole site.

Now this only happens when I output application/xhtml+xml. Go have a look in IE 
(which gets text/html), its fine.

If you look at the source the background colour stops as soon as it hits the 
first DIV tag.
div class=contain

So any ideas?

Thanks heap,
Michael Dale.

**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



Re: [WSG] Change to application/xhtml+xml breaks background colour.

2005-03-19 Thread Michael Dale
It's okay. I've fixed it. I was having an issue with overflow.

Thanks again, didn't know that detail about xhtml :)

- Original Message -
From: Michael Dale [EMAIL PROTECTED]
To: wsg@webstandardsgroup.org
Sent: Sun, 20 Mar 2005 12:35:09 +1100
Subject: Re: [WSG] Change to application/xhtml+xml breaks background colour.


 Thanks for that,
 
 Is is possible to wrap everything in a DIV tag to do this? Because my current
 problem is that most of my other
 div tags have their own background colour and I cannot apply my body 
 background
 to them.
 
 - Original Message -
 From: Patrick H. Lauke [EMAIL PROTECTED]
 To: wsg@webstandardsgroup.org
 Sent: Sun, 20 Mar 2005 12:23:07 +1100
 Subject: Re: [WSG] Change to application/xhtml+xml breaks background colour.
 
 
  Michael Dale wrote:
   I've just decided to output application/xhtml+xml to browsers that support
 it
  (Mozilla, firefox etc). Now the site
   is XHTML 1.1 and valid so that is all good. But the problem I am seeing is
  that the background colour doesn't cover the
   whole page.
  
   Now this only happens when I output application/xhtml+xml. Go have a look 
   in
  IE (which gets text/html), its fine.
  
  in XHTML, the BODY element isn't magic anymore. It does not cover the 
  entire browser viewport, but only stretches as far as its content (which 
  is then compounded if you're floating or otherwise removing elements 
  from the natural flow).
  
  The solution: apply your background colours and/or images to the HTML 
  element instead of the BODY element.
  
  -- 
  Patrick H. Lauke
  _
  re·dux (adj.): brought back; returned. used postpositively
  [latin : re-, re- + dux, leader; see duke.]
  www.splintered.co.uk | www.photographia.co.uk
  http://redux.deviantart.com
  
  **
  The discussion list for  http://webstandardsgroup.org/
  
   See http://webstandardsgroup.org/mail/guidelines.cfm
   for some hints on posting to the list  getting help
  **
  
  
 
 **
 The discussion list for  http://webstandardsgroup.org/
 
  See http://webstandardsgroup.org/mail/guidelines.cfm
  for some hints on posting to the list  getting help
 **
 
 

**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



RE: [WSG] My Style Switcher...

2004-10-22 Thread Michael Dale
I use a style switcher on my site although it works a bit differently. 

$dxstyle = $_COOKIE[dxstyle];
$replace_strings = array(../ , ..\\ , /.., \\.., .); $dxstyle = 
str_replace($replace_strings, , $dxstyle);

style type=text/css media=screen

?php echo @import url(;
if (file_exists(style.$dxstyle..css)) { 
echo /style.$dxstyle..css;
}
else { 
echo /style5.css;
}
echo );; ?

/style

Sorry if that is a bit hard to read. What happens is when you click on the style 
changer you are set a cookie. The php code above reads which style you're using from 
the cookie and loads the correct style. If no style is set it loads the default one.

In action here:
http://blog.dalegroup.net

(although all the other styles are dodgy :p)

Michael Dale
[EMAIL PROTECTED] 

**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



Re: [WSG] w3c badges

2004-10-17 Thread Michael Dale
The only other one I have is this:

http://blog.dalegroup.net/images/w3c_xhtml.png (html 1.0).

Michael Dale
[EMAIL PROTECTED]

- Original Message -
From: Rick Faaberg [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Mon, 18 Oct 2004 15:19:30 +1000
Subject: Re: [WSG] w3c badges


 On 10/17/04 8:58 PM Michael Dale [EMAIL PROTECTED] sent this out:
 
  Here are two nicer looking ones
  
  http://blog.dalegroup.net/images/validx.gif (xhtml 1.1)
  http://blog.dalegroup.net/images/validc.gif (css)
  
  Michael Dale
 
 Those are pretty nice! Are there more?
 
 Thanks
 
 Rick Faaberg
 
 **
 The discussion list for  http://webstandardsgroup.org/
 
  See http://webstandardsgroup.org/mail/guidelines.cfm
  for some hints on posting to the list  getting help
 **
 
 

**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



RE: [WSG] Sydney WSG meeting recap

2004-09-17 Thread Michael Dale
I did a quick write up about it on my blog.

http://blog.dalegroup.net/archive/blog/newsid/126

;)

Michael Dale
[EMAIL PROTECTED]

**
The discussion list for  http://webstandardsgroup.org/

Proud presenters of Web Essentials 04 http://we04.com/
 Web standards, accessibility, inspiration, knowledge
To be held in Sydney, September 30 and October 1, 2004

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**