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
CSS pagesize doesnt fit when its over 100% > <
Old 11-20-2009, 11:44 PM CSS pagesize doesnt fit when its over 100% > < HELP !!!
Junior Talker

Posts: 2
Trades: 0
As title how do i manage a good background from what i have done ? since i can't control the height when its over 100% .
> <''

Thank you in advance.


Below is the css stylesheet code.
Code:
.pagesize{

position: absolute;
top: 0%;
left: 10%; 
width:80%;
height: 100%;

background-image:url('test.jpg');
background-repeat:no-repeat;
background-attachment: fixed;

}

.logo{

position: absolute;
top: 0%;
left: 0%; 
width:40%;
height: 20%;

background-color: green;

}

.mainsponsor{

position: absolute;
top: 0%;
left: 40%; 
width:60%;
height: 20%;

background-color: red;

}

.sidemenu{

position: absolute;
top: 20%;
left: 0%; 
width:15%;
height: 50%;

background-color: yellow;

}

.speaker{

position: absolute;
top: 20%;
left: 16%; 
width: 83%;
height: 30%;

background-color: blue;

}

.vmenu{

position: absolute;
top: 52%;
left: 16%; 
width: 83%;
height: 10%;

background-color: purple;

}

.news{

position: absolute;
top: 64%;
left: 16%; 
width: 60%;
height: 70%;

background-color: teal;

}

.gadget{

position: absolute;
top: 64%;
left: 78%; 
width: 22%;
height: 50%;

background-color: blue;

}

.sponsors{

position: absolute;
top: 134%;
left: 5%; 
width: 90%;
height: 40%;

background-color: blue;

}
Below is HTML page.
Code:
<html>
<head>
<link href="mystyle.css" rel="stylesheet" type="text/css" />

</head>
<body>
<div class="pagesize">

<div class="logo"> </div>

<div class="mainsponsor"> </div>
<div class="sidemenu"> </div>
<div class="speaker"> </div>
<div class="vmenu"> </div>
<div class="news"> </div>
<div class="gadget"> </div>


<div class="sponsors"> </div>


</div>
</body>
</html>

Last edited by tayhaithian; 11-21-2009 at 03:22 AM.. Reason: Need response inorder to continue further work =/
tayhaithian is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-21-2009, 06:12 AM Re: CSS pagesize doesnt fit when its over 100% > <
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
First thing to would be to get rid of all the absolute positioning then you might have a chance of controlling something.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I 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 CSS pagesize doesnt fit when its over 100% > <
 

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