adding on your LIs.
Additionally, it has the added benefit of working in Internet Explorer
6, which still has a sizable market share and doesn't support :hover
except on links (so li:hover wouldn't work).
--
David Dorward <h
a.html#color-units
Or for the future: http://www.w3.org/TR/2010/PR-css3-color-20101028/#colorunits
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
__
css-discuss [cs...@lists.css-discuss.org]
http://www
rnet Explorer and usually makes using
XHTML far more effort then it is worth) then .
http://www.w3.org/TR/xhtml1/#h-4.6
http://www.w3.org/TR/xhtml1/#C_2
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
___
nothing from this.
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com
y to be blue?
Write markup that allows you to match them differently with a
different selector, then use that different selector.
A descendent selector is usually the right choice in situations like this.
http://css.maxdesign.com.au/selectutorial/document_descendant.htm
--
David Dorward <http:
ust means "ACME Inc." and a graphic of a shopping cart icon just
means "shopping cart" but might be right next to the text "shopping
cart" so could be just represented as: shopping
cart because it doesn't add any additional information (and
&q
ue?
>
> - simple, stand alone images
> - h2 tags with image replacement, and if so, what's considered the current,
> best method
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
__
css-disc
No need to guess: http://www.w3.org/TR/CSS21/cascade.html#specificity
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org
y problems. If a
normal tooltip doesn't give users enough time to read the text, I'd
look for a different design pattern.
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
__
css-discuss [cs
e emulation mode is a pragmatic, but horribly unintuitive, approach
to let authors keep their code working in IE until they make it better
conform to web standards — labeling this "devolution" is unfair.
--
David Dorward <http://dorward.me.uk>
tween embedded and
external. Inline only wins because using the style attribute is
equivalent to having an infinitely specific selector.
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
__
cs
On 12 February 2010 21:01, Jess Jacobs wrote:
> A thought occurred to me recently:
>
>
> .nojs #content-packs { display: block; }
>
>
> 1. Does anyone see anything fundamentally wrong with this approach? (We
> could make this an include, as well, for good form, but I'm trying to stick
overed over.
Links get styled in many different ways. However, there is very little
underlined text on the web that is not a link.
Underlining affords activating. Things that don't behave the way users
expect is generally bad design. So avoid using underline for screen
media elements th
t might I be doing wrong here?
Presumably, the library directory isn't a subdirectory in the root
directory for the site.
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
__
css-discuss [cs...@li
refox-0.15/lib/WWW/Mechanize/Firefox.pm#$mech-%3Efollow_link
[4]
http://search.cpan.org/~corion/WWW-Mechanize-Firefox-0.15/lib/WWW/Mechanize/Firefox.pm#Save_the_current_page_as_PNG
--
David Dorward <http://dorward.me.uk><ht
sty.
I'd suggest hugging the left edge of the browser instead.
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listin
document, so you have to load an HTML document in the
frame instead of the image directly. Any styling can then take place
in that document.
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
__
css-di
s too. Let's ignore those.
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- htt
pport XHTML, you have to claim it is HTML and jump through hoops to
write something that is both XHTML and almost-HTML, and those hoops
are, IMO, more trouble then they are worth in the vast majority of
cases).
--
David Dorward <http://dorward.me.uk><http:
today.
http://www.w3.org/TR/html4/strict.dtd";>
Then clear up the machine detectable errors: http://validator.w3.org/
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
__
css-discuss [cs...@l
group of similar elements.
Leave IDs for specific elements.
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinf
rectionality – and it’s not very practical to set directionality for every
> element explicitly with an HTML attribute.)
Descendent selectors. :)
[dir="rtl'] whatever {
}
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
_
ng is taking up some of
that space, there is less for the content width).
> Is one method better than the other, or just user preference?
Screwdriver. Hammer. Pick one.
(i.e. it depends on what you are trying to achieve)
--
David Dorward <http://dorward.me.
m or takes over the project, they
won't have to learn your stylesheet language, they can just use CSS.
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
__
css-discuss [cs...@lists.css-discuss.org]
f I were dealing with IDs because I could style my
> #comment and add a .wide class and then specify the style for #comment
> .wide in my style sheet.
You can combine multiple classes selectors too:
.comment.wide { }
But support is lacking in IE6.
--
David
... with a solid background colour.
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- h
uri=http%3A%2F%2Fwww.hcam.net%2Fposts.html&charset=%28detect+automatically%29&doctype=Inline&group=0
Once you've dealt with the machine detectable errors, then start
worrying about browsers rendering things other than as you expect.
--
David Dorward <http://dorwar
g:
> https://i-share.carli.illinois.edu/uc/vwebv/searchBasic?sk=en_US
I'd address these errors first:
http://validator.w3.org/check?uri=https%3A%2F%2Fi-share.carli.illinois.edu%2Fuc%2Fvwebv%2FsearchBasic%3Fsk%3Den_US&charset=(detect+automatically)&doctype=Inline&group=0
--
D
r-support
is a good guide to centring a group of floated elements in general.
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/m
2009/6/17 Bobby Jack :
> I've always been led to believe that "float without explicit width" is a
> no-no,
It's a CSS 2 requirement. Dropped in CSS 2.1.
--
David Dorward <http://dorward.me.
2009/6/10 David Hucklesby :
> Interesting. That's similar to Thierry's suggestion for enabling styling
> of ABBR in IE 5/6 -
It is the same. Using DOM to generate an element of an unknown type in
IE registers it in a way that makes that type available for styling.
--
Dav
nd span's, but
> it seems that anything put within option besides text is simply ignored by
> the browser.
See http://validator.w3.org/
You might consider using a radio group instead (possibly with some
JavaScript to hide all but the selected element until it is clicked).
--
David Dorwa
ts side -- like in a spreadsheet.
Current CSS recommendations don't provide any way to achieve this.
You'll need to look to CSS 3 drafts or SVG - neither of which enjoys a
great deal of support on the WWW. (The other option is pictures of
text)
--
David Dorward <http://dorward.me.u
it, then it breaks.
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.c
It flags the URL as potentially incompatible with IE8 with
Microsoft. If enough users use IE7 mode, then the URL could be added
to a list of URLs for which compatibility mode is the default for IE8
users.
--
David Dorward <http://dorwa
he W3C CSS
validator.
You can safely ignore it (unless dealing with exceptionally old browsers).
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
__
css-discuss [cs...@lists.css-discuss.org]
http://w
y / value
pairs. The last pair in a rule-set doesn't need to have one, but it
does no harm to include it.
I would recommend, as a matter of coding style, to always include it.
It reduces the risk that you'll add a new property / value pair to the
end and forget to add the semi-colon befo
not including content, so it isn't the
right tool for this job.
http://allmyfaqs.net/faq.pl?Include_one_file_in_another has a good
summary of the main options you have.
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
_
et could be applied to?
For every window / font size? (Since overlapping can vary depending on
these factors)
When other stylesheets (including user stylesheets) are applied?
> at least in the trivial case.
There's no way to know if the trivial case will be the real case
--
David Do
who really want to scale background images on the client tend
to use foreground images and absolutely position them at a lower
z-index then the content.
I'd try to pick images that tile or fade to a solid colour, and do any
scaling on the server.
--
David Dorward <http://
g.
>
> Chrome as a desktop browser is used by a handful of geeks,
> but it's on all the Google G1 phones (and jolly fast it is too!)
> so it's bound to get more use / exposure that way in time.
And Safari comes on the iPhone.
--
David Dorward
2008/12/9 MEM <[EMAIL PROTECTED]>:
> Thanks. How can we do that? I mean, is there some specific tool to validate
> the html and the .css ?
> List wiki/FAQ -- http://css-discuss.incutio.com/
http://css-discuss.incutio.com/?page=CodeValidation
--
David Dorward <http://d
w us your attempt, just the guide you tried to follow.
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ
tp://www.w3.org/TR/xhtml1/#C_1
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-disc
org/TR/CSS21/syndata.html#value-def-percentage
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http:/
ement changes the base URI for the HTML document, not
associated stylesheets (except, I think, in Netscape 4, buggiest
browser of them all).
I prefer to avoid the base element and use root relative URIs (ones
which start with a / character) for everything except document
specific resources.
--
Da
ies between
browsers, including an issue in Internet Explorer where the browser
places the padding inside the content width of an element.
http://css-discuss.incutio.com/?page=RenderingMode
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
___
t; Freeway Pro or knows anything about it, I would be interested in getting
> your opinion.
Glancing at their website, which they claim was written using Freeway
Pro, I see layout tables.
I'm not impressed.
--
David Dorward <http://dorwar
h mode.
"""
The author clearly didn't do much research then.
http://developer.mozilla.org/en/Mozilla_Quirks_Mode_Behavior
http://www.opera.com/docs/specs/doctype/
http://www.quirksmode.org/css/quirksmode.html
--
Davi
wsers which leads to much inconsistency and pain.
> and if so how do these pages
> work around this so that there page validates ?
In theory, another system of validation could be used - such as an XML schema.
--
David Dorward <http://dorward.me.uk&
-word are trying to get
user generated content to not flow out of their design. In that case,
the solution I'd suggest is better sanity checking of the data coming
from the user ("Sorry, words containing over 30 characters are not
allowed").
--
David Dorward <http://dor
On 07/04/2008, Amrinder <[EMAIL PROTECTED]> wrote:
> Could anyone please let me know when (and where) to use ID and when to use
> class.
http://css-discuss.incutio.com/?page=ClassesVsIds
--
David Dorward <http://dorward.me.uk><http
le sheet as full CSS
(2) In a style attribute as the contents of a declaration block
There is no way to use selectors except in a real stylesheet.
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
___
oad the frameset.
> 2. Is there a way of doing this in CSS instead of frames?
No.
> Greatly appreciate any advice on this.
Don't host the separately.
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
_
Safari 2 as well.
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com
hitespace between the list items in the HTML
source.
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-
On 21/01/2008, Jon Hughes <[EMAIL PROTECTED]> wrote:
> Microsoft is pushing an update on February 12th, 2008 that will
> force-upgrade Internet Explorer to IE7.
Sadly, it only applies to users of WSUS on XP or newer, and can be overridden.
--
David Dorward <http://dorw
~jkorpela/forms/navmenu.html#ben
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-disc
at is the case: http://complexspiral.com/publications/containing-floats/
Techniques for dealing with it: http://www.ejeliot.com/blog/59
> font-size: 14px;
http://css-discuss.incutio.com/?page=UsingPixels
--
David Dorward <h
harder for
people to debug code.
I'd start by fixing these problems:
http://validator.w3.org/check?uri=http%3A%2F%2Fnearspaceventures.com%2Fgpsl2008%2F&charset=(detect+automatically)&doctype=Inline&group=0
--
David Dorward <http://dor
lly work outside the context of a webserver.
> What I'm looking to accomplish is to be able to
> quickly deploy the template anywhere in the site without having to
> wiggle and jiggle settings.
Relative URIs in stylesheets are relative to the stylesheet, not the
HTML document
or suffered from
the same dependency.
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://c
7;re trying to apply onblur and onfocus to a div. Since divs in HTML
4 (or any other markup language standard) cannot hold the focus, these
events can never fire, so the attributes are not in the list of
allowed attributes for the div element.
--
David Dorward <http://dorward.me.uk>
p=1em, right=2em, bottom=3em, left=2em */
http://www.w3.org/TR/CSS21/box.html#propdef-margin
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.
e simple, reliable method is to disallow exceptionally long words on
the server. When it comes to URLs you can trim the middle.
http://very.long.example.com/url/that/will/annoy/";>very.long…ll/annoy/
--
David Dorward <http://dorward.me.
preference in a number of browsers (with the user-agent string being
used to pick a default set) would be more helpful then a custom
interface that only works on one specific site?
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
_
orer (to various degrees depending on the
version))
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/F
lution?
Have a short link inside the element (something that gives enough
information to be useful when skimming through links but not so much
that it becomes overly verbose), and use JavaScript to make the entire
element clickable.
--
David Dorward <http://dorward.me.
nor display: table-cell, so the property doesn't apply.
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 in
27;no' by default.
>, or do I need to outright stack layers on each other with the image laying
> in one and the text in the other?
If at all possible, avoid needing the background. They munch on ink
and toner. When it comes to print media style sheets KISS is the way
to go.
--
David D
or that matter).
I suggest dealing with those issues first (the width issue is very
likely related to them)
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
__
css-discuss [EMAIL PROTECTED]
http://w
ed rather than
styling it directly but ...
> Also, I'm a bit confused about how you will the stylesheet
> in.
... if the RSS was being styled directly then one would use the
standard XML syntax for applying a stylesheet rather then the HTML
method.
http://www.w3.org/TR/CSS2/intro
that script is going to break due to the lack of support for
document.write in XHTML documents.
http://www.webdevout.net/articles/beware-of-xhtml might be worth a
read.
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
rewall.
http://validator.w3.org/docs/install.html
http://jigsaw.w3.org/css-validator/DOWNLOAD.html
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
__
css-discuss [EMAIL PROTECTED]
http://www.cs
etectable syntax errors is, as ever, a good starting point.
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
I
a smaller price
to pay to rendering content inaccessible.
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 informa
irks mode. http://dorward.me.uk/www/centre/#ie
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- htt
rks mode there are work
arounds, but you are usually better off picking a Doctype that
triggers standards mode.
http://hsivonen.iki.fi/doctype/
http://dorward.me.uk/www/centre/#ie
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
___
webdesign-l mailing list.
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incu
On 12/06/07, Jukka K. Korpela <[EMAIL PROTECTED]> wrote:
> On Tue, 12 Jun 2007, David Dorward wrote:
>
> > (You can find out what the computed font size is using Firebug's dom
> > inspector, switching to the Style tab, and picking Computed Style from
> > the men
rovide an example of
where it doesn't?
(You can find out what the computed font size is using Firebug's dom
inspector, switching to the Style tab, and picking Computed Style from
the menu on the right hand side of Firebug).
--
David Dorward <http://dorward
ss.maxdesign.com.au/listamatic/ for some nice
approaches to horizontal navbars, with rollover effects.
If you really want to use pictures of text (and I suggest you don't as
they are harder to read in general), then you'll probably be better
off with elements inside the anchors that
t it is far too late for it to change if you
disagree.
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 informati
t-type issues, or
invalid CSS (e.g. @import appearing after rulesets).
A URL would make it easier to debug.
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
__
css-discuss [EMAIL PROTECTED]
http:
ake a new class to deal with this or
> would this be the famous "divitis" that I have heard about?
It is divitus alright.
You've got a list, so use a list (ul / ol + li), with a graphical
bullet point: http://www.w3.org/TR/CSS2/generate.html#propdef-list-style-image
--
David
I'm very surprised
anyone is still trying to support IE 4, which has been unsupported by
Microsoft for a very long time.
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
__
css-discuss [EMAIL P
oes have a new XML parser (
http://validator-test.w3.org/ ) to try it out.
Jigsaw is, IIRC, the HTTPD / Servelet container that the CSS Validator
runs under and I haven't heard about any changes to either of late.
--
David
ined and does this work in most currently used browser.
background-position: 50% 0%;
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/
ssume
that is what you are talking about when you say 'cell')
3. If it still doesn't work, provide a URL showing the issue
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
__
css-dis
Don't work with Firefox, ok for IE6, 7. */
> @import url(./Ressources/StyleSheet/FontStyles.css);
Try valid CSS.
http://www.w3.org/TR/CSS2/cascade.html#at-import describes how to perform
media specific imports.
--
David Dorward <http:
No, you can't.
> at least according to W3C.
Where does the W3C claim this?
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
__
css-discuss [EMAIL PROTECTED]
http://www.css-discus
On 02/05/07, Glenn E. Lanier, II <[EMAIL PROTECTED]> wrote:
>More
Please don't. A link to the top of the page that also does something
else if JS is available, is odd.
(and have openwindow return false in the event of a failure).
--
David Dorward <http://do
g the box beyond the picture, how would I go about it?
Either reduce the width by the sum of the left and right padding, or
use a child container with the padding you want and width "auto".
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
On 26/04/07, simone.benerecetti <[EMAIL PROTECTED]> wrote:
> is there someone who can advise me a good CMS
FAQ: http://css-discuss.incutio.com/?page=CssFriendlyCms
--
David Dorward <http://dorward.me.uk><http://
/jigsaw.w3.org/css-validator/DOWNLOAD.html
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http:
ontent img is more specific than .storycontentblog img and so takes priority.
http://www.w3.org/TR/CSS2/cascade.html#specificity
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
__
css-discuss [E
ot;pass" you mean "Fails to recognise the non-standard public
identifier, warns about not knowing if it should be treating this as
XML or SGML[1], uses the URI to the DTD instead of its local catalog
for HTML 4.01 Strict, and then validates against that".
[1] Thank-you so very much X
be even definition lists which may help with the issue that is
> mentioned there.
You aren't defining terms, and definition lists don't describe a two
dimensional relationship.
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
_
e) you get:
April 2007
CHB Medical Office Suites
Sunday Monday Tuesday Wednesday Thursday Friday Saturday
1 2
Scott Emerick, MD
(General Surgery)
9A-2P
... I suggest switching to use a table for your data structure.
--
David Dorward <http://do
On 06/04/07, Ross Hulford <[EMAIL PROTECTED]> wrote:
> Quick question...
Its a FAQ: http://css-discuss.incutio.com/?page=StyleInEmail
--
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
1 - 100 of 342 matches
Mail list logo