|
|
Sponsor Advertisement
|
Blogger Talk Blogging Community Blogs directories, blogging resources, blog tools, blog sites, blogging news, Blog tutorial, Blogging books.
|
Writing Community community for fiction writing, story writing, poetry writing, writing contests, writing help, writing warnings
|
|
|

|
jacky
Level 1 User
Occupation:
Offline
|
Joined: Dec 08, 2006
Find all post by jacky
Total Posts: 4
0.00 posts per day
Total Words: 0
|
Posted: Mon Oct 27, 2008 4:10 am Post subject: xhtml displaying unordered list horizontally using css and i
|
|
|
|
|
I have a unordered list with links to each page in the website like this...In my CSS file I have tagged #hole_list with the following#hole_list{text-align: center;height: 30px; margin: 0px;background-color: rgb(53, 43, 48);font-weight: 700;color: white;font-size: 1.25em;list-style-type: none;padding-top: 0px;padding-bottom: 0px;padding-left: 5px;padding-right: 5px;}Now whem I display the html it shows my page links like such"12345"What I would like are the links right beside each other like so..."1 2 3 4 5"How can I display the links horizontally beside each other?I now have the list displaying horizontally like so "1 2 3 4 5" thanks to answers, but now just need it in the center. So I am trying indents/margins/padding too align it so...I am not suppose to mess with the htm file just CSS to apply styles to Id tags in the htm file...So far thanks to all just trying to align now which shouldn't be that hard...thumbs up
|
|
|
|
|
Back to top
Sponsor Advertising
|
|
|
|
|

|
jasondboone
Level 1 User
Occupation:
Offline
|
Joined: May 22, 2006
Find all post by jasondboone
Total Posts: 2
0.00 posts per day
Total Words: 0
|
Posted: Mon Oct 27, 2008 4:17 am Post subject: xhtml displaying unordered list horizontally using css and i
|
|
|
|
|
|
You're going to have to take them out of the list then, you can't have a list with out going down each time.If you are using a list to get the dot then add before the link, and you will get the raised dot.
|
|
|
|
|
|
Back to top
|
|
|

|
iwanx
Level 1 User
Occupation:
Offline
|
Joined: Feb 17, 2008
Find all post by iwanx
Total Posts: 2
0.00 posts per day
Total Words: 0
|
Posted: Mon Oct 27, 2008 4:24 am Post subject: xhtml displaying unordered list horizontally using css and i
|
|
|
|
|
|
#hole_list {[[[[[[[CSS HERE]]]]]]]]
|
|
|
|
|
|
Back to top
|
|
|

|
irish
Level 1 User
Occupation:
Offline
|
Joined: Aug 23, 2007
Find all post by irish
Total Posts: 2
0.00 posts per day
Total Words: 0
|
Posted: Mon Oct 27, 2008 4:31 am Post subject: xhtml displaying unordered list horizontally using css and i
|
|
|
|
|
|
Yeah, you could just take it out of the list and string on one line.And use "letter-spacing: 10px;"You can adjust and get the spacing you want. That way you don't have to put a bunch of spaces in it. So:Add the letter-spacing to your CSS.
|
|
|
|
|
|
Back to top
|
|
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 You cannot attach files in this forum You cannot download files in this forum
|
|
|
|