Question about tables; "sitting" flush against the side of the browser

Y

Yasunari

I've been searching all over in Google, the W3C tutorials, forums, and
posts to this NG from July and onward. As a last resort, I'm going
ask here.

I just want a table to sit flush at the top of the screen, with no
white space between it and the browsers border. Same thing on its
left and right edges.

I have seen websites that have this, and needless to say, it looks
very clean. I've also copied the source of those pages and pasted
them into Dreamweaver, and its perfect. as far as the code, I see
everything I put in while trying to reproduce this myself; no cell
padding, etc. i also have it set to 0 pixel margins.

If my words are ambiguous, check out this dreamcast website:
http://www.planetdreamcast.com/

and an example of what im doing [wrong]
http://tinyurl.com/6xrvq

I cannot seem to get this to work myself. Any advice?

Y.



"Alone With The Voice."
[Folk-Telemetry]
 
Y

Yasunari

Remember that time, on Sat, 13 Nov 2004 06:23:47 +0200, "Wÿrm"
and an example of what im doing [wrong]
http://tinyurl.com/6xrvq

In starters, incase you are plannig to use tables for LAYOUT (as your
example site were), DON'T!!
http://www.allmyfaqs.com/faq.pl?Tableless_layouts


And 2nd... to some kind of answer

Either use background color on TABLE itself

or use

border-collapse: collapse;

see http://www.kolumbus.fi/ace/crap/tables.html

thanks. yeh, it feels messy to use a table in such a way, so im going
through the css tutorials to learn how to do things better
thanks for the examples; now that i know how to do that, i can discard
it and learn to do it the right way. :)



"Alone With The Voice."
[Folk-Telemetry]
 
Y

Yasunari

Remember that time, on Sat, 13 Nov 2004 04:50:01 GMT, Yasunari
Remember that time, on Sat, 13 Nov 2004 06:23:47 +0200, "W?rm"
and an example of what im doing [wrong]
http://tinyurl.com/6xrvq

In starters, incase you are plannig to use tables for LAYOUT (as your
example site were), DON'T!!
http://www.allmyfaqs.com/faq.pl?Tableless_layouts


And 2nd... to some kind of answer

Either use background color on TABLE itself

or use

border-collapse: collapse;

see http://www.kolumbus.fi/ace/crap/tables.html

thanks. yeh, it feels messy to use a table in such a way, so im going
through the css tutorials to learn how to do things better
thanks for the examples; now that i know how to do that, i can discard
it and learn to do it the right way. :)
sorry, but i was too quick with the send button.
regarding your example, since the css style defines the table, this
would make it proper, then, to use in layout?
many thanks!



"Alone With The Voice."
[Folk-Telemetry]
 
W

Wÿrm

regarding your example, since the css style defines the table, this
would make it proper, then, to use in layout?

No, not really to use table for layout. Tables are for _tabular data_ not
for layout (even though many misuse them for layout). Use DIVs etc. and then
CSS to style layout as you want and read that
http://www.allmyfaqs.com/faq.pl?Tableless_layouts you also might wanna
read http://www.allmyfaqs.com/faq.pl?AnySizeDesign. I suggest you read
plenty about CSS to get ideas how to do things :)
 
H

Henry

Yasunari said:
and an example of what im doing [wrong]
http://tinyurl.com/6xrvq

In starters, incase you are plannig to use tables for LAYOUT (as your
example site were), DON'T!!
http://www.allmyfaqs.com/faq.pl?Tableless_layouts


And 2nd... to some kind of answer

Either use background color on TABLE itself

or use

border-collapse: collapse;

see http://www.kolumbus.fi/ace/crap/tables.html


thanks. yeh, it feels messy to use a table in such a way, so im going
through the css tutorials to learn how to do things better
thanks for the examples; now that i know how to do that, i can discard
it and learn to do it the right way. :)


Right way is the way which works in most browsers. Since IE is dominant
browser and has gazillions of bugs, wait for better browser and design
pages in tables instead fighting for hours with bugs.

You still will have make some sacrifices if you will use css's.

Don't worry about usage only for a tabular data. Your data is TABULAR
and tables are perfect for your data.

:)

Mix css, (fonts etc) with tables and use the best from both of them.

Check this article to have well balanced view on css and tables.

http://www.sitepoint.com/forums/printthread.php?t=171791&page=1&pp=25

Here most guys have one religion - css!

They out of balance...

Cheers...
 
K

Kris

Wÿrm said:
I suggest you read
plenty about CSS to get ideas how to do things

And practice. CSS layouts were supposed to be easier than they are in
today's practice. Microsoft is due to that.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,019
Latest member
RoxannaSta

Latest Threads

Top