Jump to content

Cross Browser Issues - Lists


stublackett

Recommended Posts

Hi,

 

The page I'm working on : http://www.fpwebdesign.com/berwickrangers/

 

Is using a list for the News Items. I'd ideally like to line up the items directly below the <h1> Tag which is "Latest News Headlines"

 

At the moment in FireFox I've used margin-left:-40px; and it sits fine in there. But in IE the list is sitting waaaaaaaaaay over to the left.

 

Heres my code, How do I get it so it looks the same in BOTH browsers and of course lines up properly, Cheers :)

 

#news ul {
list-style: none;
margin-left: 1px;
margin: 0;
}

#news li {
line-height: 18px;
margin-left: -40px;
}

Link to comment
https://forums.phpfreaks.com/topic/143118-cross-browser-issues-lists/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.