Re: [WSG] CSS Footer

2004-11-28 Thread Vicki Berry
LOL. yes, in retrospect what I said wasn't *quite* right, was it?  Haha.

Vicki.  :-)


Mordechai Peller <[EMAIL PROTECTED]> wrote:
> Vicki Berry wrote:
> 
> >Seems you have to sacrifice a browser or two whichever way you choose to go
> >
> There's no need to "sacrifice" a browser, just the effect in a browser.
> (I suspect that's what you meant, but just in case...)
**
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] Resize Issue[revision]

2004-11-28 Thread Chris Kennon
Hi
working.ckimedia.com/index_lay_test.php
I solved the resizing issue, but have run into a centering boggle, 
would some knowledgeable soul assist?  Also a once over the in-line CSS 
for efficiency  would be a great help, before sending it out for import.

C
On Sunday, November 28, 2004, at 10:11 AM, Chris Kennon wrote:
Hi,
I've encountered a resizing issue with my current site redesign:
working.ckimedia.com/index.php
with one user font-size + change the secondary(right) column slides 
off the plate. Suggestions please.



___
"Knowing is not enough, you must apply;
willing is not enough, you must do."
---Bruce Lee
**
The discussion list for  http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
**

___
"Knowing is not enough, you must apply;
willing is not enough, you must do."
---Bruce Lee
**
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] IE 1 pixel problem

2004-11-28 Thread Big John
Bryan Garnett-Law wrote:

> I am experiencing a problem with a site I am developing which relies upon a
> centred background image (750 x 1, repeat-y).  When I place the banner
> graphic atop this background IE renders incorrectly with the image appearing
> to be 1 pixel left of where it should be.  
> 
> Am I coding it wrongly (XHTML / CSS below)?  Or is there a hack I need to
> use?

Bryan, this is being caused by the use of two different
centering mechanisms that you are then needing to have 
exactly cover each other. I had originally thought that
this was an IE bug, but when I created a clean test page 
i found that all browsers can have problems in this area.

http://users.redrivernet.com/cssjunkie/temp/bg-bug.html

Try dragging the window narrower and wider. See the tiny
flickering on the ends of the grey boxes? Now do the same in
other browsers. the flicker pattern is different, but flickering
still occurs. These flickers are 1px errors that are hard to 
prevent in some cases, due to considerations of screen rendering
and the need to sometimes round off caluclations.

The answer for you is to stop asking the browser to line up
things it can't always line up. Instead, you need to find a 
way to put your BG image in the same centered wrapper, or you
might possibly fudge off 1px somewhere so no one notices when the
error happens.

BTW, I have been meaning to make this into a full PIE demo, but
I can't seem to find the time! Alas.

Big John



=
-- 
Perennial student + Impractical joker + CSS junkie = Big John


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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] Adobe Forum comment on CSS in visual editors

2004-11-28 Thread Kevin Futter
On 26/11/04 6:10 PM, "Rick Faaberg" <[EMAIL PROTECTED]> wrote:

> On 11/25/04 9:46 PM "Sam - SS29" <[EMAIL PROTECTED]> sent this out:
> 
>> As far as I see Adobe is not to bothered with webstandards, Macromedia
>> see standard compliance as a string to DW bow.
>> 
>> The adobe site is based old skool web design, surface looks nice but
>> underneth its ugly.
> 
> Sorry, but your post is idiotic.
> 
> I use GoLive everyday and all the code it produces is "standard". What
> GoLive are you using that produces non-standard code?
> 
> Rick Faaberg
> 
> Ps. Please learn to spell, and to use apostrophes for plurals and
> contractions correctly. Thanks!

This is decidedly off-topic but I'll put it out there anyway. Rick, I hope
you're not suggesting here that plurals require apostrophes! For the record,
plurals only require apostrophes if they are also possessive. I'm sure
you're phrasing is just misleading here - we can discuss it off list if
necessary.

Cheers,
Kevin


-- 
Kevin Futter
Webmaster, St. Bernard's College
http://www.sbc.melb.catholic.edu.au/



**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
**



[WSG] PHP is OT

2004-11-28 Thread Peter Firminger
Hi folks,

No more PHP discussions please. It's no more a web standard than ColdFusion 
etc. There are other places for those discussions. If it does happen to come 
up, please answer off list.

Regards,

Listdad


**
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] PHP & CSS Your Here Effect

