Computer Webmaster Gaming Console Graphics Forum

Welcome to the Computer Webmaster Gaming Console Graphics Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

MK PitStop Main Earn $25 Earn Money Posting Extras Members Blogs Image Hosting User Pages
Go Back   Computer Webmaster Gaming Console Graphics Forum > Webmaster Forum > Website Reviews And Website Questions
Register FAQ/Rules Become A V.I.P. Member Search Today's Posts Mark Forums Read

Website Reviews And Website Questions Website reviews section for getting feedback on what your site is good for and not, as in style etc etc. Ask any other questions you might need help on.

Google
Reply
 
LinkBack Thread Tools Display Modes
Old 05-28-2007, 12:42 AM   #1
Mark Goodge
 
Mark Goodge's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default CSS centred alignment

I'm trying to create a list that's centred on a single character in the
middle of the line - something like a fixture list, like this:

Arsenal v Chelsea
Liverpool v Manchester Utd
West Ham v Reading
Stoke City v Internazionale
AFC Wimbledon v Hull
Ajax v PSV Eindhoven

(You'll need a monospaced font to see that correctly in this posting,
but if you don't have that luxury then imagine it's aligned so that all
the "v"s are in a single vertical line).

This effect is easy to achieve with tables, like this...

<tr>
<td align=right>team 1</td>
<td align=center>v</td>
<td align=left>team 2</td>
</tr>

But it's a lot harder with pure CSS, unless I use fixed-width divs for
each cell - but I want to avoid that as I want the overall width to be
flexible and balanced. Any suggestions? Or is this one of the situations
where using a table is simply the best option?

Mark
--
http://mark.goodge.co.uk
 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Advertisements
Old 05-28-2007, 12:42 AM   #2
:Jerry:
 
:Jerry:'s Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default CSS centred alignment


"Mark Goodge" <usenet@listmail.good-stuff.co.uk> wrote in message
news:46569b68$1@server1.good-stuff.co.uk...
<snip>
>
> But it's a lot harder with pure CSS, unless I use fixed-width divs
> for each cell - but I want to avoid that as I want the overall width
> to be flexible and balanced. Any suggestions? Or is this one of the
> situations where using a table is simply the best option?
>


But isn't the example you give tabular data?......


 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Old 05-28-2007, 12:42 AM   #3
Geoff Berrow
 
Geoff Berrow's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default CSS centred alignment

Message-ID: <46569b68$1@server1.good-stuff.co.uk> from Mark Goodge
contained the following:

>This effect is easy to achieve with tables, like this...
>
><tr>
> <td align=right>team 1</td>
> <td align=center>v</td>
> <td align=left>team 2</td>
></tr>
>
>But it's a lot harder with pure CSS, unless I use fixed-width divs for
>each cell - but I want to avoid that as I want the overall width to be
>flexible and balanced. Any suggestions? Or is this one of the situations
>where using a table is simply the best option?


We shouldn't forget that tables are not inherently BAD. This table will
linearise just fine.

Furthermore, these rows MUST be kept together to be sensible, hence it
is (IMO) tabular data.



--
Geoff Berrow 0110001001101100010000000110
001101101011011001000110111101100111001011
100110001101101111001011100111010101101011
 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Old 05-28-2007, 12:42 AM   #4
Mark Goodge
 
Mark Goodge's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default CSS centred alignment

:Jerry: wrote:
> "Mark Goodge" <usenet@listmail.good-stuff.co.uk> wrote in message
> news:46569b68$1@server1.good-stuff.co.uk...
> <snip>
>> But it's a lot harder with pure CSS, unless I use fixed-width divs
>> for each cell - but I want to avoid that as I want the overall width
>> to be flexible and balanced. Any suggestions? Or is this one of the
>> situations where using a table is simply the best option?
>>

>
> But isn't the example you give tabular data?......


Probably. I don't have a pathological aversion to tables, I was just
wondering if I'd missed any obvious way of achieving the same effect in CSS.

Mark
--
http://mark.goodge.co.uk
 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Old 05-28-2007, 12:42 AM   #5
paul watt
 
paul watt's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default CSS centred alignment


"Mark Goodge" <usenet@listmail.good-stuff.co.uk> wrote in message
news:46569b68$1@server1.good-stuff.co.uk...
> I'm trying to create a list that's centred on a single character in the
> middle of the line - something like a fixture list, like this:
>
> Arsenal v Chelsea
> Liverpool v Manchester Utd
> West Ham v Reading
> Stoke City v Internazionale
> AFC Wimbledon v Hull
> Ajax v PSV Eindhoven
>
> (You'll need a monospaced font to see that correctly in this posting, but
> if you don't have that luxury then imagine it's aligned so that all the
> "v"s are in a single vertical line).
>
> This effect is easy to achieve with tables, like this...
>
> <tr>
> <td align=right>team 1</td>
> <td align=center>v</td>
> <td align=left>team 2</td>
> </tr>
>
> But it's a lot harder with pure CSS, unless I use fixed-width divs for
> each cell - but I want to avoid that as I want the overall width to be
> flexible and balanced. Any suggestions? Or is this one of the situations
> where using a table is simply the best option?
>
> Mark


Yep, Just use a table. Its tabular data afterall.
P.S. Its good to see that the mighty Reading fc have made it to this
newsgroup. Come on you Royals!

--
Paul Watt

