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
[split from] - Div's problem (very important)
Old 06-14-2010, 06:47 AM [split from] - Div's problem (very important)
Junior Talker

Posts: 1
Name: vikas gupta
Trades: 0
i have a div's releated problem in this code.
HTML Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title> Flexible Layout By Div </title>
<meta name="Generator" content="EditPlus">
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
<style type='text/css'>
body
{
    margin: 0px;
    padding: 0px;
}
</style>
</head>
<body>
    <div style='height:100%;width:100%;' align='center'>
        <div style='width:80%;height:100%;'>
            <div style='background:#669900;width:70%;height:20%;float:left;overflow:hidden;'></div>
            <div style='background:#6699ff;width:30%;height:20%;float:right;'></div>
        </div>
    </div>
</body>
</html>
this code is working well in firefox. but not working in IE when you will resize the window then the structure distorted.
I don't why it is so.

Thanks

Last edited by chrishirst; 06-14-2010 at 06:50 AM..
vikasgupta is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-14-2010, 06:53 AM Re: [split from] - Div's problem (very important)
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,376
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Do not hijack threads


AND use a full doctype
__________________
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 online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to [split from] - Div's problem (very important)
 

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