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
Pagesize/Wrapper doesnt follow what we i want in different browser
Old 12-31-2009, 11:57 PM Pagesize/Wrapper doesnt follow what we i want in different browser
Junior Talker

Posts: 2
Trades: 0
So far i had compared with IE6 and Google Chrome, it seems that IE6 perform what i wanted it to be as the pagesize in css is black where wrapping all the others div to the end while Google Chrome just behave weirdy ...

Following is the codes :
HTML:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>

<link href="mystyle.css" rel="stylesheet" type="text/css" />

</head>
<body>

<div class="pagesize">

	<div class="logo"> <img src="mitosc_logo.jpg" width="410" height="150" /></div>

	<div class="mainsponsor"> Main Sponsor </div>
	<div class="sidemenu"> Side Menu</div>
	<div class="speaker"> Speaker </div>
	<div class="vmenu"> Vertical Menu </div>
	<div class="news"> News </div>
	<div class="gadget"> Gadgets </div>
	<div class="sponsors"> </div>


</div>





</body>
</html>
CSS:
Code:
body {
	background-image:url('gradient.jpg');
	background-repeat:repeat-x;
	font-size:12px;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	}	
	
	
.pagesize{
    width: 80%;
    background-color:black;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
	margin-top: auto;
	margin-bottom: auto;

}

.logo{

float: left;
width:40%;
height: 150px;
background-color: green;

}

.mainsponsor{
float: left;
width:58%;
height: 150px;
background-color: red;

}

.sidemenu{

float: left;
width:18%;
height: 400px;
background-color: yellow;

}

.speaker{

float: left;
width: 82%;
height: 150px;
background-color: blue;

}

.vmenu{

float: left;
width: 82%;
height: 100px;
background-color: purple;

}

.news{

float: left;
width: 60%;
height: 800px;
background-color: teal;

}

.gadget{

float: left;
width: 22%;
height: 300px;
background-color: blue;

}

.sponsors{

float: left;
width: 90%;
height: 200px;
background-color: blue;

}
tayhaithian is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-01-2010, 07:01 AM Re: Pagesize/Wrapper doesnt follow what we i want in different browser
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
"behave weirdy" is that a technical description??

Read THIS
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Pagesize/Wrapper doesnt follow what we i want in different browser
 

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