HighDots Forums  

Justify doesn't want to work

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Justify doesn't want to work in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
pecan
 
Posts: n/a

Default Justify doesn't want to work - 06-11-2006 , 01:06 PM






I've been trying to justify some text: when I align it left or right or
centre, it works, but when I align it to justify it ignores me.
I've tried overriding the CSS by justifying withing the html instead and
it still won't justify. Neither in IE nor in FF.
What am I doing wrong?

url: http://www.rouxville.info/rouxville-index.htm

Thanks,

CM
--
== Not nuts, just a little eccentric ==
http://www.africanbush.co.za
African Bush Tours and Safaris

Reply With Quote
  #2  
Old   
Spartanicus
 
Posts: n/a

Default Re: Justify doesn't want to work - 06-11-2006 , 01:25 PM






pecan <pecan.nospam (AT) iafrica (DOT) com> wrote:

Quote:
I've been trying to justify some text: when I align it left or right or
centre, it works, but when I align it to justify it ignores me.
I've tried overriding the CSS by justifying withing the html instead and
it still won't justify. Neither in IE nor in FF.
What am I doing wrong?

url: http://www.rouxville.info/rouxville-index.htm
You've misunderstood what justify does, only when a line of text wraps
at the right edge of it's container will the text on that line be
justified.

--
Spartanicus


Reply With Quote
  #3  
Old   
pecan@iafrica.com
 
Posts: n/a

Default Re: Justify doesn't want to work - 06-11-2006 , 02:19 PM




Spartanicus wrote:
Quote:
pecan <pecan.nospam (AT) iafrica (DOT) com> wrote:

I've been trying to justify some text: when I align it left or right or
centre, it works, but when I align it to justify it ignores me.
I've tried overriding the CSS by justifying withing the html instead and
it still won't justify. Neither in IE nor in FF.
What am I doing wrong?

url: http://www.rouxville.info/rouxville-index.htm

You've misunderstood what justify does, only when a line of text wraps
at the right edge of it's container will the text on that line be
justified.

--
Spartanicus
Okay... that makes sense. The example I was trying to copy had justify
as well as tables as well as all sorts of other attributes, and now I'm
trying to do the same thing using CSS. Is it possible to have a row of
Hrefs justified across a page without using tables? Basically a list
of links running horizontally instead of vertically, but justified so
that if the page size is different it'll spread itself out?

CM



Reply With Quote
  #4  
Old   
Alan Silver
 
Posts: n/a

Default Re: Justify doesn't want to work - 06-13-2006 , 10:07 AM



In article <1150053543.205639.322760 (AT) i40g2000cwc (DOT) googlegroups.com>,
pecan (AT) iafrica (DOT) com writes
Quote:
Is it possible to have a row of Hrefs justified across a page without
using tables? Basically a list of links running horizontally instead
of vertically, but justified so that if the page size is different
it'll spread itself out?
If your list of links is marked up in a <ul> then you can float the <li>
elements, give each a width in % based on the number of them and you end
up with links spread evenly across the browser window.

Have a look at tutorial 4 on this page, and imagine the links were
evenly spread out across the width of the window...
http://css.maxdesign.com.au/listutorial/index.htm

HTH

--
Alan Silver
(anything added below this line is nothing to do with me)


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.