Re: [WSG] Breaks within table cells

2011-11-23 Thread Chad Kelly

On 11/24/2011 1:29 AM, Grant Bailey wrote:

A brilliant suggestion that worked perfectly. Thank you very much Chad!

Kind regards,

Grant Bailey


Not a problem Grant.
Regards Chad.



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



Re: [WSG] Using ellipsis to indicate truncated overflow content

2011-11-23 Thread Oliver Boermans
You could possibly use JavaScript to implement it in browsers that don’t 
support it.
I’ve seen a few jQuery plugins written for the purpose. For example:
http://dotdotdot.frebsite.nl/

I’ve not used it myself.
HTH
Ollie

On 23/11/2011, at 4:13 PM, Ben Buchanan  wrote:

>>> text-overflow: ellipsis?
>>> http://www.quirksmode.org/css/textoverflow.html
>> Thank you, yes, the text-overflow property is great but does not work in
>> Firefox 3.6. Do you know of a work-around for Firefox.
> 
> Unless you have a really massive FF 3.6 userbase that you know is
> blocked from upgrades, I'd say use it anyway.
> 
> People regularly use things that don't work in IE - it doesn't stop
> being Progressive Enhancement just because Firefox was the weakest
> link in this case :)
> 
> cheers,
> Ben
> 
> -- 
> --- 
> --- The future has arrived; it's just not
> --- evenly distributed. - William Gibson
> 
> 
> ***
> 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
***



[WSG] Not near the computer... Re: WSG Digest

2011-11-23 Thread Pat Ramsey
I'm away for family business. If I get a chance, I'll reply to your
email. Most likely, though, it's gonna have to wait till I'm back.

Pat

-- 
Pat Ramsey
Code that works,... Beautifully
slash25.com

@pat_ramsey
512.736.6227


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



Re: [WSG] Breaks within table cells

2011-11-23 Thread Grant Bailey

A brilliant suggestion that worked perfectly. Thank you very much Chad!

Kind regards,

Grant Bailey

On 24/11/2011 12:13 AM, Russ Weakley wrote:

Why not use a list within the table as it is a list of items.


There you go! Option 3  :)



***
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] Breaks within table cells

2011-11-23 Thread Russ Weakley
> Why not use a list within the table as it is a list of items.
> 
There you go! Option 3  :)



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



Re: [WSG] Breaks within table cells

2011-11-23 Thread Chad Kelly

On 11/23/2011 10:53 PM, Russ Weakley wrote:

Option 1:

Try making the two chunks of content into two individual paragraphs within the 
one cell. It is not the most ideal semantics, though it could be argued that 
they are two short paragraphs  :)

Depending on how the margins have been defined for your paragraphs, this should 
give you 1em of margin below each paragraph. If not, you could always set a 
rule like:

td p { margin: 0 0 1em; }
or
td p { margin: 1em 0; }

or if you want it to be more specific:

.Table_Text p { margin: 0 0 1em; }
or
.Table_Text p { margin: 1em 0; }




Why not use a list within the table as it is a list of items.



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



Re: [WSG] Breaks within table cells

2011-11-23 Thread Russ Weakley
Option 1:

Try making the two chunks of content into two individual paragraphs within the 
one cell. It is not the most ideal semantics, though it could be argued that 
they are two short paragraphs  :)

Depending on how the margins have been defined for your paragraphs, this should 
give you 1em of margin below each paragraph. If not, you could always set a 
rule like:

td p { margin: 0 0 1em; }
or 
td p { margin: 1em 0; }

or if you want it to be more specific:

.Table_Text p { margin: 0 0 1em; }
or 
.Table_Text p { margin: 1em 0; }


Option 2:

Use rowspan:


Client / solicitor
Bad advice
Economic loss


Client / accountant


This is possibly more semantically correct than using paragraphs (without 
knowing what you are doing with the table) as these look like two separate 
options that are both able to be associated with data in other cells. The 
downside of this method is that you may have to add an additional class on one 
of the cells so that you can turn off borders between the two "client" cells.

HTH
Russ


On 23/11/2011, at 10:25 PM, Grant Bailey wrote:

