GlowHost Web Hosting Forums  

Go Back   GlowHost Web Hosting Forums > In The Lounge > Web Design
Register Forum FAQ Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-10-2008
rlhanson's Avatar
Master Glow Jedi
 
Join Date: Aug 2007
Location: Chapman, Kansas
Posts: 347
Rep Power: 35
rlhanson will become famous soon enough
Default CSS

I read in one of the posts about JohnMarc using CSS programming vs. the table layout...can't find it now though.

Anyway, curious is you are programming with this style, if you've had any issues, why you feel it's better (or not), and any recommendations on the subject.

Thanks!
__________________
Thank you,
Lynne Hanson
RL Hanson-Online
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 11-10-2008
charlesh's Avatar
Master Glow Jedi
 
Join Date: Aug 2006
Location: Wichita, Kansas - better than you imagined it would be.
Posts: 152
Rep Power: 37
charlesh is on a distinguished road
Default

There's a learning curve, no doubt. I used to use tables because I thought I could control spacing much better than anything else out there by adding spacer gifs and so forth. Then I started styling TDs and Tables with inline styles to "fix" certain elements. After doing that a while, the switch to CSS was much easier, so I started styling the layout tables with CSS (1/2 way there).

The best way, absolutely, is to use DIV containing elements with an attached style sheet. The bloat of the code is so much less than that of table layouts and once you realize how to use margin: and padding: you will also realize that you have much greater control over your elements than you did with tables and a whole world will open up.

By no means am I great at CSS, but I do feel that I have at this point reached a comfort level with styling from CSS.

The downside of tables is that you can get lost in the structure. Add nested tables and it makes it even harder to modify things.

The only issue is that if i'm having problems with divs, I usually try to revert to tables. Make sure you download the firefox firebug plugin to diagnose and debug your css woes with the inspector. it's invaluable.

How's business? I was in KC a couple of weeks ago meeting with a client at the Hyatt. It was a last minute trip up there from Wichita and it was 9:00 by the time we were done, so I stayed on the Plaza there in KC and had a good dinner at Houston's. I love it there.
__________________
Charles H
http://www.harmonmediagroup.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 11-11-2008
jmarcv's Avatar
immoderate moderator
 
Join Date: Jan 2005
Posts: 297
Rep Power: 67
jmarcv is just really nicejmarcv is just really nicejmarcv is just really nicejmarcv is just really nicejmarcv is just really nice
Default

CSS is a bear for sure. I just converted a large app and it was gruesome!

You guys might want to have a look at the yahoo YUI - a free set of libs with very good docs to make life cross browser compatible and a lot easier, especially the CSS tools (Grids, etc)

The Yahoo! User Interface Library (YUI)

This is what cPanel is using, BTW.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 11-11-2008
rlhanson's Avatar
Master Glow Jedi
 
Join Date: Aug 2007
Location: Chapman, Kansas
Posts: 347
Rep Power: 35
rlhanson will become famous soon enough
Default

Quote:
Then I started styling TDs and Tables with inline styles to "fix" certain elements. After doing that a while, the switch to CSS was much easier, so I started styling the layout tables with CSS (1/2 way there).
I started styling my table elements with CSS when I re-vamped my site and I REALLY like the way it controls my design...which is why I started thinking more about this.
Either JohnMarc or another programmer I know sent me a link to a site that had CSS styled webpages that you could change the entire look of the same page just by clicking on a different style. It was really cool and I've thought about it off and on since.

To be honest, DIV's and layout based on pixel location (like in layers) has always been a challenge. I just haven't gotten a grasp on it yet. I'm assuming the CSS will pose the same challenge for me. I am thinking that the CSS design will allow for some really creative designs though.

Quote:
How's business? I was in KC a couple of weeks ago meeting with a client at the Hyatt.
Not as good as your apparently! No meetings at the Hyatt lately. lol

Really though, I was slammed the last few weeks, and had an opportunity last week to design the local builder's site for the Extreme Makeover:Home Edition that's here in Chapman now - Flint Hills Extreme Build - Extreme Makeover Home Edition.

It was kinda crazy (24 hour design) but it was a good donation. Still semi-jumping-through-hoops but I am so happy they've chosen a family that suffered through the tornado devastation!

When my personal life gets back to normal - next year sometime - you and your wife should stop by during travels to KC!

Quote:
CSS is a bear for sure. I just converted a large app and it was gruesome!
JohnMarc - why the conversion? Is it that much better to work with or ?

I appreciate you both - thanks for the responses!
__________________
Thank you,
Lynne Hanson
RL Hanson-Online
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 11-11-2008
jmarcv's Avatar
immoderate moderator
 
Join Date: Jan 2005
Posts: 297
Rep Power: 67
jmarcv is just really nicejmarcv is just really nicejmarcv is just really nicejmarcv is just really nicejmarcv is just really nice
Default

Quote:
Originally Posted by rlhanson View Post
Either JohnMarc or another programmer I know sent me a link to a site that had CSS styled webpages that you could change the entire look of the same page just by clicking on a different style. It was really cool and I've thought about it off and on since.
Here it is...
css Zen Garden: The Beauty in CSS Design
Quote:
Originally Posted by rlhanson View Post
JohnMarc - why the conversion? Is it that much better to work with or ?
Well, like C says, tables can get really nasty and nested in no time. I had pages where crap went off screen, couldn't find it. And, since Zoffix was giving me so much crap -G- I figured I should redo the structure. With Firebug, its a bit easier to deal with.

Other reason, many browsers will not render a page until the whole table is read in, but with DIVs, the screen gets drawn incrementally, so there isnt a big long pause getting SOMETHING on the screen.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 11-11-2008
rlhanson's Avatar
Master Glow Jedi
 
Join Date: Aug 2007
Location: Chapman, Kansas
Posts: 347
Rep Power: 35
rlhanson will become famous soon enough
Default

YAY! I could not remember that site!!! Thanks!

I'll get back to this in a sec!
__________________
Thank you,
Lynne Hanson
RL Hanson-Online
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 11-11-2008
rlhanson's Avatar
Master Glow Jedi
 
Join Date: Aug 2007
Location: Chapman, Kansas
Posts: 347
Rep Power: 35
rlhanson will become famous soon enough
Default

I was trying to remember that site because it was more graphic design oriented and knew it gave the code examples.

I knew is had an a-h-h-h feeling to it, but couldn't remember the name!

Thanks for the info - I will be looking at this and seeing what I can figure out!
__________________
Thank you,
Lynne Hanson
RL Hanson-Online
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 11-11-2008
charlesh's Avatar
Master Glow Jedi
 
Join Date: Aug 2006
Location: Wichita, Kansas - better than you imagined it would be.
Posts: 152
Rep Power: 37
charlesh is on a distinguished road
Default

Here's also a great CSS reference. His books are great too. Eric Meyer is a person obsessed with css:

meyerweb.com
__________________
Charles H
http://www.harmonmediagroup.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
GlowHost's CSS Problem Matt Web Design 33 03-16-2008 02:51 PM
CSS Problems and Solutions Zoffix Znet Web Design 5 11-08-2006 06:36 AM


All times are GMT -5. The time now is 08:31 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO
Copyright 2000-2007 GlowHost.com