How To Align In CSS?

liunx

Guest
Hey i was wondering how to align links like i have recently done with HTML. But now i want to do it with CSS as i am redesigning my HTML tables site into CSS Layers. Please check the link below in the horrible frame that i am changing at the top there is a horizontal navigation table with an orange-black gradient in it with links. How would you align the links with CSS exactly the way that it is there.


Cheers
Chris SharkeyOriginally posted by sharkey182uk
Please check the link below in the horrible frame that i am changing at the top there is a horizontal navigation table with an orange-black gradient in it with links. How would you align the links with CSS exactly the way that it is there.

i dont understand, are you referring to a referring URL which is not actually shown in your original post?Sorry mate forgot the URL. The Devils Eyes (<!-- m --><a class="postlink" href="http://www.thedevilseyes.co.uk/index2.html">http://www.thedevilseyes.co.uk/index2.html</a><!-- m -->)


Sorry Again.Hey ive fixed that problem but now have a new one. The left navigation menu below the horizontal one. They are links but in my new redesign i have to put the links in a paragraph because you arent allowed to do more than 2 <BR> on a page so ive heard. Is there anyway with CSS to take away the line spacing that it gives you in the paragraphs with CSS.

Cheers
Chris SharkeyYou are allowed more than two <br /> on page, which moron told you that you could not.

If you want to get rid of white space created by paragraphs you could use margin-bottom: 0px or make it inline. Though you might have wanted to use <span> in the first place.Yeah i kept telling them that but he keeps saying its against w3c standards.

Cheers thanks for clarifying it.Tie them to a stake and burn them for heresy since they are not true believers... :DThat nav bar would be better built using a div containing an unordered list for the links. That would also make it about 90% smaller because all that presentation junk would be in the style sheet.I think what they mean is that you aren't supposed to use two <br> tags back-to-back in your code, and they are correct in that. Yes, you can do it, but there are better ways of pulling off what you want.Yeah now i get it i heard my friend wrong. What ways could this be acheived.


CheersI looked at your main.html and I don't see where you are using a <p> tag. And since I've been linking to the article at least once a day as of late, you might want to check out the Taming List link I just added in my sig.Yeah soz i was meant to say that in my new main.html that im using <p> tags. Hey thanks for telling me bout that link. Theres alot of information on that which i didnt know.

Cheers again
 
Back
Top