Log In · Register

 
Navigation look problem
ShizukaHio
post Feb 25 2009, 06:07 PM
Post #1


Member
**

Group: Member
Posts: 28
Joined: Jan 2009
Member No: 708,903



I have tried to do other layouts before and never had this problem.

My Navigation look, you know the background color isn't going the way I want it. It is only big to the length of the word.

It looks like this:




So please if anyone can, help, what am I doing wrong? I want it to look even.
 
 
Start new topic
Replies (1 - 7)
imperfectionistx
post Feb 25 2009, 06:13 PM
Post #2


(:
*****

Group: Official Designer
Posts: 461
Joined: Jul 2005
Member No: 184,978



I can't see the pic, stupid slow school comp :P
But if it's text links, you can add:
display: block;
to make it even, and you can also add:
width: XXpx;
if you want a certain width.
 
ShizukaHio
post Feb 25 2009, 06:30 PM
Post #3


Member
**

Group: Member
Posts: 28
Joined: Jan 2009
Member No: 708,903



Ok well give me a little bit so I can try that, I hope it works.
 
Mickey
post Feb 25 2009, 06:34 PM
Post #4


Treasure Pleasure
********

Group: Head Staff
Posts: 11,193
Joined: Oct 2005
Member No: 281,127



Setting the links to block display should give you the result you're looking for. Make the links look like this:

CODE
<a href="URL" style="display:block;">LINK</a>

That should do it.
 
ShizukaHio
post Feb 25 2009, 06:37 PM
Post #5


Member
**

Group: Member
Posts: 28
Joined: Jan 2009
Member No: 708,903



Okay that worked but I have one other problem, how can I do a tiny space between the links? Oh and thank you.
 
allvanishing
post Feb 25 2009, 11:15 PM
Post #6


simple and clean...
****

Group: Official Designer
Posts: 149
Joined: Nov 2006
Member No: 478,009



You could add a margin to the link:
CODE
<a href="URL" style="display:block; margin-bottom: 4px;">LINK</a>

Above, it's set to 4 pixels. You can change it to the size desired.
 
ShizukaHio
post Feb 27 2009, 11:40 PM
Post #7


Member
**

Group: Member
Posts: 28
Joined: Jan 2009
Member No: 708,903



Ok thank you all so much for you help I really appreciate it.
 
manny-the-dino
post Feb 27 2009, 11:42 PM
Post #8


Senior Member
*******

Group: Administrator
Posts: 8,629
Joined: Jan 2007
Member No: 498,468



Topic Closed & Moved
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: