Re: [WSG] Getting the layout to work and with all browsers

2006-10-12 Thread Navjot Pawera
"working towards blocking the automatic update" - does this also mean that such businesses won't be upgrading to "vista" On 10/12/06, Patrick Lauke
 <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED]> I can't find the reference now, but I saw a report recently by someone> of the likes of Gartner, that reckoned it would take a year
> or so before> IE7 overtook IE6.At least part of that will be that a lot of organisations (ours included) are working towards blocking the automatic update, as some of the business-critical, web enabled systems used are still not all functioning properly on IE7.
PPatrick H. LaukeWeb Editor / University of Salfordhttp://www.salford.ac.ukWeb Standards Project (WaSP) Accessibility Task Force
http://webstandards.org/***List Guidelines: 
http://webstandardsgroup.org/mail/guidelines.cfmUnsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfmHelp: 
[EMAIL PROTECTED]***

***List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfmUnsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfmHelp: [EMAIL PROTECTED]***

Re: [WSG] p:first-line

2006-09-05 Thread Navjot Pawera



Unless it's just for the first paragraph then you will need the p 
class="first-line"


#description p.first-line {
  text-indent : 3em;
}

  


In what case would we need to "indent the first line" ?
Doesn't indenting mean exactly the same thing ??

--
Navjot Pawera
www.navjotpawera.com


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] p:first-line

2006-09-05 Thread Navjot Pawera




From the w3c specifications for CSS2 -
http://www.w3.org/TR/REC-CSS2/selector.html#first-line-pseudo


"The :first-line pseudo-element is
similar to an inline-level element, but with certain restrictions. Only
the following properties apply to a :first-line pseudo-element: font
properties, color properties, background properties, 'word-spacing',
'letter-spacing', 'text-decoration', 'vertical-align',
'text-transform', 'line-height', 'text-shadow', and 'clear'."


Hence, you cannot apply margin here.

Designer wrote:
Hello
everyone,
  
  
I think I'm cracking up!
  
  
I'm trying to use:
  
  
   #description p:first-line { margin-left : 3em; }
  
  
and it refuses to take any notice of me!  However, if I use:
  
  
   #description p:first-line { color : #f00; } that works fine.
  
  
Can anyone shed any light on this?  The full CSS file is at:
  
  
   http://www.rhh.myzen.co.uk/rhh2007/locations/css/fulldetails.css
  
  
and an example of it NOT working can be seen here:
  
  
  
http://www.rhh.myzen.co.uk/rhh2007/locations/trevone/westwinds.php?house=Westwinds
  
  
I just can't see what's wrong - too tired, too old . . . :-)
  
  
  
Thanks!
  
  


-- 
Navjot Pawera
www.navjotpawera.com



***List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfmUnsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfmHelp: [EMAIL PROTECTED]***



Re: [WSG] wierd refresh issue IE

2006-08-21 Thread Navjot Pawera




works for me 

Sean Jones wrote:
Hi
all
  
  
I have a wierd problem with a website I helped build,
www.visiblefictions.co.uk (past-productions-shopping for shoes). When
viewed in IE the right-hand column is pushed below the left column for
a few seconds before correcting itself!? This seems to be related to
the cache and only happens on some machines. The css isn't the cleanest
but if anyone has any suggestions or have come across this problem
before your help would be greatly appreciated!
  
  
.        
  
  
// sean.jones
  
// designer
  
  
tel: 0141.341.2893
  
mobile: 07818 431 301
  
fax: 0141.341.2802
  
  
biscuitmedia
  
craighall.business.park
  
1.eagle.street
  
glasgow
  
g4.9xa
  
  
biscuitmedia teams up with grp...
  
http://www.biscuitmedia.com
  
  
.        
  
  
_
  
Download the new Windows Live Toolbar, including Desktop search!
http://toolbar.live.com/?mkt=en-gb
  
  
  
  
**
  
The discussion list for  http://webstandardsgroup.org/
  
  
See http://webstandardsgroup.org/mail/guidelines.cfm
  
for some hints on posting to the list & getting help
  
**
  
  
  


-- 
Navjot Pawera

www.navjotpawera.com
www.opera.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**



Re: [WSG] Branding - Accessible, Unobtrusive and Semantic

2006-08-13 Thread Navjot Pawera




Reason the code is not working in Opera - 
the code uses document.all to detect the browser (assuming IE from FF
in this case) and then create elements using setAttribute(class) - for
FF or setAttribute(className) - for IR
But since document.all is used by Opera as well, Opera is given code
with setAttribute(className)  - which Opera
doesn't support

Hence, to properly detect IE and give it exclusive code, the use of an
IE only property works here, like -
document.styleSheets[0].owningElement
Thus, changing the code at line 45 to:

    classVar = (document.styleSheets[0].owningElement) ? 'className' :
'class' ;

should make things work.

- Navjot

David Laakso wrote:
Richard
Czeiger wrote:
  
  Hi all  :o)

 

Just thought I'd throw a bit of code out there and see if anyone thinks
it's useful..

 

Unobtrusive Semantic Branding

http://www.grafx.com.au/dik/branding.html

 

Basically it allows you to dynamically style a company's brand name
every time it appears on a web page as text.

All you have to do it wrap it in a  with a class name (I've
used "brand") and away we go  :o)

 

You can style your branded company name any way you like and it works
on all elements, including those with existing (multiple) class names.

 

Check it out and if you find any bugs, please let me know.

Cheers  :o)

 

Richard


  
Maybe it is a setting on my end? Not working for me:
  
Opera
  
Version9.01
  
Build8552
  
PlatformWin32
  
SystemWindows XP
  
and I default to fuchsia background-color.
  
Best,
  
~dL
  
  
  
**
  
The discussion list for  http://webstandardsgroup.org/
  
  
See http://webstandardsgroup.org/mail/guidelines.cfm
  
for some hints on posting to the list & getting help
  
**********
  
  
  


-- 
Navjot Pawera

www.navjotpawera.com
www.opera.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**



Re: [WSG] How do I make html menu go over flash content in all the big browsers?

2006-08-07 Thread Navjot Pawera
hey, check - http://www.navjotpawera.com/testbox/flash_embed_object.htmlworks for me in the latest versions of Opera and FF and IE6 ..
On 8/7/06, morten fjellman <[EMAIL PROTECTED]> wrote:
Thanks for the tip. I have used the Satay method before, but I think I will try the UFO (http://www.bobbyvandersluis.com/ufo/
) method this time. The problem with  is that it needs to have some values in the  tag for it to work on all major browsers. Since I won't use the embed method I'm back at square one. 

Hi Fjellman, you need to check out Drews excellent Flash Satay method here: http://alistapart.com/articles/flashsatay/
. It's astandards-compliant method for using Flash in your pages.**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**