...

View Full Version : All this put on 1 line, not 3!



cjwsb
07-13-2005, 07:16 PM
Hello,

At my blog test site (http://www.bartlett-family.net/chrisbartlett/blog2/?p=2) You'll notice the
<< Hello World! | Gettin' Closer >> text in the middle. Just as you see it above, I'd like that all on one line, but can't seem to figure out how to do it. Driving me nuts.

Anyone?

The CSS code controlling that is


.alignright {
text-align: center;
display: inline;
}

.alignleft {
text-align: center;
display: inline;
}


Thanks!

Chris

Pennimus
07-13-2005, 07:37 PM
I'm not entirely sure on how you've implemented your classes here but -

<div align="center">
<a href="link1">Link1</a> | <a href="link2">Link 2</a>
</div>

it looks like you managed to overcomplicate something really simple...

You've got both .alignleft and .alignright being text-aligned to the centre, when the entire div should be centred.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum