Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / CSS / April 2006



Tip: Looking for answers? Try searching our database.

Oh no, yet another "tables to CSS" question!! Please advise

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Alan Silver - 26 Apr 2006 18:05 GMT
Hello,

A client requested a layout that has links in sections, displayed
something like http://www.kidsinaction.org.uk/table.html, which is a
mock-up, laid out with a table. Specifically, he wants the layout to
adapt to the browser window, which the table version does. If you change
the width of the window, the two sections move horizontally, so that
they always sit equally spaced out.

I would like to do a similar thing in CSS, but am not sure of the best
way. I imagine some wizard will show me this in about three lines of
code!!

Any help appreciated. TIA

Signature

Alan Silver
(anything added below this line is nothing to do with me)

Ken Loomis - 26 Apr 2006 18:41 GMT
>Hello,
>
[quoted text clipped - 8 lines]
>way. I imagine some wizard will show me this in about three lines of
>code!!

float
Alan Silver - 26 Apr 2006 18:50 GMT
<snip>
>>I would like to do a similar thing in CSS, but am not sure of the best
>>way. I imagine some wizard will show me this in about three lines of
>>code!!
>
>float

When I mentioned a three line solution, I was hoping for a *slightly*
more verbose answer than this one!!

I assumed it was to do with floats, but I'm not sure how you specify the
margins (presuming that's what is required) to get the effect I showed.

Any clues? Ta

Signature

Alan Silver
(anything added below this line is nothing to do with me)

phil-news-nospam@ipal.net - 30 Apr 2006 03:22 GMT
|>Hello,
|>
[quoted text clipped - 10 lines]
|
| float

That can only do a subset of what tables can do.

Signature

-----------------------------------------------------------------------------

| Phil Howard KA9WGN       | http://linuxhomepage.com/      http://ham.org/ |
| (first name) at ipal.net | http://phil.ipal.org/   http://ka9wgn.ham.org/ |
-----------------------------------------------------------------------------
Spartanicus - 26 Apr 2006 19:07 GMT
>A client requested a layout that has links in sections, displayed
>something like http://www.kidsinaction.org.uk/table.html,

Why is a client telling you how to layout a page? The proper arrangement
is that professional web authors know what works and what doesn't work
on the web, clients rarely have a clue. A client should submit the
content, the web author then decides how to best present that.

Signature

Spartanicus

Alan Silver - 26 Apr 2006 19:46 GMT
In article
<8edv42lq034e4rukcdn39j9mf54kssfh5c@news.spartanicus.utvinternet.ie>,
Spartanicus <invalid@invalid.invalid> writes

>>A client requested a layout that has links in sections, displayed
>>something like http://www.kidsinaction.org.uk/table.html,
[quoted text clipped - 3 lines]
>on the web, clients rarely have a clue. A client should submit the
>content, the web author then decides how to best present that.

He's not *telling* me, he *asked* if I could do it that way. I don't see
why I should ignore the client's request, especially when it's a
sensible idea, and I don't know if it is reasonable or not from a
technical point of view (hence my question).

Anyway, this particular client is a long-standing one. It has taken me
quite a few years to educate him, but he now has a pretty good grasp of
what works on the web. He also take the attitude (as do I) that
presentation is primarily an end-user concern. Therefore, the overriding
issue in presentation is what makes the page attractive and
user-friendly. In this case, he feels (and I agree) that having the
sections laid out in this manner is clear and of benefit to the
end-user. I just want to know how it can be done in CSS.

Thanks for the reply, but I respectfully disagree with you. Not totally,
as there are many occasions when clients don't have a clue, but
generally. Even when they do suggest something awful, you still have to
listen to them and work out what is the best approach to take.

Signature

Alan Silver
(anything added below this line is nothing to do with me)

phil-news-nospam@ipal.net - 29 Apr 2006 02:21 GMT
| Why is a client telling you how to layout a page? The proper arrangement
| is that professional web authors know what works and what doesn't work
| on the web, clients rarely have a clue. A client should submit the
| content, the web author then decides how to best present that.

Normally so.  But you also have to keep the client happy.  The web designer
needs to _interpret_ the clients desires for _this_ page in such a way that
it will also end up styled consistently and still be what the client would
want on other pages that would be created later (and hence use the very same
style).  Not always an easy task.  The client may say "I want this box to
always be highlighted" which happens to be the 2nd box and happens to have
the product price.  Later on, a new page has the product description in the
2nd box and the price in the 1st box.  Now which one should be highlighted?
Did the client always want the 2nd box highlighted or the price highlighted?
The designer needs to ask these questions.

Signature

-----------------------------------------------------------------------------

| Phil Howard KA9WGN       | http://linuxhomepage.com/      http://ham.org/ |
| (first name) at ipal.net | http://phil.ipal.org/   http://ka9wgn.ham.org/ |
-----------------------------------------------------------------------------
Neredbojias - 26 Apr 2006 21:34 GMT
To further the education of mankind, Alan Silver <alan-
silver@nospam.thanx.invalid> vouchsafed:

> Hello,
>
[quoted text clipped - 8 lines]
> way. I imagine some wizard will show me this in about three lines of
> code!!

Looks like a variation on the css 2-column layout (with center-aligned
text) would work.  Tons of stuff written about that.

Signature

Neredbojias
Infinity has its limits.

Alan Silver - 27 Apr 2006 15:54 GMT
In article <Xns97B18A1D18BFChttpwwwneredbojiasco@208.49.80.251>,
Neredbojias <http@?.neredbojias.com/fliam.php?cat=alt.html.invalid>
writes
>> I would like to do a similar thing in CSS, but am not sure of the best
>> way. I imagine some wizard will show me this in about three lines of
>> code!!
>
>Looks like a variation on the css 2-column layout (with center-aligned
>text) would work.  Tons of stuff written about that.

Do you know, it never even occurred to me that this was a simple 2-col
layout in miniature!! Amazing how you can miss the obvious sometimes
(regularly in my case).

Thanks for pointing that out.

Signature

Alan Silver
(anything added below this line is nothing to do with me)

Neredbojias - 27 Apr 2006 21:34 GMT
To further the education of mankind, Alan Silver <alan-
silver@nospam.thanx.invalid> vouchsafed:

>>Looks like a variation on the css 2-column layout (with center-aligned
>>text) would work.  Tons of stuff written about that.
>
> Do you know, it never even occurred to me that this was a simple 2-col
> layout in miniature!! Amazing how you can miss the obvious sometimes
> (regularly in my case).

Happens to ever'one now 'n agin.

> Thanks for pointing that out.

No problem.

Signature

Neredbojias
Infinity has its limits.

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.