Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

AlBDamned

macrumors 68030
Original poster
Mar 14, 2005
2,641
15
See here: the same navigation bar in Safari 3 and Firefox 2 on the Mac.

Safari messes up the line, whereas Firefox renders it perfectly. The nav bar is HTML. Safari also messes up the design on another site I work on and it's seriously annoying.
 

Attachments

  • Picture 1.jpg
    Picture 1.jpg
    68.9 KB · Views: 131
  • Picture 3.jpg
    Picture 3.jpg
    51.5 KB · Views: 103

angelwatt

Moderator emeritus
Aug 16, 2005
7,852
9
USA
Looks like a width, padding, margin type of problem possibly. Would have to see the HTML and CSS for it to know for sure.
 

AlBDamned

macrumors 68030
Original poster
Mar 14, 2005
2,641
15
Looks like a width, padding, margin type of problem possibly. Would have to see the HTML and CSS for it to know for sure.

Yeah it's definitely to do with the width. I'm just keen to know why it's handled differently in the two browsers.
 

AlBDamned

macrumors 68030
Original poster
Mar 14, 2005
2,641
15
Impossible to know without seeing HTML. It's like diagnosing someones car problem over the phone.

Ok here you go (url blanked out). it's pretty crude I know, but I've built my site on Typepad/Movable Type so this is workaround to having a nav bar. :eek:

<div id="banner">
<div id="banner-inner" class="pkg">

<h1 id="banner-header"><a href="http://www.-----------------------/" accesskey="1">-------</a></h1>

</div>

</div><img src= "http://----------------------------/borderline.gif" width="1306" height="1" />
<p align="left">&nbsp&nbsp<strong>|</strong>&nbsp&nbsp&nbsp&nbsp<a href=http://www.------------com>Home</a>&nbsp&nbsp&nbsp&nbsp

<strong>|</strong>&nbsp&nbsp&nbsp&nbsp
<a href=http://----------------------------html>About</a>
&nbsp&nbsp&nbsp&nbsp

<strong>|</strong>&nbsp&nbsp&nbsp&nbsp&nbsp
<a href=http://---------------------------->News</a>
&nbsp&nbsp&nbsp&nbsp&nbsp

<strong>|</strong>&nbsp&nbsp&nbsp&nbsp
<a href=http://---------------------------->Contact us</a>&nbsp&nbsp&nbsp&nbsp

<strong>|</strong>&nbsp&nbsp&nbsp&nbsp
<a href=http://---------------------------->---------------</a>&nbsp&nbsp&nbsp&nbsp

<strong>|</strong>&nbsp&nbsp&nbsp&nbsp&nbsp
<a href=http://---------------------------->Submit an article</a>&nbsp&nbsp&nbsp&nbsp

<strong>|</strong>&nbsp&nbsp&nbsp&nbsp&nbsp<a href=http://---------------------------->Submit news</a>&nbsp&nbsp&nbsp&nbsp

<strong>|</strong>&nbsp&nbsp&nbsp&nbsp&nbsp
<a href=http://---------------------------->Help</a>&nbsp&nbsp&nbsp&nbsp

<strong>|</strong>&nbsp&nbsp&nbsp&nbsp&nbsp
<a href=http://---------------------------->Site map</a>&nbsp&nbsp&nbsp&nbsp

<strong>|</strong>&nbsp&nbsp&nbsp&nbsp&nbsp
<a href=http://---------------------------->Charts</a>&nbsp&nbsp&nbsp&nbsp

<strong>|</strong>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp

<a href=http://----------------------------/rss-feeds.html>RSS feeds</a>&nbsp&nbsp&nbsp&nbsp&nbsp

<strong>|</strong>&nbsp&nbsp&nbsp&nbsp&nbsp
<a href=http://feeds.feedburner.com/----------><img align=bottom src= "http://www.----------.com/rss-logo.gif" width="15" height="15" border=0/></a>&nbsp&nbsp&nbsp&nbsp&nbsp

<strong>|</strong><p>
<img src= "http://www.----------------------------/borderline.gif" width="1306" height="1" /> <p>
<div id="pagebody">
<div id="pagebody-inner" class="pkg">
<div id="alpha">

<div id="alpha-inner" class="pkg">
 

angelwatt

Moderator emeritus
Aug 16, 2005
7,852
9
USA
I'd personally do this with CSS rather than nbsp and images for border lines.

Non-breaking spaces can be accomplished using CSS with the whitespace property (e.g., #wrapper p { whitespace: nowrap; }). Then use paddings and margins on each item and borders on each item for the vertical lines, and then a border for the whole section for the horizontal lines above and below.
 

AlBDamned

macrumors 68030
Original poster
Mar 14, 2005
2,641
15
I'd personally do this with CSS rather than nbsp and images for border lines.

Non-breaking spaces can be accomplished using CSS with the whitespace property (e.g., #wrapper p { whitespace: nowrap; }). Then use paddings and margins on each item and borders on each item for the vertical lines, and then a border for the whole section for the horizontal lines above and below.

I'd love to do that but it's way beyond my skills unfortunately :eek:
 

AlBDamned

macrumors 68030
Original poster
Mar 14, 2005
2,641
15

Here, it's using the three-column right layout. Thanks for looking at this. :)



/* base css */
@import url(/.shared/themes/common/base-weblog.css);



/* portal css */


/* theme css */
/* general page elements */

a
{
text-decoration: none;
font-weight: bold;
}

a:link { color: #003366; }
a:visited { color: #003366; }
a:hover { color: #6699CC; }
a:active { color: #003366; }


/* layout */

body
{
margin: 0;
color: #333333;
background: #FFFFFF;
font-family: 'Lucida Grande', Verdana, sans-serif;
font-weight: normal;
font-size: small;
line-height: 150%;
}

#container { position: static; }

#container-inner
{
position: static;
border: 5;
background: #FFFFFF;
}

#banner
{
border: 5;
/* no ie mac \*/ height: 1%; /* ie win 5.5, 6 win */
color: #FFFFFF;
background: #FFFFFF;
text-align: left;
font-family: 'Trebuchet MS', Verdana, sans-serif;
}

#banner-inner { padding: 5px; }

#banner a
{
color: #FFFFFF;
text-decoration: none;
}

#banner-header
{
margin: 0.25em 0;
font-size: xx-large;
font-weight: bold;


}

#banner-description
{
margin: 0.25em 0;
font-size: small;
}

/* banner image */

#banner
{
height: 191px;
background-image: url("http://www.xxxxxxxxxx.gif");
background-position: 15px 15px;
background-repeat: no-repeat;
text-align: left;
}

#banner-inner { overflow: visible; padding: 10; }

#banner-header
{
position: absolute;
left: 5;
top: 0;
width: 1300px;
height: 100%;
margin: 0;
padding: 15;
}

#banner-header a
{
display: block;
left: 0;
top: 0;
height: 191px;
text-indent: -1000em;
}

#banner-description
{
overflow: hidden;
width: 0;
height: 0;
margin: 0;
padding: 0;
text-indent: -1000em;
}



/* default to artistic/calendar/timeline layout */

#container
{
width: auto;
}

.layout-artistic #alpha,
.layout-calendar #alpha
{

display: block;
float: none;
width: auto;
margin-right: 465px;

}

.layout-artistic #alpha-inner,
.layout-calendar #alpha-inner,
.layout-timeline #alpha-inner
{
border-bottom: 1px solid #CCCCCC;
padding: 15px 14px 15px 15px;
background: #FFFFFF;
}

.layout-artistic #beta,
.layout-calendar #beta
{
width: 465px;
display: block;
position: absolute;
float: none;
right: 0;
top: 0;

}

.layout-artistic #beta-inner,
.layout-calendar #beta-inner,
.layout-timeline #beta-inner
{
border-bottom: 1px solid #CCCCCC;
padding: 15px 15px 15px 14px;
background: #FFFFFF;
}

/* in artistic/calendar/timeline layouts, #gamma and #delta are inside #beta */

#beta #gamma, #beta #delta { width: 210px; margin: 15px 0; }
#beta #gamma-inner, #beta #delta-inner { padding: 0; }


/* content */

.content-nav { margin-top: 0; }

.date-header,
.trackbacks-header,
.comments-header,
.comments-open-header,
.archive-header
{
margin: 0 0 10px 0;
border: 0;

color: #333333;
font-family: 'Lucida Grande', Verdana, sans-serif;
font-size: medium;
text-align: left;
font-weight: bold;


}

.entry-header
{
margin: 1px 0 10px 0;
border: 0;

color: #000000;
font-family: 'Lucida Grande', Verdana, sans-serif;
font-size: large;
text-align: left;
font-weight: bold;


}

.entry-header a
{
text-decoration: none;
font-weight: bold;
}

.entry-header a:link { color: #000000; }
.entry-header a:visited { color: #000000; }
.entry-header a:hover { color: #000000; }
.entry-header a:active { color: #000000; }

.entry-content,
.entry-footer,
.trackbacks-info,
.trackback-content,
.comment-content,
.comments-open-content,
.comments-open-footer,
.comments-closed,
.archive-content
{
margin: 10px 0;
}

.entry-content p { text-align: left; }

.entry-footer,
.trackback-footer,
.comment-footer
{
margin: 0 0 10px 0;
border-top: 1px solid #CCCCCC;
padding: 3px;
color: #000000;
font-family: 'Lucida Grande', Verdana, sans-serif;
font-size: x-small;
line-height: normal;
text-align: left;



}

#comment-author, #comment-email, #comment-url, #comment-text
{
width: 80%;
}

/* fixes bug in ie win */
img.image-full
{
width: 320px;
}


/* modules */

.module a
{
text-decoration: none;
font-weight: bold;
}

.module a:link { color: #003366; }
.module a:visited { color: #003366; }
.module a:hover { color: #6699CC; }
.module a:active { color: #003366; }


.module-header
{
margin: 5px 0;
border: 1px solid #999999;
padding: 3px;
color: #666666;
font-family: 'Lucida Grande', Verdana, sans-serif;
font-size: x-small;
line-height: normal;
font-weight: bold;

text-transform: uppercase;
letter-spacing: .3em;
text-align: left;
}

.module-content
{
margin: 5px 0 20px 0;
color: #333333;
font-family: 'Lucida Grande', Verdana, sans-serif;
font-size: x-small;
line-height: 150%;
font-weight: bold;


text-align: left;
}

.module-list { margin: 0; }
.module-list-item { margin: 10px 0; }
.typelist-thumbnailed .module-list-item { margin: 10px 0; }

.module img,
.module-photo img
{
border: 0;
}

.module-photo .module-content
{
text-align: left;
}

.module-powered { text-align: left; }

.module-calendar .module-header
{
color: #666666;
font-family: 'Lucida Grande', Verdana, sans-serif;
font-size: x-small;
border: 1px solid #999999;
text-align: left;
font-weight: bold;

text-transform: uppercase;
padding: 3px;
letter-spacing: .3em;
}

.module-calendar th,
.module-calendar td
{
text-align: center;
font-weight: normal;
}

.typelist-thumbnail img { margin: 0; }

.module-featured-photo { margin-bottom: 5px; }
.module-featured-photo .module-content img { width: 420px; }

.module-recent-photos .module-content { padding: 2px 0 0 0; }
.module-recent-photos .module-list { margin: 0; }

.module-recent-photos .module-list-item
{
width: 70px; /* ie mac fix */
height: 70px; /* for appearance with varying image border widths */
margin: 0 2px 2px 0;
}

.module-tipjar-r2 .tipjar-button
{
float: left;

}


/* moblog1 tweaks */

.layout-moblog1 #container
{
width: auto;
}


.layout-moblog1 #alpha
{
width: 200px;
display: block;
position: absolute;
float: none;
left: 0;
top: 0;

}

.layout-moblog1 #alpha-inner
{
border-right: 1px solid #CCCCCC;
padding: 15px 14px 15px 15px;
background: #FFFFFF;
}

.layout-moblog1 #beta
{

display: block;
float: none;
width: auto;
margin-left: 200px;
margin-right: 200px;

}

.layout-moblog1 #beta-inner
{
border-right: 1px solid #CCCCCC;
padding: 15px 14px 15px 15px;
background: #FFFFFF;
}

.layout-moblog1 #gamma
{
width: 200px;
display: block;
position: absolute;
float: none;
right: 0;
top: 0;

}

.layout-moblog1 #gamma-inner
{
border-left: 1px solid #CCCCCC;
padding: 15px 15px 15px 14px;
background: #FFFFFF;
}


/* moblog2 tweaks */

.layout-moblog2 #container
{
width: auto;
}


.layout-moblog2 #alpha
{
width: 100px;
display: block;
position: absolute;
float: none;
left: 0;
top: 0;

}

.layout-moblog2 #alpha-inner
{
border-right: 1px solid #CCCCCC;
padding: 15px 14px 15px 15px;
background: #FFFFFF;
}

.layout-moblog2 #beta
{

display: block;
float: none;
width: auto;
margin-left: 100px;
margin-right: 330px;

}

.layout-moblog2 #beta-inner
{
border-right: 1px solid #CCCCCC;
padding: 15px 14px 15px 15px;
background: #FFFFFF;
}

.layout-moblog2 #gamma
{
width: 190px;
display: block;
position: absolute;
float: none;
right: 140px;
top: 0;

}

.layout-moblog2 #gamma-inner
{
border-left: 1px solid #CCCCCC;
padding: 15px 15px 15px 14px;
background: #FFFFFF;
}

.layout-moblog2 #delta
{
width: 140px;
display: block;
position: absolute;
float: none;
right: 0;
top: 0;

}

.layout-moblog2 #delta-inner
{
border-left: 1px solid #CCCCCC;
padding: 15px 15px 15px 14px;
background: #FFFFFF;
}

.layout-moblog2 .module-photo img { width: 100px; height: auto; }


/* timeline tweaks */

.layout-timeline #alpha
{

display: block;
float: none;
width: auto;
margin-right: 390px;

}

.layout-timeline #beta
{
width: 390px;
display: block;
position: absolute;
float: none;
right: 0;
top: 0;

}

.layout-timeline #beta #gamma { width: 175px; }
.layout-timeline #beta #delta { width: 170px; }


/* one-column tweaks */

.layout-one-column #container
{
width: auto;
}

.layout-one-column #alpha
{
display: block;
float: none;
width: auto;
}

.layout-one-column #alpha-inner
{
border-full: 1px solid #CCCCCC;
padding: 15px 14px 15px 15px;
background: #FFFFFF;
}


/* two-column-left tweaks */

.layout-two-column-left #container
{
width: auto;
}

.layout-two-column-left #alpha
{
width: 200px;
display: block;
position: absolute;
float: none;
left: 0;
top: 0;

}

.layout-two-column-left #alpha-inner
{
border-full: 1px solid #CCCCCC;
padding: 15px 14px 15px 15px;
background: #FFFFFF;
}

.layout-two-column-left #beta
{

display: block;
float: none;
width: auto;
margin-left: 200px;

}

.layout-two-column-left #beta-inner
{
border-full: 1px solid #CCCCCC;
padding: 15px 14px 15px 15px;
background: #FFFFFF;
}


/* two-column-right tweaks */

.layout-two-column-right #container
{
width: auto;
}

.layout-two-column-right #alpha
{

display: block;
float: none;
width: auto;
margin-right: 300px;

}

.layout-two-column-right #alpha-inner
{
border-full: 1px solid #CCCCCC;
padding: 15px 14px 15px 15px;
background: #FFFFFF;
}

.layout-two-column-right #beta
{
width: 300px;
display: block;
position: absolute;
float: none;
right: 0;
top: 0;

}

.layout-two-column-right #beta-inner
{
border-full: 1px solid #CCCCCC;
padding: 15px 15px 15px 14px;
background: #FFFFFF;
}


/* three-column tweaks */

.layout-three-column #container
{
width: auto;
}

.layout-three-column #alpha
{
width: 200px;
display: block;
position: absolute;
float: none;
left: 0;
top: 0;

}

.layout-three-column #alpha-inner
{
border-left: 1px solid #CCCCCC;
padding: 10px 9px 10px 10px;
background: #FFFFFF;
}

.layout-three-column #beta
{

display: block;
float: none;
width: auto;
margin-left: 200px;
margin-right: 300px;

}

.layout-three-column #beta-inner
{
border-left: 1px solid #CCCCCC;
padding: 15px 14px 15px 15px;
background: #FFFFFF;
}

.layout-three-column #gamma
{
width: 300px;
display: block;
position: absolute;
float: none;
right: 0;
top: 0;

}

.layout-three-column #gamma-inner
{
border-left: 1px solid #CCCCCC;
padding: 15px 15px 15px 14px;
background: #FFFFFF;
}


/* three-column tweaks */

.layout-three-column-right #container
{
width: 1320px;
}

.layout-three-column-right #alpha
{
width: 770px;


}

.layout-three-column-right #alpha-inner
{
border-right: 1px solid #CCCCCC;
padding: 15px 14px 15px 15px;
background: #FFFFFF;
}

.layout-three-column-right #beta
{
width: 210px;

}

.layout-three-column-right #beta-inner
{
border-right: 1px solid #CCCCCC;
padding: 15px 14px 15px 15px;
background: #FFFFFF;
}

.layout-three-column-right #gamma
{
width: 340px;

}

.layout-three-column-right #gamma-inner
{
border: 0;
padding: 15px 15px 15px 15px;
background: #FFFFFF;
}


/* user css */
#banner {height: 191px; background-position:0px 0px; }
 

angelwatt

Moderator emeritus
Aug 16, 2005
7,852
9
USA
I'd love to do that but it's way beyond my skills unfortunately :eek:

Not a problem, here's one way. Adjust as need be. You may be more comfortable using border widths in px rather than em. It's just my way. Let me know if you need anything explained or deciphered.

HTML:
HTML:
<ul id="navbar">
  <li class="first"><a href="#">Linkage</a></li>
  <li><a href="#">Linkage</a></li>
  <li><a href="#">Linkage</a></li>
  <li><a href="#">Linkage</a></li>
  <li><a href="#">Linkage</a></li>
  <li><a href="#">Linkage</a></li>
  <li><a href="#">Linkage</a></li>
  <li><a href="#">Linkage</a></li>
  <li><a href="#">Linkage</a></li>
  <li><a href="#">Linkage</a></li>
</ul>
CSS:
HTML:
#navbar {
 margin: .3em 0; padding: .5em 0;
 font-family: sans-serif;
 white-space: nowrap;
 border-top: .12em solid #aaa;
 border-bottom: .12em solid #aaa;
}
#navbar li {
 display: inline;
 margin: 0; padding: 0 2em;
 border-right: .12em solid #000;
}
#navbar li.first {
 border-left: .12em solid #000;
}
#navbar li a {
 color: #00a; font-weight: bold;
 text-decoration: none;
}
 

ChicoWeb

macrumors 65816
Aug 16, 2004
1,120
0
California
Not a problem, here's one way. Adjust as need be. You may be more comfortable using border widths in px rather than em. It's just my way. Let me know if you need anything explained or deciphered.

HTML:
HTML:
<ul id="navbar">
  <li class="first"><a href="#">Linkage</a></li>
  <li><a href="#">Linkage</a></li>
  <li><a href="#">Linkage</a></li>
  <li><a href="#">Linkage</a></li>
  <li><a href="#">Linkage</a></li>
  <li><a href="#">Linkage</a></li>
  <li><a href="#">Linkage</a></li>
  <li><a href="#">Linkage</a></li>
  <li><a href="#">Linkage</a></li>
  <li><a href="#">Linkage</a></li>
</ul>
CSS:
HTML:
#navbar {
 margin: .3em 0; padding: .5em 0;
 font-family: sans-serif;
 white-space: nowrap;
 border-top: .12em solid #aaa;
 border-bottom: .12em solid #aaa;
}
#navbar li {
 display: inline;
 margin: 0; padding: 0 2em;
 border-right: .12em solid #000;
}
#navbar li.first {
 border-left: .12em solid #000;
}
#navbar li a {
 color: #00a; font-weight: bold;
 text-decoration: none;
}

Nice Work :)
 

AlBDamned

macrumors 68030
Original poster
Mar 14, 2005
2,641
15
Not a problem, here's one way. Adjust as need be. You may be more comfortable using border widths in px rather than em. It's just my way. Let me know if you need anything explained or deciphered.

HTML:
HTML:
<ul id="navbar">
  <li class="first"><a href="#">Linkage</a></li>
  <li><a href="#">Linkage</a></li>
  <li><a href="#">Linkage</a></li>
  <li><a href="#">Linkage</a></li>
  <li><a href="#">Linkage</a></li>
  <li><a href="#">Linkage</a></li>
  <li><a href="#">Linkage</a></li>
  <li><a href="#">Linkage</a></li>
  <li><a href="#">Linkage</a></li>
  <li><a href="#">Linkage</a></li>
</ul>
CSS:
HTML:
#navbar {
 margin: .3em 0; padding: .5em 0;
 font-family: sans-serif;
 white-space: nowrap;
 border-top: .12em solid #aaa;
 border-bottom: .12em solid #aaa;
}
#navbar li {
 display: inline;
 margin: 0; padding: 0 2em;
 border-right: .12em solid #000;
}
#navbar li.first {
 border-left: .12em solid #000;
}
#navbar li a {
 color: #00a; font-weight: bold;
 text-decoration: none;
}

Wow, thank you. I think I can see whereabouts to replace the html. Where in the CSS would I put the new CSS code? At the moment it doesn't have a "navbar" reference?

Also, I'm using "|" as separators. Will this have those or do i need to add them some how?

Thanks again for taking time to do that, really wasn't expecting such a response in this thread. :)
 

angelwatt

Moderator emeritus
Aug 16, 2005
7,852
9
USA
Wow, thank you. I think I can see whereabouts to replace the html. Where in the CSS would I put the new CSS code? At the moment it doesn't have a "navbar" reference?

Also, I'm using "|" as separators. Will this have those or do i need to add them some how?

Thanks again for taking time to do that, really wasn't expecting such a response in this thread. :)

The CSS here can be dropped anywhere in your CSS file really. The selectors are specific enough that they shouldn't conflict with any others.

The "|" is being accomplished as a border on the li tags. I'm attaching (hopefully) a partial snapshot of what the code accomplishes.

How could you expect less from MacRumors? :D
 

Attachments

  • linkage.png
    linkage.png
    5.4 KB · Views: 77

AlBDamned

macrumors 68030
Original poster
Mar 14, 2005
2,641
15
The CSS here can be dropped anywhere in your CSS file really. The selectors are specific enough that they shouldn't conflict with any others.

The "|" is being accomplished as a border on the li tags. I'm attaching (hopefully) a partial snapshot of what the code accomplishes.

How could you expect less from MacRumors? :D

Genius. I'll try it and let you know how things go :)

Edit: Ok something's not quite right. The below is what I have now.

Also, am I doing the links right? This is an example of how I filled in the lines:

<ul id="navbar">
<li><a href="#http://www.mywebsite.com>">Home</a></li>
 

Attachments

  • Picture 1.jpg
    Picture 1.jpg
    20.9 KB · Views: 77

angelwatt

Moderator emeritus
Aug 16, 2005
7,852
9
USA
Genius. I'll try it and let you know how things go :)

Edit: Ok something's not quite right. The below is what I have now.

Also, am I doing the links right? This is an example of how I filled in the lines:

<ul id="navbar">
<li><a href="#http://www.mywebsite.com>">Home</a></li>

Close, the pound (#) needs to go because that's only used for links on the current page. Also there was an extra > toward the end. Here's what it should look like.
HTML:
<li><a href="http://www.mywebsite.com">Home</a></li>

That may have been enough to throw off the CSS so lets see if fixing the links resolves the problem.
 

AlBDamned

macrumors 68030
Original poster
Mar 14, 2005
2,641
15
Ok I'm up to here now. I'd put the CSS in the wrong template (duh).

Currently the bottom border is thick, and the RSS logo and underlying link are not showing for some reason. These tweaks aside it looks much better, though. Much better!

Edit: uploaded the right picture and corrected the links in the html...
 

Attachments

  • Picture 2.jpg
    Picture 2.jpg
    21 KB · Views: 73

angelwatt

Moderator emeritus
Aug 16, 2005
7,852
9
USA
Ok I'm up to here now. I'd put the CSS in the wrong template (duh).

Currently the bottom border is thick, and the RSS logo and underlying link are not showing for some reason. These tweaks aside it looks much better, though. Much better!

Edit: uploaded the right picture and corrected the links in the html...

Yeah on border thickness I eluded to that when I first gave the code. Most people use px rather than em. In the CSS where it defines border, change the .12em portions with 1px and you'll get a thinner line.

Not completely sure on the logo issue you mention, and what you mean by "underlying link." The section for that should be something like,
HTML:
<li><a href="http://www.mywebsite.com/feed"><img src="rss.png" alt="RSS Feed" /></a></li>
 

AlBDamned

macrumors 68030
Original poster
Mar 14, 2005
2,641
15
Inching closer to the final thing. Now have the borders sorted (thanks for the PX tip!).

Still slightly out of line, no left-hand border as yet, and for some reason the RSS logo on the far right just isn't displaying.
 

Attachments

  • Picture 5.jpg
    Picture 5.jpg
    21.4 KB · Views: 63

angelwatt

Moderator emeritus
Aug 16, 2005
7,852
9
USA
Inching closer to the final thing. Now have the borders sorted (thanks for the PX tip!).

Still slightly out of line, no left-hand border as yet, and for some reason the RSS logo on the far right just isn't displaying.

For the left border make sure the first link has the class 'first'
HTML:
<li class="first">....</li>
For the RSS logo, I'm not real sure. Make sure you have the source of the image right. If you can't see anything wrong post the li tag with that logo here and I'll see if I can see anything that might be causing it. Also be sure to quote attributes (e.g, border="0"). I'm heading to bed now so won't be able to respond till morning.
 

AlBDamned

macrumors 68030
Original poster
Mar 14, 2005
2,641
15
A big thanks to Angelwatt for this. I think it's just about right. There's still a slight difference in alignment between firefox and safari, but I think this is about as good as it will get (firefox render is perfect).

The RSS logo wasn't displaying, but I re-wrote the link/code in the browser and it worked second time around. Also tweaked some of the padding to 2.33 to even it out. Looks good, and much less crude underneath. :)
 

Attachments

  • Picture 6.jpg
    Picture 6.jpg
    20.8 KB · Views: 66
  • Picture 7.jpg
    Picture 7.jpg
    21.4 KB · Views: 74
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.