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,472
There are 928 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    
    Thread tools Search this thread Display Modes  
06-11-2008, 09:04 AM
#1
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
#2
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.

Closed Thread    


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

  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