View Single Post
Old 12-29-2011, 10:01 AM   PM User | #2
html-tutorials
New Coder

 
Join Date: Dec 2011
Location: San Francisco, CA
Posts: 24
Thanks: 0
Thanked 5 Times in 5 Posts
html-tutorials is an unknown quantity at this point
You have an error in your source code.

Your LI tag inside the UL are not closed.

The solution to your problem:

try:

Code:
<li style = "position: absolute; top:0; left:0; width:200px; height: 20px;"></li>
(please close your LI tags!)

width and height are whatever you want them to be

Of course, you can make the CSS external, but you get the idea

Important:

In order for this to work, make sure the UL container has "relative" positioning:

Code:
<ul style = "position:relative">
good luck
__________________
Hi, I'm Greg. I am a web designer.
I like to share my knowledge with others.
Web design costs calcuator | jQuery plugin tutorial
Make cinnamon french toast | bora
html-tutorials is offline   Reply With Quote