Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 21st, 2005, 12:52 AM
Helge
Guest
 
Posts: n/a
Default DIV doesn't move up

Hi there

I have a question regarding http://www.chriss.no/test. The <div
id="rightcorner"> doesn't move up to where it should be in Internet
Explorer.

The HTML is like this:

<div id="right">
<div id="content">
<div id="innercontent">

<h2>Heading</h2>
<p>Text</p>


</div><!-- /innercontent -->
</div><!-- /content -->

<div id="rightcorner">
</div><!-- /rightcorner -->

</div><!-- /right -->

and at the moment, the CSS for this is:

div#right
{
line-height: 200%;
font-size: .8em;
}

div#content
{
float: left;
width: 468px;
background: #FFF;
}

div#innercontent
{
margin: 3px;
border: 3px solid #E50C06;
padding: 15px;
}

div#content h2
{
margin: 0;
padding-top: 10px;
text-transform: uppercase;
font-size: 1.7em;
color: #E50C06;
}

div#rightcorner
{
float: right;
width: 39px;
height: 273px;
background: url('images/annet/rightcorner.jpg') no-repeat;
display: block;
position: relative;
top: 0;
}

It works properly in Opera, but not in Internet Explorer (I'm using
the 6.0 version).

How can I move the <div id="rightcorner" up to it's correct position
in IE, without influencing it's position in Opera?

Best,
Helge Fredheim
 

Bookmarks

Thread Tools

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles