Jump to content


- - - - -

I need the menu to line up


  • This topic is locked This topic is locked
2 replies to this topic

#1 vigge_sWe

    EC Sophmore

  • Members
  • PipPipPipPip
  • 98 posts

Posted 25 October 2008 - 10:14 AM

Posted Image

I want the links and lines to be in one line as an menu but I'm clearly not suceeded... Any ideas?

This is the code I am using:

<div class="menuleft">
<a href="#">Link1</a><div class="line"><img src="images/line.png" alt="" /></div><a href="#">link2</a><div class="line"><img src="images/line.png" alt="" /></div>
</div>


The CSS:

.menuleft {
margin-top:-32px;
padding-left:100px;
width:100%;

}
.line {
margin-top:-33px;
margin-left:30px;
}


Any ideas?

I tried:

<div class="menuleft">
<div class="border">
<a href="#">Link1</a>
</div>
</div><div class="menuleft"><div class="border">
<a href="#">Link1</a>
</div>
</div>


and

.menuleft {
margin-top:-32px;
padding-left:100px;

}

.border {
width:40px;
border-right: #b2d1e1;
border-right-width:1px;
border-right-style:solid;
}
too but it won't work either

NVM got it. Topic can be closed

#2 JuniorD

    EC Senior

  • Administrators
  • PipPipPipPipPipPip
  • 176 posts

Posted 25 October 2008 - 01:17 PM

try making the margin bottom 0px.

Closing due to your request. :P

Posted Image


ExchangeCore: Graphic Designs Lead Organizer and Supervisor.

Email me for Photoshop tips and technical help.


Email: JuniorD@ExchangeCore.Com


#3 Joe

    Root Administrator

  • EC-Owner
  • PipPipPipPipPipPipPipPip
  • 393 posts

Posted 24 March 2009 - 04:51 AM

add
display:inline;


put it in your .menuleft css class and get rid of you're .line class altogether.
joemeyer@exchangecore.com
Any requests for designs,scripts or web-hosting please visit our Client Center.
Thank you for supporting ExchangeCore!





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users