> Hello,
> 
> I would be grateful if someone could help with this, as I'm not a tables 
> expert.
> 
> I want to separate two separate entries in the one cell, to indicate 
> alterntatives. Like this (see picture):
> 
> 
> 
> The coding for this part of the table looks like this:
> 
> Client / solicitorClient / accountant
> Bad advice
> Economic loss
> 
> Unfortunately, I have not been able to style the left-most cell so that it 
> looks like the picture attached. I tried to style the  using the 
> line-height property but this only worked in Google Chrome.



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



Re: [WSG] Breaks within table cells

2011-11-23 Thread Phil Archer
So you're just trying to create a blank line between Client / solicitor 
and Client / accountant ?


Two ways to do that I'd say:

use two  elements (i.e. Client / solicitorClient / 
accountant


or two paragraphs:

Client / solicitor
Client / accountant

The latter creates two block level elements that you can style with 
extra padding or whatever.


HTH

Phil.

On 23/11/2011 11:25, Grant Bailey wrote:

Hello,

I would be grateful if someone could help with this, as I'm not a tables expert.

I want to separate two separate entries in the one cell, to indicate
alterntatives. Like this (see picture):



The coding for this part of the table looks like this:

Client / solicitorClient / accountant
Bad advice
Economic loss

Unfortunately, I have not been able to style the left-most cell so that it looks
like the picture attached. I tried to style the  using the line-height
property but this only worked in Google Chrome.

If anyone could offer hints I would be grateful.

Thank you and kind regards,

Grant Bailey
(attachment)




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


--


Phil Archer
W3C eGovernment
http://www.w3.org/egov/

http://philarcher.org
@philarcher1


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



Re: [WSG] Breaks within table cells

2011-11-23 Thread Telford Computer Doctor

  
  
Someone will be able to
  clarify, but I would go down the route of padding-left...
  
  td.Table_Text {padding-left: 15px; text-align: left;}
  


Mike Flanagan
CCO Telford Computer Doctor
http://www.telfordpc.co.uk
  
  i...@telfordpc.co.uk
0800 058 8914


Telford Computer Doctor accepts no liability for the content of
this email, or for the consequences of any actions taken on the
basis of the information provided, unless that information is
subsequently confirmed in writing. Any views or opinions
presented in this email are solely those of the author and do
not necessarily represent those of Telford Computer Doctor. 
WARNING: Computer viruses can be transmitted via email. The
recipient should check this email and any attachments for the
presence of viruses. Telford Computer Doctor accepts no
liability for any damage caused by any virus transmitted by this
email. 

On 23/11/2011 11:25, Grant Bailey wrote:

  
  Hello,
  
  I would be grateful if someone could help with this, as I'm not a
  tables expert.
  
  I want to separate two separate entries in the one cell, to
  indicate alterntatives. Like this (see picture):
  
  
  
  The coding for this part of the table looks like this:
  
  Client / solicitorClient /
  accountant
  Bad advice
  Economic loss
  
  Unfortunately, I have not been able to style the left-most cell so
  that it looks like the picture attached. I tried to style the
   using the line-height property but this only worked in
  Google Chrome.
  
  If anyone could offer hints I would be grateful.
  
  Thank you and kind regards,
  
  Grant Bailey
  (attachment)
  
  
  
  
***
  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.cfmUnsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfmHelp: memberh...@webstandardsgroup.org***

[WSG] Breaks within table cells

2011-11-23 Thread Grant Bailey

  
  
Hello,

I would be grateful if someone could help with this, as I'm not a
tables expert.

I want to separate two separate entries in the one cell, to indicate
alterntatives. Like this (see picture):



The coding for this part of the table looks like this:

Client / solicitorClient /
accountant
Bad advice
Economic loss

Unfortunately, I have not been able to style the left-most cell so
that it looks like the picture attached. I tried to style the
 using the line-height property but this only worked in
Google Chrome.

If anyone could offer hints I would be grateful.

Thank you and kind regards,

Grant Bailey
(attachment)



  


***List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfmUnsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfmHelp: memberh...@webstandardsgroup.org***