2004-11-28 Thread Chris Kennon
Hi,
This is another great solution. Could you assist with the following?
Hi,
I've encountered a resizing issue with my current site redesign:
working.ckimedia.com/index.php
with one user font-size + change the secondary(right) column slides off 
the plate. Suggestions please.


On Sunday, November 28, 2004, at 02:16 PM, Mark Harwood  wrote:
Simple way is to call a varible to echo out a class on the selected 
menu or as i
do it too add a id to the body tag of the page and stle menu links by 
there own
class, there many ways of doing it.

check out the "monc" style on the menu i released on Xhtmlandcss.co.uk
http://xhtmlandcss.co.uk/index.php?p=9
Mark Harwood
Phunky.co.uk / Xhtmlandcss.co.uk / Zinkmedia.co.uk
On Sun, 28 Nov 2004 10:52 , Chris Kennon <[EMAIL PROTECTED]> sent:
Hi,
Thanks, but when testing locally with my php/mySQL server, a blank 
page
appears in the browser. What did I goof?

$menu =
   Home
passed.">Archives
   About
Matt">Photos
   Music
MENU;
$lines = split("\n", $menu);
foreach ($lines as $line) {
   $current = false;
   preg_match('/href="([^"]+)"/', $line, $url);
   if (substr($_SERVER["REQUEST_URI"], 0, 5) == substr($url[1], 0, 5))
{
   $line = str_replace('
   }
   echo $line."\n";
}
?>
On Sunday, November 28, 2004, at 10:00 AM, Rob Mientjes wrote:
Afraid you don't have to: http://photomatt.net/scripts/intellimenu
On Sun, 28 Nov 2004 09:55:15 -0800, Chris Kennon [EMAIL PROTECTED]>
wrote:
Hi,
The goal is including the navigation  as a php include on each
page, my question is how to control the "your here" selection, for
each
page with possibly a php variable, coding an
dynamically based upon the page being viewed.
___
"Knowing is not enough, you must apply;
willing is not enough, you must do."
---Bruce Lee
**
The discussion list for  http://webstandardsgroup.org/
 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
**


--
Cheers,
Rob.
» http://www.zooibaai.nl/b/
**
The discussion list for  http://webstandardsgroup.org/
 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
**

___
"Knowing is not enough, you must apply;
willing is not enough, you must do."
---Bruce Lee
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
**

___
"Knowing is not enough, you must apply;
willing is not enough, you must do."
---Bruce Lee
**
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] PHP & CSS Your Here Effect

2004-11-28 Thread Mark Harwood
Simple way is to call a varible to echo out a class on the selected menu or as i
do it too add a id to the body tag of the page and stle menu links by there own
class, there many ways of doing it.

check out the "monc" style on the menu i released on Xhtmlandcss.co.uk

http://xhtmlandcss.co.uk/index.php?p=9

Mark Harwood

Phunky.co.uk / Xhtmlandcss.co.uk / Zinkmedia.co.uk

On Sun, 28 Nov 2004 10:52 , Chris Kennon <[EMAIL PROTECTED]> sent:

