Try redoing the layout aspects of the CSS using a shell from
http://www.inknoise.com/experimental/layoutomatic.php ... For
educational purposes I would keep an old copy of your stylesheet
settings to check for differences.
The only markup error I noticed was in your declaration. You
should de
Title: form input
Is there some way that you can only target input elements with type SUBMIT?
Example;
form input
{
background-color: #FFCFCE;
This email is to be read subject to the disclaimer below.
Hi Taco,
The answer as ever is yes and no. Yes in mozilla et al and no in IE.
The "attribute" selector is used as follows:
input[type="submit"]{ your css attributes here}
The only way to do it reliable is the way you are prop
Or apply a class to it.
Cheers
Mark
--
Mark Stanton
Technical Director
Gruden Pty Ltd
Tel: 9956 6388
Mob: 0410 458 201
Fax: 9956 8433
http://www.gruden.com
*
The discussion list for http://webstandardsgroup.org/
Hi Mark,
The answer as ever is yes and no. Yes in mozilla et al and no in IE.
As always ofcourse.
The only way to do it reliable is the way you are proposing - unless you
can refer to it another way - i.e. does it sit
Hi again, Peter, welcome to the list.
Had a look at your site the other day. Beautiful stuff in the portfolio
section!
Russ
>
> Hi folks,
>
> Peter Gifford here, new member just introducing myself. Hopefully I
> can be of some service on the list and not just poke about in your
> experienced br
Hi folks,
Peter Gifford here, new member just introducing myself. Hopefully I
can be of some service on the list and not just poke about in your
experienced brains whenever I'm stumped.
I've been designing as 'Universal Head' for almost ten years, and
have done everything from print to website
..using a descendant selector...
#mydiv input
{
blah : blah;
}
#anotherdiv input
{
blah : blah;
}
That said, I've had some issues with getting markup to validate with
divs in forms.
Cheers
James
*
The discussion list for http://webstandards
Yes, but that would the same as assigning a class to the submit button.
Anyway, thanks for the input - answer: it can't be done yet;-))
-Original Message-
From: James Ellis [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 10 December 2003 10:36 AM
To: [EMAIL PROTECTED]
Subject: Re: [WSG] form
Steve,
I realize what your saying, and thats exactly what I meant by "I realize I could do it
the following way, but thats not what I am after." Which was refering to using a class.
Cheers.
-Original Message-
From: Stephen Dixon [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 10 December 20
As far as I know you can't really target tags by their elements. Since
the submit button is just a type="submit" input tag, the normal input
rules will apply to it. I'd say go with your second style and remember
that some of the properties will cascade down.. you may have to redefine
certain pr
Title: px em pt ???
(aayyy, my third post today?)
I'd like to see what all of yours opinion is on what to use for sizes, I have always been a believer to stick to pixels, because that is the only size that to me sounds as something that is not platform/OS bound.
Anyway, I also found the fo
Taco,
There's more than one way to reference a cat.
I think what Mark means is that if there was a around the submit
button you could use that as a more specific selector. IMHO, probably just
easier to use a class (as previously mentioned...)
Steve Dixon.
***
http://www.maxdesign.com.au/presentation/relative/
> (aayyy, my third post today?)
>
> I'd like to see what all of yours opinion is on what to use for sizes, I have
> always been a believer to stick to pixels, because that is the only size that
> to me sounds as something that is not platform/O
Not really, there is no class on the submit, it's a class on the
surrounding block.. a label in this example. Better to use a class as
their may be more than one submit/reset on the page.
.submitbuttons
{
background-color : red;
}
.resetbuttons
{
background-color : blue;
}
Cheers
James
rereading that it may not be clear, if you want to style the button in
the label you could do something like this...
label.submitbuttons input
{
rule : value;
}
wonder if just
.submitbuttons input
would work?
James Ellis wrote:
Not really, there is no class on the submit, it's a class on th
n you are stuck.
- http://www.w3.org/TR/2003/WD-WCAG20-HTML-TECHS-20031209/
The second doc is a bit heavier going, its the Working Draft for the
Architecture of the World Wide Web. Its a big title but it lives up to its
name.
Basically this document is there to define how all the bits work together
That article gives the worst advice I've seen.
Basically, they're saying that if someone wants to
resize the text on your web page, you shouldn't allow
them to because it will break your site, making it
illegible.
If a user wants to resize the text on your site, it is
because it is illegible to
Just a question about how other developers handle opening documents e.g. PDF, DOC, in
a new window.
At the moment I am using _blank targets.
Scenario 1: User is using IE with Word configured to open inside the IE window. When
the user clicks on a link to the Word doc a new IE window opens and
Hey Taco
The general idea that we stick to in here is that % or ems are best.
This is to work around a "bug" in IE/WIN that prevents px based fonts being
resized easily. It is still possible to resize px fonts in IE but you have
to dig around in the menu rather than using ctrl+scrolly mouse.
Pe
I definitely agree that relative sized fonts provide a more accessible design but I
wonder about how sight-impaired users themselves use the web and their PC's in
general? For instance, my grandfather has coke-bottle-thickness glasses and as such
uses a 19" monitor in 800x600 resolution, which
Correct me if I am wrong, but if your working with % percentage, does that mean that
in some browsers the font size can be bigger or smaller than intended? Thats what I
understoud from the article that Russ send me the link of.
-Original Message-
From: Mark Stanton [mailto:[EMAIL PROTEC
thats a good one...
It makes sense what you are saying, to me anyway.
-Original Message-
From: Miles Tillinger [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 10 December 2003 1:42 PM
To: [EMAIL PROTECTED]
Subject: RE: [WSG] Re: px em pt ???
I definitely agree that relative sized fonts pro
I get your point Miles - but why should your grandfather NOT be able to walk
into an internet cafe and use the 15" monitor at 1024x768 with IE 5 on it?
Accessibility means removing as many obstacles as possible.
Cheers
Mark
--
Mark Stanton
Technical Director
Gruden Pty Ltd
Tel
Yes, I just thought of it whilst looking around at all the various articles about
relative font sizes since I am in the midst of redeveloping a sites' stylesheet to use
them. I have previously used pixel sizes in a few sites without realising the impact.
However relative font sizes seem to ha
Hey Taco
In some browsers, yes. For example on a hand held the font size will
probably be quite a bit smaller than on a normal desktop.
But in terms of the common desktop browsers its ok, there are problems with
how %'s cascade in some cases but you can usually fix this up with a bit of
tweaking
touché Mark ;) It is a problem that Windows buries its accessibility options so deep.
I think it would be better that he could walk into a net cafe and be able to easily
changes the OS font-size. However since this isn't the case, the ability to change it
in the browser IS the next best thin
Sorry for the length of this...
1. All government sites are supposed to follow WAI guideline - which
recommend the use of relative font sizes.
2. The aim is to give users the option. Saying that users can change their
screen resolution is throwing the responsibility back onto them - it is our
job
Hi All,
I am a new member and this is my first post.
Miles I came across your problem a while back while
upgrading my work site, trying everything I was about
to give up when Sitepoint.com published an article
from Kevin Yank that explained exactly how to open
documents in a new window. And it's
Makes sense too..
I guess in the end it all becomes a case of - is the client willing to pay for your
extra time required to apply all these hacks.
Having worked for several government bodies I am afraid to say I have NEVER worked
with %, simply because it looked like a paint to work with. And
Hi Taco,
> I guess in the end it all becomes a case of - is the client
> willing to pay for your extra time required to apply all these hacks.
First thing to note is that it is soo much quicker to develop a site
this way once you get the basics right. Once you have the basics, you start
the n
Taco,
If you code well, relative font sizes do not require a great deal to apply
across a site. You are simply making decisions on font-sizes as you develop
each section of the page - exactly as you would for pixels. There is really
very little excuse not to use one of the methods below.
Method 1
Peter, I know its a bit of a cop-out and less of a 'learning experience', but I'd love
to get my hands on a generic CSS template that I can use as a starting point... Has
anyone been nice enough to make one available anywhere?
-Original Message-
From: Peter Firminger [mailto:[EMAIL PRO
Any links to information about descendant selectors and backwards compatibility? In
particular Netscape 4...
-Original Message-
From: russ weakley [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 10, 2003 3:41 PM
To: Web Standards Group
Subject: Re: [WSG] Re: px em pt ???
Taco,
If
http://westciv.com/style_master/academy/browser_support/selectors.html
Try this - keep in mind you can hide content from NN4 if needed using
@import
Russ
>
> Any links to information about descendant selectors and backwards
> compatibility? In particular Netscape 4...
>
> -Original Messag
35 matches
Mail list logo