CSS - Strange Way To Do Things

Home » Forums » Stylesheet Maker » CSS - Strange Way To Do Things


Senior Advisor
3,694 posts

I have been having a go at this CSS thingy. However, how are you supposed to know where everything goes on your page exactly when your CSS instructions are not on the same page as your content? What I mean is when you design a page usually, you have tables and cells. You position your content to go into that exact part of the page you want - its there, you see it. However, with CSS, because the code is on a different page to the content, how are you supposed to know what the layout will be like?

It has taken me hours just to position exactly a colour filled text box. With tables, you just incert a cell, give it a background colour, type your text and your done.

All very strange.

Mark Mark Loves CoffeeCup


Registered User
2,900 posts

do you have the latest HTML editor? Check out the file-new-layout button
It makes a css template that can maybe replace your tables - worth a peek to see what's what even

But yeah - I agree - it is weird after working in tables - things dont have to go round the same way - you can load the rightside before the header etc... Have fun
~ Fe Pixie ~


Senior Advisor
1,172 posts

Working in CSS is a different way of thinking.

1st just create your HTML content without regards to style or looks.

Then seperate all the different areas (header, main content, navigation, footer, etc into divs.

Sucha as :
<div id="header"> blah blah</div>
<div id="nav">blah, blah </div> etc.

Then create your CSS file defining the style and location of each of your named divs.

It takes a while to get used to it, but it can really simplify things for you when creating the CSS file.

Mike... ..........................................
http://www.photoshopuser.com/register.h … ode=friend
http://www.designconsultingltd.com
http://www.wpdfd.com


Ambassador
153 posts

Well that answers a lot of questions I never even got around to asking. I was trying figure out a couple of things and you answered things I hadn't even understood I needed to know! Tom Mooney
http://www.tommooney.ca
http://www.aspu.ca
http://www.pridhamsstudio.com


Senior Advisor
3,694 posts

I suppose the question that needs to be asked is, are Tables and Cells not going to be supported in future web browser standards? If there is a move not to support the Table system that we have now, then we should all be busy learning, playing and trying to implement CSS. However, if CSS is not going to be replacing Tables, but rather being just another way of doing things, then I will run my usual slow pace with learning new things.

I have started to play with CSS, but find it a totally strange way of doing things. I suppose my brain just don't work that way.

I would be interested in knowing how many of the forum users actually have a fully implemented CSS Web Site and have chucked the Tables away?

Mark Mark Loves CoffeeCup


Senior Advisor
1,172 posts

No, tables are not going away anytime soon.

The W3C is actually adding to CSS specific table formatting rules so that all your table styling can go in the CSS file, not on your HTML pages.

I have numerous sites that are pure css and some css/table sites.

Here are a few:
www.kridan.com (look at in IE and FF)
www.nesalarms.com
www.annapilonskintherapy.com
www.fishybiz.ca
www.firstcallhelp.com
www.brokenmonkey.org
and of course
www.enorc.com

Mike... ..........................................
http://www.photoshopuser.com/register.h … ode=friend
http://www.designconsultingltd.com
http://www.wpdfd.com


Senior Advisor
3,694 posts

Mike - I had no idea that the W3C will be adding to CSS table formatting rules so that table styling can go in the CSS file. However, surely with this introduction, it must spell the end of Tables on/in HTML?

Mike, I know that CSS is the way forward and I am (though screaming and shouting and certainly dragging my feet) starting out on the CSS road. I have been experimenting and playing around. However, it does not seem a logical way of doing things. I suppose that when I am more proficient though, I will say to myself, "Did I really Do Things That Way?". Mark Loves CoffeeCup


Senior Advisor
1,172 posts

There are a few rules in CSS 2.1 now such as
border-collapse, border-spacing, empty-cells, etc
and more are planned for CSS 3.0

Tables won't go away it is just that instead of writing:
<table border="0" padding="5" align="center"> etc
all you will do is write:
<table class="whatever"> and then put all your formatting in the CSS file.

As I said once before the original intent of tables was for tabular data, populated by a database. That hasn't changed and will be around for years to come...

Mike...

I suggest you go to:
http://www.w3.org/Style/CSS/learning
and check it out... ..........................................
http://www.photoshopuser.com/register.h … ode=friend
http://www.designconsultingltd.com
http://www.wpdfd.com


Registered User
2,900 posts

The book Mark - get the book ;) Have fun
~ Fe Pixie ~


Registered User
3 posts

Hey Mark, I'm with ya. That's why I hire guys like Mike to "just do it," and let me get back to my photoshop, illustrator and design-side. It makes for a very interesting read though. Can't afford an interpreter AND get the job done, so wth--I just hire it out and move on...;) John Coonen
Coffee Group USA

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.