|
| |
|
|
adgriffi
Posts: 6 Joined: 2/26/2004 Status: offline
|
Div alignment (HELP ME PLEASE)! (RESOLVED) - 2/26/2004 11:29:54
Hello all, I am tring to get my website working with all divs and no tables. I am ALMOST there. I am having this one last problem where a div within another div is not lining up where it is supposed to... Here is the site: My Website [www.css.tayloru.edu/~adgriffi/index.php] The text at the bottom (on the left) is supposed to be up underneath the description on the right (next to the other div in the middle). For some reason it is acting as if there is a "clear" in there, and it is dropping down to the bottom left. Here is the style sheet: My Stylesheet [www.css.tayloru.edu/~adgriffi/lib/style.css] Any help is GREATLY appreciated (I'm banging my head against the wall right now).
< Message edited by adgriffi -- 2/27/2004 16:38:30 >
|
|
|
|
Giomanach
Posts: 6091 Joined: 11/19/2003 From: England Status: offline
|
RE: Div alignment (HELP ME PLEASE)! - 2/26/2004 11:33:14
Ripped this out of your style sheet: #description {
padding: 2px 5px 15px 5px;
color: #003350;
font-size: 78%;
font-weight: bold;
text-align: left;
} You have no position command. Not sure which on to use here though. M, where are you when I need ya??? Dan
_____________________________
|
|
|
|
adgriffi
Posts: 6 Joined: 2/26/2004 Status: offline
|
RE: Div alignment (HELP ME PLEASE)! - 2/26/2004 11:42:12
Hmmm. Thanks for the quick reply. Let me know if you figure out which command I need!
|
|
|
|
Karl
Posts: 172 From: Chucktown, SC Status: offline
|
RE: Div alignment (HELP ME PLEASE)! - 2/26/2004 16:29:24
Did you get this figured out? The site displays quite differently in various browsers, and I am not sure what you are trying to do. I see the alternate themes, but there are a few layout problems, unless they are intentional. If you have not figured it out, could you send me a basic sketch of what you are trying to do please? I am sure I can help you sort it out. Karl
< Message edited by Karl -- 2/26/2004 16:32:06 >
_____________________________
Create, validate, and communicate! Adonnis Networks
|
|
|
|
Peppergal
Posts: 2204 Joined: 9/20/2002 Status: offline
|
RE: Div alignment (HELP ME PLEASE)! - 2/26/2004 18:28:43
THis is going to be absolutely no help whatever, because I am currently in a div line up quandry myself...BUT In Mozilla, it looks REALLY nice. Falls apart in IE though, :-( I really like the look in Moz though. Frustrating as heck, ain't it? LOL
_____________________________
Northeast PA / Poconos/ Lake Wallenpaupack Real Estate wallenpaupacklakeproperty.com Karen's Real Estate Blog
|
|
|
|
adgriffi
Posts: 6 Joined: 2/26/2004 Status: offline
|
RE: Div alignment (HELP ME PLEASE)! - 2/26/2004 23:31:30
Thanks for the compliment Peppergal. As a matter of fact, I solved the problem in Mozilla/Firefox, so that is what I want it to look like. My problem now is that it still doesn't work properly in IE. Apparently, floating DIVs within other DIVs don't properly set the width of the containing DIV. SO, I added<br style="clear:both"/> right before closing the containment DIV (called mainClm in my setup). Also, if you noticed, I have two stylesheets there, and the same problem exists in both. They work great in Mozilla/Firefox, but not IE. What do I need to do to make it work for IE??? Thanks again for the help!
|
|
|
|
adgriffi
Posts: 6 Joined: 2/26/2004 Status: offline
|
RE: Div alignment (HELP ME PLEASE)! - 2/27/2004 9:35:36
I appreciate all your hard work Giomanach, but it still doesn't seem to be working from this end. This is what I'm getting: Desired outcome The is how it looks using my original Style Sheet in Firefox (this is what I want it to look like everywhere!!!) Original in IE This is how it looks using my original Style Sheet in IE (for some reason the gray background does not encompass the inner DIVs. Your Rewrite in Firefox The is what you posted - is this how you thought it was supposed to look? Your Rewrite in IE Again, it does not seem to be working for me. Thanks again, and let me know your thoughts!
|
|
|
|
Giomanach
Posts: 6091 Joined: 11/19/2003 From: England Status: offline
|
RE: Div alignment (HELP ME PLEASE)! - 2/27/2004 9:54:31
I got grey background, to the lower divs etc, let me see I can re-write the whol page for you, and I'll use a new stylesheet as well, be back in 30 mins or so Dan
_____________________________
|
|
|
|
Giomanach
Posts: 6091 Joined: 11/19/2003 From: England Status: offline
|
RE: Div alignment (HELP ME PLEASE)! - 2/27/2004 10:12:48
Problem found, go through your original stylesheet etc, and MAKE SURE you have semi colons a the end of EVERY command with the elements you have used. That solves the problem. Dan
_____________________________
|
|
|
|
adgriffi
Posts: 6 Joined: 2/26/2004 Status: offline
|
RE: Div alignment (HELP ME PLEASE)! - 2/27/2004 15:55:59
Dan, I have gone through and verified that I have semi-colons everywhere, and I already do... Did you find a specific spot where I'm missing something? I have had the page verified as HTML 4.01 STRICT. I have also had the CSS verified. So, really, I'm still right where I started.
|
|
|
|
adgriffi
Posts: 6 Joined: 2/26/2004 Status: offline
|
RE: Div alignment (HELP ME PLEASE)! - 2/27/2004 16:31:08
FIXED!!!! I had to add an empty DIV right before I closed the mainClm DIV. <div style="clear:both;"></div> This thanks to: yayhoorary.com (Another forum) Thank you all for the time you spent trying to debug my problem!
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|