Rank: Newbie Groups: Member
Joined: 3/15/2013 Posts: 7
|
Hi guys, i have a new problem. Now the code looks like this:
Code: HTML/ASPX
<ul>
<li>
<div style="background-color:gray; width:300px; float:left; position:absolute;"> </div>
<div style="float:left; position:relative;"><a href="http://www.google.com">google</div>
</li>
<li>
<div style="background-color:gray; width:300px; float:left; position:absolute;"> </div>
<div style="float:left; position:relative;"><a href="http://www.google.com">google</div>
</li>
</ul>
As you can see now it shows he links but not the gray bars anymore. Thanks for support
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
Floating element positioning with list is very tricky. Different browsers interprets it different ways. You can use Google Chrome to verify your output. And you will see it renders your HTML the same way as we do.
Thanks!
|