Go Back  HTML Forums - Free Webmaster Forums and Help Forums > WEBSITE DEVELOPMENT > CSS
User Name:
Password:
 

Reply
Thread Tools   Display Modes
  View First Unread
 
Old 10-28-2009, 08:52 AM
  #1
Mortar
Chevalier (Level 6)
 
Join Date: Jan 2008
Posts: 58
iTrader: (0)
Mortar is an unknown quantity at this point
IE giving trouble as usual

So, I'm working on another website. Works fine in Firefox, but Internet Explorer is being an ass as usual. The "content" for some reason wants to position itself under the "right" div when using IE instead of between the "left" and "right" divs.

Here's the link.
Any idea how to fix this?

Last edited by Mortar : 10-28-2009 at 08:54 AM.
Mortar is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 10-30-2009, 10:25 AM
  #2
Mortar
Chevalier (Level 6)
 
Join Date: Jan 2008
Posts: 58
iTrader: (0)
Mortar is an unknown quantity at this point
Anyone?
Mortar is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 10-30-2009, 10:50 AM
  #3
Excavator
Lord (Level 16)
 
Join Date: Dec 2006
Location: Alaska
Posts: 737
iTrader: (0)
Excavator is on a distinguished road
Hello Mortar,
Your box Model is off.

Your #main is the width of your #right and #content.
#right is a set width plus padding plus border
#content should be margined over the total width of #right

#left is a set width plus padding plus border
#main should be margined over the total width of #left

This might get you closer -
Code:
#left {
background:#2b2b2b;
float:left;
width:288px;
padding-left:20px;
padding-right:20px;
padding-top:3px;
border-right:1px solid #414141;
}
#main {
position:relative;
margin: 0 0 0 329px;
}
#right {
background:#2b2b2b;
float:right;
width:288px;
padding-left:20px;
padding-right:20px;
padding-top:3px;
border-left:1px solid #414141;
}
#content {
background:#2b2b2b;
padding-left:20px;
padding-right:20px;
padding-top:3px;
width:288px;
border-right:1px solid #414141;
border-left:1px solid #414141;
margin: 0 329px 0 0;
}
There is plenty more to fix!
Check your site in the validator - see the links in my sig below.

The biggest thing I see is you are re-using id's that should be classes.
__________________
Validate often, DURING development! Use it like a splelcheker.
Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad
Excavator is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 10-30-2009, 11:30 AM
  #4
capturetr
Novice (Level 1)
 
Join Date: Oct 2009
Posts: 1
iTrader: (0)
capturetr is an unknown quantity at this point
thank you. i will share this to youtube

Last edited by Pegasus : 10-30-2009 at 11:48 AM. Reason: spam link removed
capturetr is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 10-30-2009, 11:41 AM
  #5
Mortar
Chevalier (Level 6)
 
Join Date: Jan 2008
Posts: 58
iTrader: (0)
Mortar is an unknown quantity at this point
Thanks. You're right about the re-using of id's, I always forget they should be classes if I want to create more of them, lol!
Mortar is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 10-30-2009, 02:09 PM
  #6
Mortar
Chevalier (Level 6)
 
Join Date: Jan 2008
Posts: 58
iTrader: (0)
Mortar is an unknown quantity at this point
OK, another problem popped up. The footer doesn't feel like moving down when the "left" div becomes larger, it just stays there. I think it's got something to do with the "float:left;" I gave to the "left" div, but is there a way to make the footer move down with it?

http://sw-gm.com/Afrit%208/subpage%201.html
Mortar is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 10-30-2009, 03:37 PM
  #7
Pegasus
Extremely Flighty Admin
 
Pegasus's Avatar
 
Join Date: Nov 2001
Location: 35º South of Santa Claus
Posts: 21,472
iTrader: (0)
Pegasus is a name known to allPegasus is a name known to allPegasus is a name known to allPegasus is a name known to allPegasus is a name known to allPegasus is a name known to all
Try adding clear: both; to the CSS for your footer. That should be the first thing.
__________________


Decaf is the root of all evil...
HTMLForums Awards 2008
Pegasus is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 10-31-2009, 11:41 AM
  #8
Mortar
Chevalier (Level 6)
 
Join Date: Jan 2008
Posts: 58
iTrader: (0)
Mortar is an unknown quantity at this point
Tried it, didn't do anything.
Mortar is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 10-31-2009, 11:58 AM
  #9
Excavator
Lord (Level 16)
 
Join Date: Dec 2006
Location: Alaska
Posts: 737
iTrader: (0)
Excavator is on a distinguished road
Need to clear your floats - #wrap {
background:#2b2b2b;
min-height:100%;
width:986px;
margin:auto;
position:relative;
overflow: auto;
}

Here's a site that explains how that works - http://www.quirksmode.org/css/clearing.html
__________________
Validate often, DURING development! Use it like a splelcheker.
Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad
Excavator is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 11-01-2009, 06:32 AM
  #10
Mortar
Chevalier (Level 6)
 
Join Date: Jan 2008
Posts: 58
iTrader: (0)
Mortar is an unknown quantity at this point
Hey, that did it. Thanks a lot.

Last edited by Mortar : 11-01-2009 at 10:45 AM.
Mortar is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote

Reply
KEEP TABS
SPONSORS
 
Boxedart
 
 


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



 
  POSTING RULES
 
 
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Thread Tools
Display Modes

Forum Jump

 

All times are GMT -5. The time now is 03:50 AM.

   

Mascot team created by Drawshop.com

Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

Server Monitoring by ENIACmonitor 0.01
HTMLforums.com © Big Resources, Inc. Web Design by BoxedArt.com
vRewrite 1.5 beta SEOed URLs completed by Tech Help Forum and Chalo Na.