Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

table layout to css layout help


  • Please log in to reply

#1
TaNkZ101

TaNkZ101

    Member

  • Member
  • PipPipPip
  • 327 posts
my site is http://hrvoje.pandela.net. i'm changing the layout from tables to css. for my header i'm using a div now instead of table and i'm going to do the same for the bar with the clock (and use apsolute positioning instead of that blank gif). but i'm afraid that now i might be ending up using only divs instead of only tables, but i'm not sure yet. did i do a good desicion witht the header or should i do something else with it?
  • 0

Advertisements


#2
thenotch

thenotch

    Member

  • Retired Staff
  • 667 posts
Looks fine.. why not just get rid of those tables you are using for layout all together?

What you have opn your site can be done and with much less code using CSS.

Good start!!
  • 0

#3
1nfection

1nfection

    Member

  • Member
  • PipPip
  • 82 posts
The best way to switch to a full CSS layout (which is the way to go), is to make a temporary style that outlines all "TABLE" elements with a visible (maybe 2 px solid red) border. Then you know what divs you need. When you get that far, you can start taking all your display code out of your index.html file. From there all that info goes into the CSS file, and allows your markup to be much cleaner. All tags will only have a "class" or "id" attribute; which makes reading the markup a heck of a lot easier.

If you're looking for a good example of CSS compliant sites and layouts, check out OSWD. Good luck man, and let me know how it goes.
  • 0

#4
TaNkZ101

TaNkZ101

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 327 posts
it doesn't work, i don't know why, maybe u can take a look at the code?
  • 0

#5
1nfection

1nfection

    Member

  • Member
  • PipPip
  • 82 posts
I'd be glad to. I'm alittle busy with some other stuff, but I'll give it a look and see what I can do. I can at least outline all of your design elements...then we can go from there. Go ahead and PM me (with the actual .php file. ). Hopefully we can get something done.
  • 0

#6
TaNkZ101

TaNkZ101

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 327 posts
wow thanks a lot! i didn't think i'd find someone willing to do that!
  • 0

#7
1nfection

1nfection

    Member

  • Member
  • PipPip
  • 82 posts
That's what we're here for man. Thank me when we get something done :whistling: (Heck, maybe I'll even learn some croation...)
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP