473,386 Members | 1,758 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Positioning links

2
Hello, and I was wondering if anyone could help me with positioning on this page : hullothare.tumblr.com

my 'archive, rss and ask' links for some reason aren't centering property. I've tried adding codes such as background-position:center; in the style tag, and I've tried putting the most obvious <center> </center> in the container.

If someone could help it would be greatly appreciated!
Jul 25 '10 #1
3 4253
TheServant
1,168 Expert 1GB
It looks like a blank page to me... Nice gray background though... With regards to centering, <center> is not the best way to go. Instead, use CSS to give your containing <div> the property:
Expand|Select|Wrap|Line Numbers
  1. margin: 0 auto;
That should center it.
Jul 25 '10 #2
SHELBY
2
I'm not sure why it isn't working in Internet Explorer since I coded it in Dream Weaver. Hmm, is there any other way to center it? Because it didn't work ?
Jul 25 '10 #3
TheServant
1,168 Expert 1GB
Try removing the <!-- just above your body CSS property.

From what I see in the HTML, you either want to put your links into a div, and center that div:
Expand|Select|Wrap|Line Numbers
  1. <div style="margin: 0 auto;">
  2. <a href="vampirified.tumblr.com" class="BAR"> ARCHIVE</a>
  3. <a href="vampirified.tumblr.com" class="BAR"> RSS</a>
  4. <a href="vampirified.tumblr.com" class="BAR"> ASK</a>
  5. </div>
Or give your BAR class the property:
Expand|Select|Wrap|Line Numbers
  1. text-align: center;
The margin: 0 auto; trick is generally for centering containers which are within other containers, while text-align is for centering text in a container.
Jul 25 '10 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

12
by: Brian | last post by:
I'm developing a restaurant's website. http://www.tsmchughs.com/ My template has div#content then div#navigation, which contains an unordered list of links. I have positioned div#navigation on...
16
by: Vincent | last post by:
First, here is a page to help you figure out what I'm talking about: http://relinquiere.free.fr/test.html As you can see in the source of this page, the structure is the following : - a banner...
0
by: Asad | last post by:
I have a problem with my site design. I have a table that is centred and it has links on it. Now when you roll mouse over these links I want sublinks to drop down which are in a hidden div. The...
8
by: Asad | last post by:
Hi, I am basically trying to accomplish drop down menus for navigation on a site. And I'm pretty much done except I am having one problem. The z-index is not working with relative positioning! ...
14
by: Michael Satterwhite | last post by:
On my page, I'm positioning text on top of a graphic. I'm using the following code on my page: <img src="images/plainTop.gif" border="0" alt="" /> <div style="position: absolute; top:98px;...
11
by: NS | last post by:
I am relativly new to css positioning and have a question regarding the display of a DHTML pop-up Here is the basic HTML I am using: <html> <head> <script language="JavaScript"> <!--
17
by: George Hester | last post by:
http://tinyurl.com/5uj6w The lower middle icon the "block" should not drop down when the mouse is over it. How can I stop that? Also the navigation divs both top and bottom should follow the...
0
by: txingu186 | last post by:
Hi, I know that there are a lot of threads like this but I canīt resolve my problem. Suppose that i have this html form: ... <td> <fieldset> <legend>Other Info </legend>...
4
by: TheCeej | last post by:
I'm sorry to post what is ultimately a myspace problem, but I'm sure I'd still be having this problem with any html/css document, so the answer would more than likely be able to help anyone out. I'm...
3
by: LayneMitch | last post by:
Hello everyone. I'm designing a site for a friend of mine and I'm having a few issues. First off, I'm noticing that there is a difference between the default line- heights of IE and...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.