http://www.paulwattdesigns.com


 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Old 05-28-2007, 12:42 AM   #6
Simon Brooke
 
Simon Brooke's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default CSS centred alignment

in message <4656a621$1@server1.good-stuff.co.uk>, Mark Goodge
('usenet@listmail.good-stuff.co.uk') wrote:

> :Jerry: wrote:
>> "Mark Goodge" <usenet@listmail.good-stuff.co.uk> wrote in message
>> news:46569b68$1@server1.good-stuff.co.uk...
>> <snip>
>>> But it's a lot harder with pure CSS, unless I use fixed-width divs
>>> for each cell - but I want to avoid that as I want the overall width
>>> to be flexible and balanced. Any suggestions? Or is this one of the
>>> situations where using a table is simply the best option?
>>>

>>
>> But isn't the example you give tabular data?......

>
> Probably. I don't have a pathological aversion to tables, I was just
> wondering if I'd missed any obvious way of achieving the same effect in
> CSS.


Personally, I think that one would be very tricky with CSS; not impossible
but not at all easy. Like others, I'd use a table.

--
simon@jasmine.org.uk (Simon Brooke) http://www.jasmine.org.uk/~simon/
Windows 95:
You, you, you! You make a grown man cry...
M. Jagger/K. Richards
 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Old 05-28-2007, 12:42 AM   #7
Matt Probert
 
Matt Probert's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default CSS centred alignment

On Fri, 25 May 2007 09:19:38 +0100, Mark Goodge
<usenet@listmail.good-stuff.co.uk> wrote:

>I'm trying to create a list that's centred on a single character in the
>middle of the line - something like a fixture list, like this:
>
> Arsenal v Chelsea
> Liverpool v Manchester Utd
> West Ham v Reading
> Stoke City v Internazionale
> AFC Wimbledon v Hull
> Ajax v PSV Eindhoven
>
>(You'll need a monospaced font to see that correctly in this posting,
>but if you don't have that luxury then imagine it's aligned so that all
>the "v"s are in a single vertical line).
>
>This effect is easy to achieve with tables, like this...
>
><tr>
> <td align=right>team 1</td>
> <td align=center>v</td>
> <td align=left>team 2</td>
></tr>


So use tables!

It doesn't require a complex mass of nested tables, and will still be
usable in character cell broswers and screen readers.

Matt


--
Want to consistently win at poker? Learn how here!

http://www.probertencyclopaedia.com/...N_AT_POKER.HTM
 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Old 05-28-2007, 12:42 AM   #8
Krustov
 
Krustov's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default CSS centred alignment

<uk.net.web.authoring>
<John Hosking>
<Fri, 25 May 2007 17:37:25 +0200>
<465702b7_2@news.bluewin.ch>

> > This effect is easy to achieve with tables, like this...
> >
> > <tr>
> > <td align=right>team 1</td>
> > <td align=center>v</td>
> > <td align=left>team 2</td>
> > </tr>

>
> Tables, as discussed. But you don't need three cells per row, only two.
>


Wrong - fartfox needs things put in the <td> if its to work correctly .
 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Old 05-28-2007, 12:42 AM   #9
GreyWyvern
 
GreyWyvern's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default CSS centred alignment

And lo, John Hosking didst speak in alt.www.webmaster,uk.net.web.authoring:

> Mark Goodge wrote:
>> I'm trying to create a list that's centred on a single character in the
>> middle of the line - something like a fixture list, like this:
>> Arsenal v Chelsea
>> Liverpool v Manchester Utd

>
>> This effect is easy to achieve with tables, like this...
>> <tr>
>> <td align=right>team 1</td>
>> <td align=center>v</td>
>> <td align=left>team 2</td>
>> </tr>

>
> Tables, as discussed. But you don't need three cells per row, only two..


How so? By placing the "v" with one of the two team names? That would
distort the tabular data, and defeat the purpose of using the table in the
first place. "Arsenal v" and "Chelsea"? "Liverpool" and "v Manchester
Utd"?

If, rather, you mean to have the middle <td> element only in the first row
and have it "rowspan" through all the rows, that would make a little more
sense, but it would still not convert to a sensible textual representation.

Grey

--
The technical axiom that nothing is impossible sinisterly implies the
pitfall corollary that nothing is ridiculous.
- http://www.greywyvern.com/orca#search - Orca Search: Full-featured
spider and site-search engine
 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Old 05-28-2007, 12:42 AM   #10
John Hosking
 
John Hosking's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default CSS centred alignment

Krustov wrote:
> <uk.net.web.authoring>
> <John Hosking>
> <Fri, 25 May 2007 17:37:25 +0200>
> <465702b7_2@news.bluewin.ch>
>
>>> This effect is easy to achieve with tables, like this...
>>>
>>> <tr>
>>> <td align=right>team 1</td>
>>> <td align=center>v</td>
>>> <td align=left>team 2</td>
>>> </tr>

>> Tables, as discussed. But you don't need three cells per row, only two.
>>

>
> Wrong - fartfox needs things put in the <td> if its to work correctly .


What?

<tr>
<td align=right>team 1 v</td>
<td align=left>team 2</td>
</tr>

--
John
 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Featured Websites
Free Space
Free Space
Free Space Free Space
Reply
Tags: , ,




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Featured Websites




All times are GMT +1. The time now is 12:06 AM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0
Cheap Computers
MK PitStop Copyright 2005 - 2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98