>Hi,
>
>Thanks, but when testing locally with my php/mySQL server, a blank page 
>appears in the browser. What did I goof?
>
>
>$menu = 
>
>Home
>
>passed.">Archives
>About
>
>Matt">Photos
>Music
>
>MENU;
>
>$lines = split("\n", $menu);
>foreach ($lines as $line) {
>$current = false;
>preg_match('/href="([^"]+)"/', $line, $url);
>if (substr($_SERVER["REQUEST_URI"], 0, 5) == substr($url[1], 0, 5)) 
>{
>$line = str_replace('
>}
>echo $line."\n";
>}
>?>
>
>
>On Sunday, November 28, 2004, at 10:00 AM, Rob Mientjes wrote:
>
>> Afraid you don't have to: http://photomatt.net/scripts/intellimenu
>>
>>
>> On Sun, 28 Nov 2004 09:55:15 -0800, Chris Kennon [EMAIL PROTECTED]> 
>> wrote:
>>> Hi,
>>>
>>> The goal is including the navigation  as a php include on each
>>> page, my question is how to control the "your here" selection, for 
>>> each
>>> page with possibly a php variable, coding an 
>>> dynamically based upon the page being viewed.
>>>
>>> ___
>>> "Knowing is not enough, you must apply;
>>> willing is not enough, you must do."
>>> ---Bruce Lee
>>>
>>> **
>>> The discussion list for  http://webstandardsgroup.org/
>>>
>>>  See http://webstandardsgroup.org/mail/guidelines.cfm
>>>  for some hints on posting to the list & getting help
>>> **
>>>
>>>
>>
>>
>> -- 
>> Cheers,
>> Rob.
>> » http://www.zooibaai.nl/b/
>> **
>> The discussion list for  http://webstandardsgroup.org/
>>
>>  See http://webstandardsgroup.org/mail/guidelines.cfm
>>  for some hints on posting to the list & getting help
>> **
>>
>>
>___
>"Knowing is not enough, you must apply;
>willing is not enough, you must do."
>   ---Bruce Lee
>
>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
**



Re: [WSG] PHP & CSS Your Here Effect

2004-11-28 Thread Chris Kennon
Hi,
Thanks, but when testing locally with my php/mySQL server, a blank page 
appears in the browser. What did I goof?


$menu = <<

Home
Archives
About
Photos
Music

MENU;

$lines = split("\n", $menu);
foreach ($lines as $line) {
$current = false;
preg_match('/href="([^"]+)"/', $line, $url);
if (substr($_SERVER["REQUEST_URI"], 0, 5) == substr($url[1], 0, 5)) 
{
$line = str_replace('
}
echo $line."\n";
}
?>


On Sunday, November 28, 2004, at 10:00 AM, Rob Mientjes wrote:
Afraid you don't have to: http://photomatt.net/scripts/intellimenu
On Sun, 28 Nov 2004 09:55:15 -0800, Chris Kennon <[EMAIL PROTECTED]> 
wrote:
Hi,
The goal is including the navigation  as a php include on each
page, my question is how to control the "your here" selection, for 
each
page with possibly a php variable, coding an 
dynamically based upon the page being viewed.

___
"Knowing is not enough, you must apply;
willing is not enough, you must do."
---Bruce Lee
**
The discussion list for  http://webstandardsgroup.org/
 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
**


--
Cheers,
Rob.
» http://www.zooibaai.nl/b/
**
The discussion list for  http://webstandardsgroup.org/
 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
**

___
"Knowing is not enough, you must apply;
willing is not enough, you must do."
---Bruce Lee
**
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] Includes in XHTML

2004-11-28 Thread Mordechai Peller
Jonathan T. Sage wrote:
#Convert all the 's to ::ABBA:: (a rather unlikly string)
 

As I recall, ABBA the name of a popular band in the 70's 
(http://www.abbasite.com/). Then again, there's also the American Bed 
and Breakfast Association (http://www.abba.com/).  Maybe you should use 
&_br; since that's guaranteed not to come up.

**
The discussion list for  http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
**


[WSG] Resize Issue

2004-11-28 Thread Chris Kennon
Hi,
I've encountered a resizing issue with my current site redesign:
working.ckimedia.com/index.php
with one user font-size + change the secondary(right) column slides off 
the plate. Suggestions please.



___
"Knowing is not enough, you must apply;
willing is not enough, you must do."
---Bruce Lee
**
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] Includes in XHTML

2004-11-28 Thread Patrick H. Lauke
Jonathan T. Sage wrote:
$plBody = preg_replace("//", "::ABBA::", $plBody);
 #Convert all the 's to ::ABBA:: (a rather unlikly string)
$plBody = preg_replace("/<.+?>/", "", $plBody);
  # Drop all other HTML tags
$plBody = preg_replace("/::ABBA::/", "", $plBody);
  #Convert all the ::ABBA::'s back to 's
At the risk of going a bit off topic, you may wish to look at PHP's 
built-in strip_tags function
http://uk2.php.net/manual/en/function.strip-tags.php

$plBody = strip_tags($plBody, '');
But you'll still need to convert plain  to  after that, but 
you can use the slightly quicker str_replace function then

$plBody = str_replace('','',$plBody);
At least this saves you one step without getting any bad disco memories 
involved...

--
Patrick H. Lauke
_
re·dux (adj.): brought back; returned. used postpositively
[latin : re-, re- + dux, leader; see duke.]
www.splintered.co.uk | www.photographia.co.uk
http://redux.deviantart.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] PHP & CSS Your Here Effect

2004-11-28 Thread Rob Mientjes
Afraid you don't have to: http://photomatt.net/scripts/intellimenu


On Sun, 28 Nov 2004 09:55:15 -0800, Chris Kennon <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> The goal is including the navigation  as a php include on each
> page, my question is how to control the "your here" selection, for each
> page with possibly a php variable, coding an 
> dynamically based upon the page being viewed.
> 
> ___
> "Knowing is not enough, you must apply;
> willing is not enough, you must do."
> ---Bruce Lee
> 
> **
> The discussion list for  http://webstandardsgroup.org/
> 
>  See http://webstandardsgroup.org/mail/guidelines.cfm
>  for some hints on posting to the list & getting help
> **
> 
> 


-- 
Cheers,
Rob.
» http://www.zooibaai.nl/b/
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
**



[WSG] PHP & CSS Your Here Effect

2004-11-28 Thread Chris Kennon
Hi,
The goal is including the navigation  as a php include on each 
page, my question is how to control the "your here" selection, for each 
page with possibly a php variable, coding an  
dynamically based upon the page being viewed.


___
"Knowing is not enough, you must apply;
willing is not enough, you must do."
---Bruce Lee
**
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] Includes in XHTML

2004-11-28 Thread Jonathan T. Sage
hello all - thanks for all great suggestions

in the end, I went with a derivative of James' third idea below, and
did a little php/perl magic:

$plBody is the imported file:

$plBody = preg_replace("//", "::ABBA::", $plBody);
 #Convert all the 's to ::ABBA:: (a rather unlikly string)

$plBody = preg_replace("/<.+?>/", "", $plBody);
  # Drop all other HTML tags

$plBody = preg_replace("/::ABBA::/", "", $plBody);
  #Convert all the ::ABBA::'s back to 's

For this application, the users autorized to post here are really
unlikly to be talking about 1970's popular disco.

Thanks again - and I realize that this is nearing OT-ness, but I
figured my solution might be helpful to others.

~j


On Sun, 28 Nov 2004 22:28:02 +1100, James Ellis <[EMAIL PROTECTED]> wrote:
> 
> I suggest one or more of the following three options:
> 
> 1 running the markup through Tidy - http://au.php.net/tidy
> (You'll have to compile PHP with Tidy - more at link above).
> 2 using an HTML4.0 transitional doctype for the pages that display 3rd
> party markup.
> 3 use strip_tags to remove unwanted markup from the 3rd party stuff -
> http://au.php.net/manual/en/function.strip-tags.php
> 
> 
> > Jonathan T. Sage wrote:
> >
> > >I was wondering if there is an easy way to tell the
> > >browser to render just a section of the page in a HTML4 mode, to avoid
> > >it bombing out.

-- 
Jonathan T. Sage
Theatrical Lighting / Set Designer
Professional Web Design

[HTTP://www.JTSage.com]
[HTTP://design.JTSage.com]
[EMAIL PROTECTED]
**
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] To PNG Or Not To PNG

2004-11-28 Thread Chris Kennon
Hi,
Much how photoshop alpha transparency works. Thanks.
C
On Sunday, November 28, 2004, at 04:16 AM, Patrick H. Lauke wrote:
Chris Kennon wrote:
This is exactly what I had in mind, thanks. to clarify my 
understanding an 8-bit png  doesn't have an alpha channel, so 
transparency is derived the same as gif, from a solid color. However, 
the 24-bit png has an alpha channel specifying transparency?
Both PNG 8 and PNG 24 have alpha transparency channels available. 
However, in PNG 8 it's an additional 1 bit channel (so pixels are 
either fully opaque, or fully transparent), while in PNG 24 it's a 
full 8 bit channel (allowing up to 256 levels of transparency - 
effectively, you now have a 32 bit image: a byte for R,G,B and A).

At least that's how I undestand it...
--
Patrick H. Lauke
_
re·dux (adj.): brought back; returned. used postpositively
[latin : re-, re- + dux, leader; see duke.]
www.splintered.co.uk | www.photographia.co.uk
http://redux.deviantart.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
**

___
"Knowing is not enough, you must apply;
willing is not enough, you must do."
---Bruce Lee
**
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] Defining A Definition List

2004-11-28 Thread Chris Kennon
Hi,
That was my thought, well not as articulate as your illustration, but 
along the same line.

Thanks,
C
On Sunday, November 28, 2004, at 01:10 AM, Peter Firminger wrote:
Hi,
Your second example is not valid;  element cannot be
contained in 
Quite correct but it can be within the .
in such way. the first one is ok, but why don't you consider
such scenario:
News

 News Name & Date
 News content here...

or something similar to that. Imho, lists are not really to
be used in such
situations.
Sorry Czeslaw, I disagree entirely with this. Definition lists are 
entirely
appropriate for any name/value set and are quite different to other 
(ordered
and unordered) lists. A div is far less semantically appropriate IMHO.

A better approach may be:
News

	Article 1 name
	date
	
		article 1 content
		article 1 content
	


Then you will have granular control over the style of the decendants 
of the
#news DL element so you could style (for example) the p element to 
have no
top-margin and sit up under the date.

P
**
The discussion list for  http://webstandardsgroup.org/
 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
**

___
"Knowing is not enough, you must apply;
willing is not enough, you must do."
---Bruce Lee
**
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] [OT] Javascript Pop up

