Topic: Suggestions to clean up this CSS (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: Lost Angeles Kalifornia, via Hawaii.... |
posted 07-30-2009 23:35
I am reworking a site over the past couple weeks, and wanted to get some input on cleaning up the code. It's really a mess right now but for some reason my paragraphs on the 1st column aren't reflecting margins or padding correctly. Plus I know I've butchered it waaay to much. |
Nervous Wreck (II) Inmate From: United States |
posted 07-31-2009 18:11
For index.php, you have side margins on #columnA>div.box. The margin-left on that element is increasing the margin on the side, so if you want that margin to match up with that of #columnC, then remove margin-left from #columnA>div.box. The margin-right on #columnA>div.box, however, is what's keeping #columnB in the right spot, so THAT margin-right should actually be added to #columnA and removed from #columnA>div.box, in my opinion.
|
Paranoid (IV) Inmate From: Lost Angeles Kalifornia, via Hawaii.... |
posted 08-03-2009 09:29
Ok this is another problem I'm having and it's not working right. I'm going crazy trying to figure this one out... |
Neurotic (0) Inmate Newly admitted From: |
posted 08-31-2009 23:32
You need to set a width for your caption field as it will not inherit the 250px value specified in the image. |
Obsessive-Compulsive (I) Inmate From: |
posted 11-29-2009 03:51
Actually, the floated div itself needs to have a width specified. Any time you float an element you need to specify a width for it. |
Maniac (V) Inmate From: there...no..there..... |
posted 11-30-2009 18:32
quote:
|