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 / October 2003



Tip: Looking for answers? Try searching our database.

Can this be done with CSS

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Herbman - 30 Oct 2003 15:25 GMT
Hi folks,

I'm sort of new to CSS and was wondering if I can render a "table"
like layout without the use of tables.  The following link is an image
file of what I would like to render with CSS.

http://216.189.167.195/testsurvey/question.jpg

I'm having trouble alingning things together.
Can anyone provide a sample for me.  I would greatly appreciate it.

Thanks
Philipp Lenssen - 30 Oct 2003 16:30 GMT
> I'm sort of new to CSS and was wondering if I can render a "table"
> like layout without the use of tables.  The following link is an image
> file of what I would like to render with CSS.
>
> http://216.189.167.195/testsurvey/question.jpg

I cannot access your image...

Signature

Google Blogoscoped
http://blog.outer-court.com

Herbman - 30 Oct 2003 19:02 GMT
> > I'm sort of new to CSS and was wondering if I can render a "table"
> > like layout without the use of tables.  The following link is an image
[quoted text clipped - 3 lines]
>
> I cannot access your image...

Sorry,

Try: http://www.360codeworks.com/question.jpg

Thank You
David Dorward - 30 Oct 2003 19:12 GMT
> I'm sort of new to CSS and was wondering if I can render a "table"
> like layout without the use of tables.  The following link is an image
[quoted text clipped - 4 lines]
> I'm having trouble alingning things together.
> Can anyone provide a sample for me.  I would greatly appreciate it.

While you /could/ duplicate that layout using CSS (although using CSS that
works in MSIE would be rather harder), it looks very much like tabular data
to me.

Signature

David Dorward                                       http://dorward.me.uk/

Herbman - 30 Oct 2003 23:18 GMT
> > I'm sort of new to CSS and was wondering if I can render a "table"
> > like layout without the use of tables.  The following link is an image
[quoted text clipped - 8 lines]
> works in MSIE would be rather harder), it looks very much like tabular data
> to me.

How can this be done in CSS.  I don't want to use tables.
AD. - 31 Oct 2003 02:34 GMT
>> > I'm sort of new to CSS and was wondering if I can render a "table"
>> > like layout without the use of tables.  The following link is an image
[quoted text clipped - 10 lines]
>
> How can this be done in CSS.  I don't want to use tables.

Look up the different options for the 'display' attribute in the W3 specs.
There are things like table cells, table rows etc that you can apply to
other elements like divs, spans etc.

eg you can tell using CSS a div to display like a table row and a span to
display like a table cell etc.

But it won't work in IE. IE only recognises (I think) block, inline and
none for the display attribute.

I'd just use an html table myself though in that case.

Cheers
Anton
Mikko Rantalainen - 31 Oct 2003 11:25 GMT
>>> I'm sort of new to CSS and was wondering if I can render a
>>> "table"
[quoted text clipped - 9 lines]
>
> How can this be done in CSS.  I don't want to use tables.

Why is that? Don't you believe that tabular data should be marked up as
<table>? Sure, tables are used in way too many occasions but in this
case I think the use of <table> is the most meaningful markup. Think
about it: Satisfaction, 1,2,3,4,5, Importance, Not at all, A bit, Very,
Comments, Products, Services and Support are all table headers. Or you
could say that Products, Services and Support are table data and add
some header cell for that column, too.

After all, what is an table if not a grid where data is in the inner
cells and column and row headers are on the outer cells?

If you still think that this isn't a table, you have to use "display:
table", but be warned that MSIE doesn't support that.

Signature

Mikko

Chris Morris - 31 Oct 2003 13:22 GMT
> > How can this be done in CSS.  I don't want to use tables.
>
[quoted text clipped - 3 lines]
> After all, what is an table if not a grid where data is in the inner
> cells and column and row headers are on the outer cells?

Indeed, and using <table> for tabular data gives big advantages in
some browsers because of the header assigning attributes - using a
speech browser I'd far rather view tabular data as a table than as a
bunch of linearised divs.

Signature

Chris

Jim Royal - 30 Oct 2003 23:01 GMT
> I'm sort of new to CSS and was wondering if I can render a "table"
> like layout without the use of tables.  The following link is an image
> file of what I would like to render with CSS.

> http://www.360codeworks.com/question.jpg

This isn't a table-like page layout. It is, in fact, just a table. This
is exactly what tables are intended for. Use a table.

Signature

Jim Royal
"Understanding is a three-edged sword"
http://JimRoyal.com

Herbman - 31 Oct 2003 18:12 GMT
> > I'm sort of new to CSS and was wondering if I can render a "table"
> > like layout without the use of tables.  The following link is an image
[quoted text clipped - 4 lines]
> This isn't a table-like page layout. It is, in fact, just a table. This
> is exactly what tables are intended for. Use a table.

Great this answers my question.

Thanks all.
 
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.