2004-11-28 Thread Patrick H. Lauke
Steve Winter wrote:
I'm working on an intranet site, in which I want to have a 'toolbar' open in
a new window when a user logs in...for some reason no matter what height I
set the window to, it's still 100px high...?...I've found mention of this on
the net, but nobody seems to explain why,
Here's why: it's a way to avoid some malicious site opening a 0px x 0px 
window  and placing it inconspicuosly in the background.

or more importantly, if there's a
way around it...!!...??
I vaguely remember something you can do in Mozilla / Firefox when 
working with trusted XUL documents, but that's probably not what you're 
after...I can dig out the information though, if you're interested.

And in another JS pop up question, why does my pop up get the path to the
document (eg http://myserver.com/mypage.php) as well as it's title...
Huh?
--
Patrick H. Lauke
_
re·dux (adj.): brought back; returned. used postpositively
[latin : re-, re- + dux, leader; see duke.]
www.splintered.co.uk | www.photographia.co.uk
http://redux.deviantart.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] To PNG Or Not To PNG

2004-11-28 Thread Patrick H. Lauke
Chris Kennon wrote:
This is exactly what I had in mind, thanks. to clarify my understanding 
an 8-bit png  doesn't have an alpha channel, so transparency is derived 
the same as gif, from a solid color. However, the 24-bit png has an 
alpha channel specifying transparency?
Both PNG 8 and PNG 24 have alpha transparency channels available. 
However, in PNG 8 it's an additional 1 bit channel (so pixels are either 
fully opaque, or fully transparent), while in PNG 24 it's a full 8 bit 
channel (allowing up to 256 levels of transparency - effectively, you 
now have a 32 bit image: a byte for R,G,B and A).

