HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
link alignment
Post new topic   Reply to topic    HTML Help Forum Index -> General HTML
View previous topic :: View next topic  
Author Message
beginner.html



Joined: 02 Aug 2007
Posts: 347

PostPosted: Wed May 14, 2008 1:03 pm     link alignment Reply with quote

I have a few links aligned vertically. Can't get them to align horizontally. Any ideas? Also, my sentences in my paragraphs won't go across the page. Goes only half way.
PayneLess Designs



Joined: 28 Feb 2007
Posts: 342
Location: Biloxi, MS

PostPosted: Wed May 14, 2008 9:45 pm     Reply with quote

Got lots of ideas, but need to see what your code is. Basically, you would use the styling:

display: inline;

for a nav list.

I hope you are using a non-ordered list to put your nav links in:

Code:
<ul>
<li><a href="" title="Link One">Link One</a></li>
.
.
.
<li><a href="" title="Last One">Last One</a></li>
</ul>


Then the style for horizontal:

ul li { display: inline; }

Add what ever other styling you need for your links.

Ron
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> General HTML All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
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
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial