 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
quartzy
Joined: 26 Dec 2007 Posts: 413
|
Posted: Wed Feb 06, 2008 1:59 pm end border showing |
|
|
|
The end border is showing on my top navigation, I added a class to it, so I must have done something wrong. Here is the CSS
| Code: |
.indentmenu{
font: bold 12px Verdana;
width: 100%; }
.indentmenu ul{
margin: 0;
padding: 0;
float: right;
width: 750px;
background: white url(images/indentbg.gif) center center repeat-x;
}
.indentmenu ul li{
display: inline;
}
.indentmenu ul li a{
float: right;
color: black;
padding:5px 11px;
text-decoration: none;
border-right: 1px solid #000000;
}
.indentmenu ul li a:visited{
color: white;
}
.indentmenu ul li a:hover, .indentmenu ul li .current{
color: black;
padding-top: 5px;
padding-bottom: 5px;
background: white;}
.last {
border-right: none; }
|
and the HTML is: note I added the class to it.
| Code: |
<div id="container">
<div id="header">
<img src="images/logo.gif" width="300" height="90" alt="header/logo">
<div class="indentmenu">
<ul>
<li class="last"><a href="sitemap.htm">sitemap</a></li>
<li><a href="privacy.htm">privacy</a></li>
<li><a href="about.htm">about</a></li>
<li><a href="vassistant.htm">v.assistant</a></li>
<li><a href="tutorials.htm">tutorials</a></li>
<li><a href="contacts.htm">contacts</a></li>
<li><a href="index.htm">home</a></li>
</ul>
</div>
</div></div>
|
Cant figure out why it does not work, does anyone know a good free editor where I can store images and files?
HTML/CSS/PHP I am fed up with FP |
|
madprof
Joined: 26 Jan 2008 Posts: 98
|
Posted: Wed Feb 06, 2008 3:22 pm |
|
|
|
All links have a right border applied to them so you'll getting that.
Without seeing what you're seeing it is hard to know if your border is a background showing through or not.
You can remove the indentmenu <div> entirely and just give your <ul> the ID 'indentmenu'. Then change your styles from:
.indentmenu ul { ... }
to
#indentmenu {...}
Which will do the same thing but with less code and hopefully a bit easier to spot stuff with.
Notepad makes an excellent editor but there are loads of text editors that people swear by out there. |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8428 Location: Castle Pines North, CO USA
|
Posted: Wed Feb 06, 2008 3:23 pm Re: end border showing |
|
|
|
| quartzy wrote: |
Cant figure out why it does not work, does anyone know a good free editor where I can store images and files?
HTML/CSS/PHP I am fed up with FP |
Try Microsoft Expression Web. Much better than Frontpage (especially if you are using 2000 / 2002). They have a free 60-day trial offer as well.
Sorry but I don't know what end border is unfortunately.
_________________
Corey
Residential Office Solutions | Mile High Merchant Accounts | Expression Web Blog |
|
quartzy
Joined: 26 Dec 2007 Posts: 413
|
Posted: Wed Feb 06, 2008 4:21 pm re border |
|
|
|
| thanks for your responses, I decided to make the end border after the vertical links white so that it does not show, the borders were black before. I think I will get Expression web as an upgrade, as I have had no luck with the free ones. I would use notepad but I cant seem to figure out where everything is and I like having the folders, files and images together. Never knew they offered a 60 day free trial, great. |
|
sticks464

Joined: 31 Dec 2006 Posts: 1283
|
Posted: Wed Feb 06, 2008 4:56 pm |
|
|
|
The borders are on the anchor tag not the list item so the class last should go on the anchor
<li><a href="sitemap.htm" class="last">sitemap</a></li> |
|
quartzy
Joined: 26 Dec 2007 Posts: 413
|
Posted: Thu Feb 07, 2008 4:10 am re |
|
|
|
| thanks I will remember it for the future. |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
|
 |
|
|
|
|
|
|
|