•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 423,881 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,220 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 834 | Replies: 1
![]() |
•
•
Join Date: Jul 2005
Location: Downingtown
Posts: 58
Reputation:
Rep Power: 4
Solved Threads: 3
I am new to CSS and my html is rusty as hell, and I want to have links arranged horizontally on the top of my page. They are block links.
Now when I have multiple block links they always move below the previous one. I know I could just align it using top and left, but I would like to know why its stacking top to bottom and not right to left. Edit: Can CSS blocks stack left to right?
CSS script:
a.blue_top_tab {
text-align: center;
display: block;
background: blue;
color: black;
text-decoration: none;
width: 120px;
font-size: 140%;
padding-top: 10px;
padding-bottom: 10px;
}
And here is my link:
<a class="blue_top_tab" href="other.html">Start</a>Now when I have multiple block links they always move below the previous one. I know I could just align it using top and left, but I would like to know why its stacking top to bottom and not right to left. Edit: Can CSS blocks stack left to right?
Check this out:
http://css.maxdesign.com.au/listamatic/horizontal01.htm
You need to use display:inline; to get lists to line up horizontally. Lists rock for menus.
http://css.maxdesign.com.au/listamatic/horizontal01.htm
You need to use display:inline; to get lists to line up horizontally. Lists rock for menus.
![]() |
•
•
•
•
•
•
•
•
DaniWeb HTML and CSS Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Web design table woes (HTML and CSS)
- Creating Our Header Files... (C++)
- Expires header? (PHP)
- Please Help Header Error (PHP)
- dreamweaver, PHP and submit form query (PHP)
- Function Error Message Help (C++)
- Does C++ indubitably have a standard? (C++)
- No page header and footer when printing a web page (JavaScript / DHTML / AJAX)
- Problems with Word 2000 (Windows 9x / Me)
- Identification of Web Forms (ASP.NET)
Other Threads in the HTML and CSS Forum
- Previous Thread: CSS browser compatibility ???
- Next Thread: Cell as LINK


Linear Mode