Jump to content

Recommended Posts

i really confuse with this, i have attached the code below

 

* { margin:0; padding:0; }

 

#demo {

border:solid;

width:300px;

font-family:Verdana,Arial,Sans-Serif;

font-size:12px;

}

 

#demo a { text-decoration:none; }

#demo img { border: 2px solid #FFFFFF; }

 

.news { width:200px; }

.news ul li{ list-style:none;}

.news .thumbnail { float:left; width:110px; }

.news .info span.cat { display: block; padding-top:0px; margin-top:0px;    font-size:10px; color:#808080; }

 

.clear { clear: both; padding-top:5px; padding-bottom:5px;}

 

 

Below is my html code:

<table><tr><td>

<div id="demo">   

 

    <div class="news">

<ul>

            <li>

 

<div class="info">

               

<a href="test1.html">Test1</a>

 

<span class="cat">Category: test1</span>

</div>

<div class="clear"></div>

</li>

 

            <li>

 

<div class="info">

<a href="test2.htm">test2</a>

<span class="cat">Category: test2</span>

</div>

<div class="clear"></div>

</li>

            <li>

<div class="info">

<a href="test3.htm">Test3</a>

<span class="cat">Category: test3</span>

</div>

<div class="clear"></div>

</li>

 

 

        </ul>

    </div>

 

   

</div></td><td>

    <div id="demo"><div class="news">

<ul>

            <li>

 

<div class="info">

               

<a href="test1.html">Test1</a>

 

<span class="cat">Category: test1</span>

</div>

<div class="clear"></div>

</li>

 

            <li>

 

<div class="info">

<a href="test2.htm">test2</a>

<span class="cat">Category: test2</span>

</div>

<div class="clear"></div>

</li>

            <li>

<div class="info">

<a href="test3.htm">Test3</a>

<span class="cat">Category: test3</span>

</div>

<div class="clear"></div>

</li>

 

 

        </ul>

    </div>

 

   

</div></td></tr><table>

 

I create two columns with the same css style and text but the problem is that when i run it on my IE browser, all the text in the first column goes down and not located exactly next to the second column....

 

Thx

Link to comment
https://forums.phpfreaks.com/topic/196870-ff-and-ie-60-different-results/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.