Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Old 03-20-2007, 11:34 PM Divitus...
Tom_M's Avatar
Ultra Talker

Posts: 250
Name: Tom Maurer
Location: Pennslvania, USA
Trades: 0
I'm having a severe case of divitus. A site I am working on here: http://tmwebworks.com/afd/temp.php which is a redesign of this site: http://www.altoonafirefighters.org/

My main goal is to get rid of the tables. But I think I am over doing the divisions a bit. How many divs are too many? I know there is a point where a page loaded with divs is no better than a page full of tables. Is there some way I can slim down some of the divs?

I do have an unordered list inside a div, which I know is unnecessary. I also am using a lot of divs to clear a lot of things, since my layout is mostly floated. Surely I need to improve the markup some? Right? Or am I worrying too much?
Tom_M is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-20-2007, 11:40 PM Re: Divitus...
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
Looks pretty lean and mean to me, other than the whitespace. I don't see how you could get away with fewer divs, which is my only personal "divitis" rule.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 03-21-2007, 12:00 PM Re: Divitus...
Angelosanto's Avatar
Webmaster Talker

Posts: 548
Name: Danny Angelosanto
Trades: 0
Yep - all looks fine to me. I don't think too many divs is possible!
__________________
"The only reason some people get lost in thought is because it's unfamiliar territory."
_____________________________________
Angelosanto is offline
Reply With Quote
View Public Profile Visit Angelosanto's homepage!
 
Old 03-21-2007, 01:48 PM Re: Divitus...
Tom_M's Avatar
Ultra Talker

Posts: 250
Name: Tom Maurer
Location: Pennslvania, USA
Trades: 0
Sounds good. I thought there was a lot, but I guess I have room to expand. But, is there something I can use to clear my floats other than a division? I thought someone mentioned they use <br /> tag to clear floats.
Tom_M is offline
Reply With Quote
View Public Profile
 
Old 03-21-2007, 04:54 PM Re: Divitus...
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Quote:
I don't think too many divs is possible!
Oh yes it is very possible. Using divs for everything, as I've seen some people do, is just not good practice.

Yes, I use <br> to clear floats:
.brclear {
clear:both;
height:0;
margin:0;
font-size: 1px;
line-height: 0;
}
In your code it's <br class="brclear" />

Your code looks great, I would not call that 'divitis' at all
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 03-22-2007, 10:06 AM Re: Divitus...
Tom_M's Avatar
Ultra Talker

Posts: 250
Name: Tom Maurer
Location: Pennslvania, USA
Trades: 0
Thanks. And yes that is the code I was talking about. Using <br /> to clear makes a little more sense. Thanks.
Tom_M is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Divitus...
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.24460 seconds with 12 queries