At least that's how I undestand it...
--
Patrick H. Lauke
_
re·dux (adj.): brought back; returned. used postpositively
[latin : re-, re- + dux, leader; see duke.]
www.splintered.co.uk | www.photographia.co.uk
http://redux.deviantart.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
**


[WSG] [OT] Javascript Pop up

2004-11-28 Thread Steve Winter
Hi,

This is off topic, but I don't know where else to ask...please replay off
list...

I'm working on an intranet site, in which I want to have a 'toolbar' open in
a new window when a user logs in...for some reason no matter what height I
set the window to, it's still 100px high...?...I've found mention of this on
the net, but nobody seems to explain why, or more importantly, if there's a
way around it...!!...?? Ideally I want this to be approx 25 pixels high,
containing a dropdown list and a row of small buttons...

And in another JS pop up question, why does my pop up get the path to the
document (eg http://myserver.com/mypage.php) as well as it's title...

TIA
Frustrated Fred (a.k.a Steve)



**
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] Validation and Accessibility Reports out side of the W3C

2004-11-28 Thread Mark Harwood
We actualy got around it using Dreamweavers RegEx support in its Find and 
Replace 

On Sun, 28 Nov 2004 04:59 , Mordechai Peller <[EMAIL PROTECTED]> sent:

>Mark Harwood  wrote:
>
>>Now we have just run a SiteMore.com check on part of the development site and 
>>it
>>has come back kicking and screaming at us as we are using WIDTH and HEIGHT on
>>'s and ALIGN on 's
>>  
>>
>It shouldn't be that difficult to write a small program to go through 
>the files and whenever it finds a table with width or height, or an 
>aligned image, to remove the attributes and either add a style attribute 
>or add an id and insert the style rules in a style block.
>
>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
**



