| Welcome to WebmasterWorld Guest from 184.108.40.206 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Pubcon Platinum Sponsor 2014|
|cannot centre text in div's and the div's themselves|
I am trying to get some text centered in a set of div's I have evenly spaced across the browser but cant work out how. anyone assist?
also in Chrome and firefox I cannot centre the 4 divs like I can in internet explorer, anyone assist here as well in fixing this?
|text-align: justify; |
:: sitting on hands ::
cool, that has aligned the text but in chrome and firefox still remains the issue of not centering the div's evenly across the page as it expands
Hi there TheIceman5,
try it like this...
border:2px dashed #444;
<div class="box1">1 1 1 1 1 1</div>
<div class="box2">2 2 2 2 2 2</div>
<div class="box3">3 3 3 3 3 3</div>
<div class="box4">4 4 4 4 4 4</div>
you da man, thanks for that, works perfectly in all 3 browsers.
No problem, you're very welcome. ;)
Er, I was quoting from the link you posted.
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved