I've attached a screenshot of my problem. My menu bar is too far to the right which I'm guessing is because the <ul> tag makes it indent. Does anyone know how to get it running alongside the rest of the text?
The site isn't up yet and is on my PC. I have this for my menu bar at the moment:
ul {margin: 0; padding: 0;}
ul li {display:inline; margin:0 10px 0 10px; padding: 0;}
ul li a {border-left:8px solid white; text-decoration:none; padding:0;}
This should get you aligned with the left edge. Adjust the values as needed.
FYI
* My screen resolution is set at 1680x1050
* I'm accessing your site through a T1 line
* I'm probably viewing it using Firefox (unless browser is specified)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
ul {margin: 0; padding: 0;}
ul li {display:inline; margin:0 10px 0 10px; padding: 0;}
ul li a {border-left:8px solid white; text-decoration:none; padding:0;}
</style>
</head>
<body>
<ul>
<li><a href="">as;ldkfj;slkfj</a></li>
<li><a href="">aslkdfj</a></li>
<li><a href="">a;lsdkfj</a></li>
</ul>
</body>
</html>
Check what you've got against mine...
Since they're inline & if you want them uniform in size, you may need to determine widths for the <li>.
FYI
* My screen resolution is set at 1680x1050
* I'm accessing your site through a T1 line
* I'm probably viewing it using Firefox (unless browser is specified)
Aaargh, I know what I'd done. When you posted your first response, I'd found a solution that suggested using a -x px to move it in.......it was still there, which was how I ended up with the overlapping text!
10:30 and I think I've been working on this too long! Sorry and thanks again for your help!
It's as close as I'll get it because I have a left border on it......looks much better.
Can't thank you enough, was nearly pulling my hair out
I run into this problem quite a bit too... that 40-pixel 'gap' that is assumed for the bullets to reside, -even if you cite "inline" which removes the bullets, it seems as if I still end up with that left-hand 'gap' which in tight real estate space can be annoying.
Bookmarks