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
Why the hell my right column go under me left column?
Old 12-07-2009, 11:26 PM Why the hell my right column go under me left column?
TheDon's Avatar
Extreme Talker

Posts: 216
Name: Don
Trades: 0
Ok,
Here is my test page as I am changing from tables to divs.
http://www.thai-discovery.com/index2.html

Here is my css

Quote:
/* CSS Document */
Body {background:#000000;

}

/*columns*/
#container {
margin:0 auto;
width:1001px;
bottom:0;
}
#header {
width: 4000px;
height: 180px;
margin:0
}

#leftcol {
float:left;
background: #575975;
width: 121px;
height: 3400px;
margin:0
}
#content {
float: left;
background: #928FB6;
height: 3400px;
width: 639px;
padding: 1px 5px 1px 5px
}
#rightcol {
float:left;
background: #575975;
width: 239px;
height: 3400px;
margin:0
}
__________________
[
Please login or register to view this content. Registration is FREE
] [
Please login or register to view this content. Registration is FREE
] [
Please login or register to view this content. Registration is FREE
]
TheDon is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-08-2009, 02:05 AM Re: Why the hell my right column go under me left column?
JeremyMiller's Avatar
WT Moderator

Posts: 1,712
Name: Jeremy Miller
Location: Las Vegas, NV
Trades: 0
Moved this to the CSS forum since it's about your CSS. Congrats on moving to a tableless layout. I tweaked #rightcol's CSS to float:right; and width:211px; and it aligned up in FF. Didn't test in IE, but that should work.
__________________
Jeremy Miller

Please login or register to view this content. Registration is FREE
JeremyMiller is offline
Reply With Quote
View Public Profile Visit JeremyMiller's homepage!
 
Old 12-08-2009, 10:43 AM Re: Why the hell my right column go under me left column?
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Float drop is almost always caused by the sum of the widths being wider than the width of the container they're in. You need to be sure you understand the box model as it relates to widths + padding+margins+borders.

http://dev.opera.com/articles/view/3...-boxes-border/
__________________
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 12-08-2009, 08:17 PM Re: Why the hell my right column go under me left column?
ArtphotoasiA's Avatar
Extreme Talker

Posts: 245
Location: Italy
Trades: 0
Quote:
Originally Posted by LadynRed View Post
ou need to be sure you understand the box model as it relates to widths + padding+margins+borders.

I just moved my website from all tabel layout from all div layout.......... great headhache.........

yes........ be sure all div width must be contained in the div container the div are not table and must consider proper dimension plus there is the wrong box model interpretation from IE5-6-7 su must prepare also related .css files to cover bug.
__________________
" the moment, the unique and unrepeatable second "

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


Please login or register to view this content. Registration is FREE
ArtphotoasiA is offline
Reply With Quote
View Public Profile Visit ArtphotoasiA's homepage!
 
Old 12-09-2009, 09:41 AM Re: Why the hell my right column go under me left column?
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Quote:
there is the wrong box model interpretation from IE5-6-7
That is incorrect. First, I would NOT worry a single bit about supporting IE5. The IE box model was FIXED nearly 3 years ago for versions 6 and above!
__________________
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 12-09-2009, 10:08 AM Re: Why the hell my right column go under me left column?
ArtphotoasiA's Avatar
Extreme Talker

Posts: 245
Location: Italy
Trades: 0
Quote:
Originally Posted by LadynRed View Post
That is incorrect. First, I would NOT worry a single bit about supporting IE5. The IE box model was FIXED nearly 3 years ago for versions 6 and above!
sure ...

i'm going to definetely drop IE5 from artphotoasia.net because my next generation portfolio pages will have a autoresizing script that does not support IE5, no way... let him be an extinct browser

by the way IE6 and also IE7 make me mad not supporting properly diplay:block in li tag..... plus others px differences........

IE6 and also IE7 always make some px difference and sometimes THAT can cause a broken layout, must check


regards..........
__________________
" the moment, the unique and unrepeatable second "

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


Please login or register to view this content. Registration is FREE
ArtphotoasiA is offline
Reply With Quote
View Public Profile Visit ArtphotoasiA's homepage!
 
Reply     « Reply to Why the hell my right column go under me left column?
 

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.27467 seconds with 12 queries