Re: [WSG] Includes in XHTML

2004-11-28 Thread James Ellis
Hi Jonathon

I suggest one or more of the following three options:

1 running the markup through Tidy - http://au.php.net/tidy
(You'll have to compile PHP with Tidy - more at link above).
2 using an HTML4.0 transitional doctype for the pages that display 3rd
party markup.
3 use strip_tags to remove unwanted markup from the 3rd party stuff -
http://au.php.net/manual/en/function.strip-tags.php

HTH
James


On Sun, 28 Nov 2004 08:54:03 +0200, Mordechai Peller <[EMAIL PROTECTED]> wrote:
> Jonathan T. Sage wrote:
> 
> >I was wondering if there is an easy way to tell the
> >browser to render just a section of the page in a HTML4 mode, to avoid
> >it bombing out.
> >
> You could use an object tag, but it would suffer from most of the
> negatives of an iframe.
> 
> If you choose to have PHP parse the HTML, as Rob suggested, I believe
> there are some tools available. You may find something at
> http://pear.php.net or http://sourceforge.net/. I think HTML Tidy is a
> possibility (http://tidy.sourceforge.net/).
> 
> 
> **
> 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
**



Re: [WSG] Text selection in CSS layouts

2004-11-28 Thread Kay Smoljak
On Sat, 27 Nov 2004 16:10:20 -, Aaron Pollock
<[EMAIL PROTECTED]> wrote:
> Can anyone help as to why (in IE at least) it's not possible to select/copy
> text without selecting other content automatically in this page?

There's a JavaScript fix -
http://blog.tom.me.uk/2003/07/23/boie6selecta.php - but the problem
with it is that if you have IE set to not cache (ie check pages
against the server every time) each page flickers when first loaded.
Luckily it's usually only web developers who have that option set, and
they should know better than to use IE :)

I've never seen that z-index fix before, Johannes - I'll have to try
it out. Thanks!

-- 
Kay Smoljak
http://kay.smoljak.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] Image Positioning Problems :(

2004-11-28 Thread Bryan Davis
Hi Josh
Couple of things I noticed with your code.
First up, you need to change all the repeated divs to classes from ids - 
divs with an id should only appear once in a page. So in the CSS, 
"#client" should be ".client" etc.
Having done that, I would suggest that you set:

.client {position: relative; }
and then absolutely position the "imgClient" div within it (always 
useful to remember that absolutely positioned elements are positioned 
relative to their containing parent element).
The "infoClient" div can then have a left-margin that allows it to 
clear the "imgClient" div and keep the content in the document flow. 
Everything should then slot together nice and neatly.

Another point:
I see no reason for

Hotel Name

Why not
Hotel Name
That way you will save a fair bit of page weight not only in the XHTML but also 
styling 1 element rather than 2 in the CSS.
Hope that helps,
Bryan
BryanDavis.info 
Joshua Leung wrote:
Hi there CSS-Crew..
I have never posted anything on here yet, so please bear with me ..
I'm trying to layout this page in CSS, but I have forced myself not to use
tables, and as you can see the pictures are not aligning with their
corresponding text boxes...
could anyone suggest anything that may be of help?
Also, there seems to be a small 4px gap between the navigation bar and the
background of the content div... how can I get rid of this?
you can have a look at the page here:
http://www.triplejosh.com/work/test/clients.html
sorry also that my Code is all over the place, I've only just started to
learn CSS ...
Thanks for this,
Josh.

**
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
**


Re: [WSG] CSS Footer

2004-11-28 Thread Mordechai Peller
Vicki Berry wrote:
Seems you have to sacrifice a browser or two whichever way you choose to go
There's no need to "sacrifice" a browser, just the effect in a browser. 
(I suspect that's what you meant, but just in case...)
**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
**


[WSG] Footer Image Woos

2004-11-28 Thread Narain




Hi,
 
Have a look at the URL
 
http://akshara.360in.com/stpi/
 
the footer image has been given the
exact height of the image. It worked fine with Firefox. but when it
comes to IE, it requires 2px margin on the left to position it proberly
along with the over all design. 
 
By adding 2px margin, the position of
the footer image has changed in Firefox and cleanly available in IE.
 
what is the issue is about. where am i
going wrong
 
Advice me.
 
Narain
http://www.360in.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] CSS Footer

2004-11-28 Thread Vicki Berry
Hi Lawrence,

I've found there's no ideal solution to this.  Seems you have to
sacrifice a browser or two whichever way you choose to go - up to you
to choose the lesser of the evils!  A few examples of the various
solutions and how to implement them are on the CSS-Discuss email list
wiki:

http://css-discuss.incutio.com/?page=FooterInfo

Good luck,

Vicki.  :-)


Lawrence wrote:
> Note the footer. I want it to be the same height and width and always on the
> bottom (no matter how much content there is).
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
**



[WSG] Windows ME and AOL problem

2004-11-28 Thread Dietmar Albers
Title: Nachricht




Hi @llz,
Sorry, I just se that I forgot to turn off 
digital signing in my first post ;-(. So once again:
 
The site: http://www.amnesty-4-families.info/
CSS: http://www.amnesty-4-families.info/styles/layout.css 
and http://www.amnesty-4-families.info/styles/presentation.css
HTML and CSS validation OK.
Now I've got a message from an American user:
"... She has Windows ME and AOL ... When the site first came up it was on 
AOL's smaller window. It looked okay. When I enlarged it to fit the screen the 
left side drop-down menu and the links all moved to the center area and sat on 
top of the text. When I clicked HOME it fixed it, but when I clicked SOUTH 
AFRICA it did it again."
What's this? Has anyone any idea?
Thanks for any help
Dietmar.
 

 
*
- Albruco IT Consulting -
- Clemens - Sebbel - Str. 14 -
- D-45721 Haltern am See -
- Tel: +49 (0)2364 508120 -
- Fax: +49 (0)2364 969445 -
*
This e-mail message (along with any attachments) is intended only for the 
named addressee and could contain information that is confidential or 
privileged. If you are not the intended recipient you are notified that any 
dissemination, copying or use of any of the information is prohibited. Please 
notify us immediately by return e-mail if you are not the intended recipient and 
delete all copies of the original message and attachments. 
This footnote also confirms that this message has been checked for computer 
viruses.
*
 


Re: [WSG] another problem with new site

2004-11-28 Thread john
No, they are (I checked).  I'm still at a loss.  Now a few of the NS 7.1 
people are asking if I changed anything because they can now see it (I 
didn't).

~john
_
Dr. Zeus Web Development
http://www.DrZeus.net
"content without clutter"

on 11/28/2004 12:06 AM Kay Smoljak said the following:
On Sat, 27 Nov 2004 22:19:24 +, john <[EMAIL PROTECTED]> wrote:
I've been getting several emails from visitors saying they're using AOL
or Netscape 7.1 and they're not seeing the CSS.
Check the list archives - this came up just last week, It sounds like
your server is serving the css files as text/plain instead of
text/css.
**
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] Defining A Definition List

2004-11-28 Thread Peter Firminger
Hi,

> Your second example is not valid;  element cannot be
> contained in 

Quite correct but it can be within the .

> in such way. the first one is ok, but why don't you consider
> such scenario:
>
> News
> 
>  News Name & Date
>  News content here...
> 
>
> or something similar to that. Imho, lists are not really to
> be used in such
> situations.

Sorry Czeslaw, I disagree entirely with this. Definition lists are entirely
appropriate for any name/value set and are quite different to other (ordered
and unordered) lists. A div is far less semantically appropriate IMHO.

A better approach may be:

News

Article 1 name
date

article 1 content
article 1 content



Then you will have granular control over the style of the decendants of the
#news DL element so you could style (for example) the p element to have no
top-margin and sit up under the date.

P


**
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] Defining A Definition List

2004-11-28 Thread Czeslaw Liebert
Your second example is not valid;  element cannot be contained in  
in such way. the first one is ok, but why don't you consider such scenario:

News

News Name & Date
News content here...

or something similar to that. Imho, lists are not really to be used in such 
situations.

At 08:23 2004-11-28, you wrote:
Hi,
Would a  be appropriate for the following scenario?

News

Article name and date
article content

or
News

Article name 
date
article content

___
"Knowing is not enough, you must apply;
willing is not enough, you must do."
---Bruce Lee
**
The discussion list for  http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
**

---
Czes³aw Liebert
http://www.78and85.com/
tel. (+48) (0) 504 425 892
mail: [EMAIL PROTECTED] 

**
The discussion list for  http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
**