Niels Fröhling wrote:
This should help:
http://pear.php.net/package/Text_Highlighter
And Jan Brasna also chipped in with a couple of PHP-packages.
I am thankful for any tip, but my question was not about how I should go about
implementing the highlighting in PHP. My question is what would
See the output of the classes. I kind of like the classnames like
.php-var .html-tag .html-quote .html-entity .css-class .css-id
.java-comment .java-preproc .js-out .js-num .sql-option
etc. ...
However I don't have a particular opinion on the possible improvement of
the whole concept.
--
Try removing the width from #cleaning-categories li p a.
On Tue, 26 Sep 2006 18:39:58 +1000, Taco Fleur [EMAIL PROTECTED]
wrote:
Hi all,
I have a page (valid HTML)
http://www.redlandscleaningsolutions.com.au/cleaning-product-categories.cfm
when moving the mouse over the li the numbers
On 9/26/06, Kim Kruse [EMAIL PROTECTED] wrote:
Hi,
I'm looking for a good solid img replacement menu that works well with
images off. Suggestions welcome.
Thanks
Kim
For want of more information, I'll give you the best answer I can:
img src=menu_item_1.png alt=Item description for images
Kim Kruse wrote:
I'm looking for a good solid img replacement
menu that works well with images off.
Hello Kim,
You might want to check out this technique [1]. It gives a masthead-type
image as an example, but it could be easily adapted to a menu. I've just
recently started playing around
Hi,
I'm looking for a good solid img replacement menu that works well with
images off. Suggestions welcome.
Thanks
Kim
***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe:
I don't think that there is anything wrong in what you are suggesting here.
Apart from the fact that no normal browser is going to do anything with your
modified DTD. Some browsers will behave differently depending on what DTD you
specify, but I do not know of any that actually bother to
Title: Website design - Pacific Fox
Hi
all,
I have a page (valid
HTML) http://www.redlandscleaningsolutions.com.au/cleaning-product-categories.cfm
when moving the
mouse over the li the numbers disappear, would anyone know what causes
that?
Thanks in
advance.
Kind
regards,Taco
Fleur
Hi All,
just working on a design - finishing up and going through validation etc
- see:
http://82.110.105.29/crownstorage.com/professional-services.htm
on the right there are some expandable titles using javascript. The page
is valid CSS and WAI but the 'OnClick' command fails to validate
On Tue, Sep 26, 2006 at 05:18:13PM +0100, John 'Max' Maxwell wrote:
the 'OnClick' command fails to validate as XHTML - is there another
way?
XHTML has a lot of gotchas, and using it probably won't give you any
advantages over HTML, while running the risk of causing you problems
in places you
Hi,
John 'Max' Maxwell wrote on 26-09-2006:
on the right there are some expandable titles using javascript. The
page is valid CSS and WAI but the 'OnClick' command fails to
validate as XHTML - is there another way?
'onclick' I believe... i.e. all lowercase.
Best regards
Rob
Olá Max,
You have two different alternatives:
1- to use onclick instead of OnClick
2- to separate behaviour and structure, which is probably preferable.
Try googling on this or this article from PPK:
http://www.digital-web.com/articles/separating_behavior_and_structure_2/
HTH...
Roberto
Use onclick instead... lowercase for xhtml :)
Kim
John 'Max' Maxwell skrev:
Hi All,
just working on a design - finishing up and going through validation
etc - see:
http://82.110.105.29/crownstorage.com/professional-services.htm
on the right there are some expandable titles using
http://82.110.105.29/crownstorage.com/professional-services.htm
on the right there are some expandable titles using javascript. The page
is valid CSS and WAI but the 'OnClick' command fails to validate as
XHTML - is there another way?
Welcome back from Portugal Max. I checked the HTML
I note that you did mention an SGML parser in your message -
was that relevant? (IE, Firefox, Safari are not SGML parsers.)
Hmm, it was only meant as hint, that HTML was born out of SGML,
and there is a plenty of (completely useless and missleading)
conventions and definitions from
Please name me a reason why that is invalid!
OK, this falls under the heading of SGML stuff that doesn't matter
unless you start playing with non-standard code, and I don't mess
with that sort of thing, but I think:
If you serve it with an XML content-type, it should AFAIK, be fine. If
But anyway, all of this is very constructed, I only wanted
to show that in my opinion an official DTD declared to be
spanish doesn't make the doctype or DTD-definition invalid,
and also by no means should confuse a browser or validator.
You can file a validator bug then, maybe?
--
Jan Brasna
I am thankful for any tip, but my question was not about how I should go
about implementing the highlighting in PHP. My question is what would be
the best possible markup in the result, semantically speaking.
...
The makers of HTML did some groundwork. They gave us the tags var,
code,
Hi,
Maybe I should extend my question a bit. Here on this page
http://geekministry.com/yeah/index.php I'm currently using Dan
Cederholm/Pixi's solution
http://www.simplebits.com/notebook/2003/09/30/accessible_imagetab_rollovers.html
which works very well with images on. The obvious problem
John Faulds wrote:
It should be pointed out that this method has
problems when you resize the text (unless
you've since found a way to fix that Mike).
I did, John, as seen on the site I just used it on: http://myrnamunroe.org/.
Basically what I did is 1) allowed lots of room for growth and 2)
Maybe I'm missing something but you've got an image in your HTML. That's
not really an image replacement method in that case.
On Wed, 27 Sep 2006 08:17:03 +1000, Mike at Green-Beast.com
[EMAIL PROTECTED] wrote:
John Faulds wrote:
It should be pointed out that this method has
problems
I wrote an article about styling a horizontal nav with the IR technique I
mentioned previously:
http://www.tyssendesign.com.au/articles/css/single-image-replacement-rollovers-with-suckerfish-dropdowns/
It also includes a bit on how to combine it with Suckerfish Dropdowns, but
the first part
Whether it validates or not, you should not hardcode events on the HTML.
Try this:
element.onclick = function() {
// thing to be done on the click
}
Set this on the onload event.
If you want to add various things on
There was a time when lots of websites utilised frames, to provide the
advantage of a static menu that is always available on the screen, no matter
what area of the page the user looks at.
I am sure we covered the topic enough to agree that frames are not the way
to go, as they carry
On 9/26/06, Andreas Boehmer [Addictive Media]
[EMAIL PROTECTED] wrote:
...
However, with css we now have the ability to imitate frames in an accessible
and search-engine friendly way for browsers that support it. So the question
comes back to usability (and maybe aesthetics): wouldn't it be more
-Original Message-
From: listdad@webstandardsgroup.org
[mailto:[EMAIL PROTECTED] On Behalf Of Samuel Richardson
Sent: Wednesday, 27 September 2006 9:40 AM
To: wsg@webstandardsgroup.org
Subject: RE: [WSG] The usability of a frame-style layout
There is nothing to stop you from
-Original Message-
From: listdad@webstandardsgroup.org
[mailto:[EMAIL PROTECTED] On Behalf Of Christian Montoya
Sent: Wednesday, 27 September 2006 9:43 AM
To: wsg@webstandardsgroup.org
Subject: Re: [WSG] The usability of a frame-style layout
On 9/26/06, Andreas Boehmer [Addictive
Hi Mike,
Sorry, I've had a closer look now and see how you've done it. My only
problem with that method would be that you've needed to apply overflow:
hidden to a block level element above the block level element that holds
the anchor and span. This is probably OK for something like a
Well if your concern is always having the menu on the screen for the user to
find then just use JavaScript to position it according to the view-port. If
the user has JavaScript turned off then it will always appear at the top and
not move. The user has a number of ways of navigating back to the
...
The benefit from frames didn't come from the fact that the menu was in the
same place on every page, the benefit was that there was less content to
load as the navigation page never had to be reloaded. In the age of ADSL and
Cable this is somewhat redundant.
...
Don't know about anyone
I agree with your sentiments, but frames are not needed anymore - all
recent browsers will allow you to add the nav content via the object
tag. E.g.
object id=nav data=nav.html type=text/htmlFallback navigation
here.../object
Combine with 'position:fixed' ('position:absolute' for IE) on the
I agree with your sentiments, but frames are not needed anymore - all
recent browsers will allow you to add the nav content via the object
tag. E.g.
object id=nav data=nav.html type=text/htmlFallback navigation
here.../object
Combine with 'position:fixed' ('position:absolute' for IE) on
32 matches
Mail list logo