Re: [WSG] Back to basics!

2009-07-10 Thread Алексей Тен
" and “ are not the same. " is "

On Fri, Jul 10, 2009 at 13:08,
designer wrote:
> Hi all,
>
> Could anyone tell me where there is information regarding character code
> 'usage' that is simple.  I always use UTF-8 and, e.g., if I want to put a
> left quote in my text I can use " or “  Which is recommended?
>
> Any help, links etc most welcome. (I have googled, but . . .)
>
> Thanks,
>
> Bob
>
>
>
> ***
> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
> Help: memberh...@webstandardsgroup.org
> ***
>
>



-- 
Алексей


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



Re: [WSG] Firefox Ignoring Stylesheets

2009-04-29 Thread Алексей Тен
Tools » Error console

Error: The stylesheet
http://www.markboulton.co.uk/examples/guardian/css/screen.css was not
loaded because its MIME type, "text/html", is not "text/css".
Source File: http://www.markboulton.co.uk/examples/guardian/


-- 
Алексей


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



Re: [WSG] Standards way of getting div background color?

2008-11-27 Thread Алексей Тен
Use window.getComputedStyle for standard-compliant browsers and
element.currentStyle for IE.

https://developer.mozilla.org/en/DOM/window.getComputedStyle
http://msdn.microsoft.com/en-us/library/ms535231(VS.85).aspx

On Thu, Nov 27, 2008 at 12:06, Dennis Suitters <[EMAIL PROTECTED]>wrote:

> Dunno, if this has been asked before.
>
> I've been looking wherever I can for a way to get a div's or any element's
> background color in a sementic friendly way (ie. works in IE and FF) using
> javascript.
>
> so far i've tried the below:
>
> document.getElementById('element').bgColor;
>
> &
>
> document.getElementById('element').style.backgroundColor;
>
> TIA



-- 
Алексей

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

Re: [WSG] Forcing a vertical scrollbar in Firefox 3

2008-06-20 Thread Алексей Тен
You should try

html { overflow-y: scroll; }


On Fri, Jun 20, 2008 at 16:53, Mark Voss <[EMAIL PROTECTED]> wrote:
> I've always used:
>
> html{min-height:100.1%;}
>
> to force a vertical scroll-bar in Firefox for fixed width sites that are
> centred in the browser window - it stops them jumping sideways when you
> navigate between pages that are longer and shorter than the viewport.
>
> With the release of Firefox 3 however, I've found that this no longer works
> and I need to increase the minimum height percentage slightly:
>
> html{min-height:100.2%;}
>
> does the trick!
> _
>
> Regards,
> Mark Voss
>
>
>
>
> ***
> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
> Help: [EMAIL PROTECTED]
> ***
>
>



--
Алексей

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

Re: [WSG] Background-position in percentage

2008-06-03 Thread Алексей Тен
On Wed, Jun 4, 2008 at 8:01 AM, John Horner <[EMAIL PROTECTED]> wrote:
> I've just spent a bit of time looking at how background-position works
> when expressed as a percentage:
>
>  background-position: 90%;
>
> and I'm wondering why it works the way it does.
>
> Here's the best way I can describe the effect of (90%, x-axis)
> positioning with percentages: "to position the image such that the point
> 90% across the image is aligned with the point 90% across the element".
Have you read specs?
http://www.w3.org/TR/CSS21/colors.html#propdef-background-position

> There's something rather counter-intuitive about that (it's even hard to
> describe!), and I've tried to explain it in teaching people about CSS
> and found that people are rather baffled by it.
>
> Does anyone know why it was created that way, and/or can you tell me if
> there's some very useful thing this rule allows you to do? That is, as
> opposed to a simpler rule like "image is offset that amount to the left"
> which is what I assumed when I first came across it.
Can you provide other way to align right edge of background image
with right edge of box? To center background image?

-- 
Алексей

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

Re: [WSG] Client cannot view website

2008-04-08 Thread Алексей Тен
I'm can't see content in IE6 too.

Adding position:relative to #sidebar and #main fixes the problem.

On Tue, Apr 8, 2008 at 12:00 PM, Lynette Smith <[EMAIL PROTECTED]>
wrote:

>  I hope this post is allowed. Just had a call from a client to say he
> cannot see all of his website.  He does not seem very computer literate.  He
> says he can see the "first bit" ( header and the navigation bar underneath
> the header),  but below is just a green blank page.
>
> I can see nothing wrong with the site which has been up for ages and am
> thinking it is his computer though I have no idea what could be wrong.  He
> uses IE.
>
> Is there anything I can get him to check.. Url is
> www.bourkebridgeinn.com.au
>
> Thanks
>
> Lyn
> www.westernwebdesign.com.au
>
> ***
> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
> Help: [EMAIL PROTECTED]
> ***




-- 
Алексей

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

Re: [WSG] background-position:top center; IE6?

2008-02-24 Thread Алексей Тен
Use background-position: 50% 0;

On Sun, Feb 24, 2008 at 2:41 PM, kevin mcmonagle <[EMAIL PROTECTED]>
wrote:

> hi,
>
> is there any way to get ie6 to accept this property:
>
> background-position:top center;
>
>
> i have a tabular nav bar with different width tabs, the background image
> needs to center itself.
>
> thanks
> kevin
>
>
>
> ***
> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
> Help: [EMAIL PROTECTED]
> ***
>
>


-- 
Алексей

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