Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,471
There are 564 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

Pro's and Con's - CSS Layouts

Thread title: Pro's and Con's - CSS Layouts
Closed Thread  
Page 2 of 4 < 1 2 3 4 >
    Thread tools Search this thread Display Modes  
06-11-2008, 09:04 AM
#11
Ethan is offline Ethan
Ethan's Avatar
Status: I'm new around here
Join date: Sep 2006
Location: US
Expertise: html, css, photoshop
Software: photoshop, notepad, wordpress
 
Posts: 22
iTrader: 0 / 0%
 

Ethan is on a distinguished road

  Old

Originally Posted by MishieMoo View Post
Divs are excellent for basing a design around. They de-clutter the html on a page, and are more flexible than tables.

All my layouts are now div with linked css files. CSS also helps with cross browser compatibility, because you can have different stylesheets for different browsers, so more people can see your website the way its supposed to look.

Really, CSS is the way to go if you want to keep up in this market =)
Well, I would have to say that it really depends on what kind of layout you are putting together and what kind of positioning that its going to have.

CSS is not always perfect in the eyes of cross-browser compatibility. For instance, opera still has an aweful time with many things concerning positioning and padding. Plus, I have to agree with those commenting above, that absolute positioning is never a good idea if you want your layout to be locked right in terms of dimensions and stretching.

06-11-2008, 11:04 AM
#12
rochow is offline rochow
rochow's Avatar
Status: Member
Join date: Oct 2006
Location: Australia
Expertise:
Software:
 
Posts: 297
iTrader: 4 / 100%
 

rochow is on a distinguished road

Send a message via MSN to rochow Send a message via Skype™ to rochow

  Old

Originally Posted by Ethan View Post
Well, I would have to say that it really depends on what kind of layout you are putting together and what kind of positioning that its going to have.

CSS is not always perfect in the eyes of cross-browser compatibility. For instance, opera still has an aweful time with many things concerning positioning and padding. Plus, I have to agree with those commenting above, that absolute positioning is never a good idea if you want your layout to be locked right in terms of dimensions and stretching.
There should be only be 1 type of position used: floating. Relative+absolute positioning have their uses, one of which is not for positioning an entire layout.

CSS has issues in that older browsers don't support it (given that some of the CSS wasn't in use back then) or tried to support it however it was implemented incorrect (such as the IE5.5 box model from hell) but other than that, not really. It's more whats being fed to the browser than the CSS itself. That's like saying IE6 has problems, therefore its HTML+CSS's fault. You just have to learn to tame it so it does what it should, then you'll never have a problem.

Sometimes it just takes good old trial+error for all browsers to play fair.

06-13-2008, 12:00 AM
#13
Ralph is offline Ralph
Ralph's Avatar
Status: I'm new around here
Join date: Jun 2008
Location: Connecticut, USA
Expertise:
Software:
 
Posts: 12
iTrader: 0 / 0%
 

Ralph is an unknown quantity at this point

Send a message via AIM to Ralph

  Old

Yeah, margins and paddings are the only issues I ever have that cause bombardments of other issues. But after a while you learn to head off the problems before they occur. CSS all the way.

06-13-2008, 05:40 AM
#14
Garrett is offline Garrett
Status: Waving
Join date: Aug 2005
Location:
Expertise:
Software:
 
Posts: 2,694
iTrader: 11 / 100%
 

Garrett is on a distinguished road

Send a message via MSN to Garrett

  Old

Originally Posted by Liam View Post
stay away from absolute positioning..
There is nothing wrong with absolute positioning if you use it for the right reasons, and or know how to use it.

As with rochow said, its not really used for whole layouts, but is very useful.

06-13-2008, 05:28 PM
#15
web2de5ine is offline web2de5ine
Status: I'm new around here
Join date: May 2008
Location:
Expertise:
Software:
 
Posts: 7
iTrader: 0 / 0%
 

web2de5ine is on a distinguished road

  Old

Earlier, I used the table based layout.. But after learning CSS, I think I won't be going back to Table based layouts again...
One you create a layout , the CSS files can be used again in another project with a similar layout but with different graphics..
You can have a look at www.csszengarden.com/ The content remains the same but the ultimate design changes..
Regarding the Cross Browser compatibility issues, you need to first know the most common problems with the IE, Safari etc and modify the CSS code to get the perfect output...
I strongly suggest you to go for a CSS based design

06-13-2008, 10:51 PM
#16
rochow is offline rochow
rochow's Avatar
Status: Member
Join date: Oct 2006
Location: Australia
Expertise:
Software:
 
Posts: 297
iTrader: 4 / 100%
 

rochow is on a distinguished road

Send a message via MSN to rochow Send a message via Skype™ to rochow

  Old

Originally Posted by web2de5ine View Post
Earlier, I used the table based layout.. But after learning CSS, I think I won't be going back to Table based layouts again...
I go back to tables when creating email templates... god, so hard.

06-14-2008, 12:24 AM
#17
Awesome is offline Awesome
Awesome's Avatar
Status: Pastafarian
Join date: May 2006
Location: Duct Taped to your Ceiling
Expertise:
Software:
 
Posts: 3,440
iTrader: 26 / 93%
 

Awesome is on a distinguished road

  Old

Originally Posted by rochow View Post
I go back to tables when creating email templates... god, so hard.
I know right? All that inline CSS is a pita to write, only way to go for emails though.

06-14-2008, 01:05 AM
#18
rochow is offline rochow
rochow's Avatar
Status: Member
Join date: Oct 2006
Location: Australia
Expertise:
Software:
 
Posts: 297
iTrader: 4 / 100%
 

rochow is on a distinguished road

Send a message via MSN to rochow Send a message via Skype™ to rochow

  Old

Originally Posted by Awesome View Post
I know right? All that inline CSS is a pita to write, only way to go for emails though.
I don't use CSS at all for maximum compatibility; instead: good old <font> tags, spacers gif's, and a whole lot of frustation!

06-14-2008, 03:19 AM
#19
Awesome is offline Awesome
Awesome's Avatar
Status: Pastafarian
Join date: May 2006
Location: Duct Taped to your Ceiling
Expertise:
Software:
 
Posts: 3,440
iTrader: 26 / 93%
 

Awesome is on a distinguished road

  Old

No reason to completely abandon standards though. CSS support blows but when used wisely (inline, full comment, etc) will render lovely.

06-14-2008, 12:42 PM
#20
John Sharp is offline John Sharp
John Sharp's Avatar
Status: I'm new around here
Join date: Jun 2008
Location: On your hard drive
Expertise:
Software:
 
Posts: 16
iTrader: 0 / 0%
 

John Sharp is on a distinguished road

Send a message via Yahoo to John Sharp

  Old

I started coding HTML back in 1994 with Notepad... we had to use tables to get anything done! It took years for things to come along like CSS... and then more years for the browser wars to support CSS to the point we can now use CSS. So now every one is a CSS master... I use tables when I need to use them... and CSS for standards complacence.

Closed Thread  
Page 2 of 4 < 1 2 3 4 >


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed