View Full Version : Divs

08-08-2009, 12:44 AM
Why is working with divs so annoying? I understand that tables are not any good anymore but why are these divs so annoying? The never line up correctly. Is there a trick to create a div after creating one and being able to take the cursor out to make the next one. It seems that it if it's not done in a certain way no matter what you do to the next div, it would never line up correctly. I have a problem with dissappearing divs and no one seems to know why; is it just me with annoying problems? People laughed at FP but guess what? I neve had so many problems with FP. Someone please reply if you have a trick to this thing. Thanks.

08-08-2009, 01:03 AM
do you work only in design view? if so use split view at least then it will be easy to insert where ever you want in the code section .
if they do not line up correctly then it would suggest you are missing something, show us some examples and wecan try to help

08-08-2009, 01:40 AM
I really don't know what to show you. I have 3 inches away from a div and when I view, the thing is on top of each other and I can't find anything wrong.

08-08-2009, 02:27 AM
code example then

08-08-2009, 12:25 PM
Thanks for your help e. I just found the mystery to the disappearing divs and not lining up issue. NEVER work with the cursor in the "center" align position. Always keep it at default and that's to the left. If you need to center a div, do it with the "auto" feature.

08-09-2009, 07:37 PM
aligning is for inline elements. If you're trying to center a DIV that way it's because you don't understand the difference between block and inline elements. It's perfectly fine to center content using text-align: center 8)

08-10-2009, 11:21 AM
I wasn't trying to center a div that way; I just simply kept the cursor in the center position as I was building them..