Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-17-2008, 07:38 PM   PM User | #1
gilgalbiblewhee
Regular Coder

 
Join Date: Mar 2005
Posts: 735
Thanks: 4
Thanked 1 Time in 1 Post
gilgalbiblewhee is an unknown quantity at this point
why are the words not spread out?

I've tried every thing possible to make the words spread out in Firefox (I don't know about IE6 or 7): Display: block; text-align: left; left: 0px... It doesn't work.
PHP Code:
<ul>
<li style="">
        <a href="http://www.....com/Merchant2/merchant.mvc" onmouseover="<?php //changeImages('index_10', 'images/index_10-over.gif'); return true;?>" onmouseout="<?php //changeImages('index_10', 'images/index_10.gif'); return true;?>"><span style="position: relative; left: 0px; text-align: left; background-color: #eeeeee; border: 1px solid #000000; width: 30px; height: 10px; display: block; padding: 10px 100px 10px 100px; font-family: Verdana, Arial, Times New Roman; text-decoration: none; font-weight: bold; font-size: 16px; color: #000000;">Online Store<?php //<img NAME="index_10" SRC="images/index_10.gif" WIDTH=167 HEIGHT=33 BORDER=0 ALT="Online Store">?></span>
        </a>
    </li>
</ul>
gilgalbiblewhee is offline   Reply With Quote
Old 07-17-2008, 07:43 PM   PM User | #2
jerry62704
Senior Coder

 
jerry62704's Avatar
 
Join Date: Oct 2007
Location: Springfield, IL
Posts: 1,049
Thanks: 9
Thanked 82 Times in 82 Posts
jerry62704 is on a distinguished road
By spread out do you mean "Online......Store" or do you mean "O n l i n e S t o r e"? [replacing the "." with spaces as it got condensed]

If so, add "word-spacing" or "letter-spacing" to the very long list of inline style.
__________________
.
.
...and gladly would he learn and gladly teach

Visit www.LiberalsWin.com for humor and the unique Bush/Obama Approval Polls
jerry62704 is offline   Reply With Quote
Old 07-17-2008, 07:43 PM   PM User | #3
Apostropartheid
The Apostate


 
Apostropartheid's Avatar
 
Join Date: Oct 2007
Posts: 3,215
Thanks: 16
Thanked 265 Times in 263 Posts
Apostropartheid is on a distinguished road
What words? What?
Actually clearly saying what you need and pasting *parsed* code will make answers come a bit faster.
__________________
Blog | Twitter
Useful links: W3C HTML Validator | W3C CSS Validator | HTML 5 Guide
CF: HTML & CSS Resources/Tutorials Thread | HTML & CSS Posting Rules and Guidelines
Remember: no link, no code, no help!
Apostropartheid is offline   Reply With Quote
Old 07-17-2008, 07:48 PM   PM User | #4
gilgalbiblewhee
Regular Coder

 
Join Date: Mar 2005
Posts: 735
Thanks: 4
Thanked 1 Time in 1 Post
gilgalbiblewhee is an unknown quantity at this point
or maybe it's the padding that's doing this: 10px 100px 10px 100px. It's showing everything centered but you see that they're left aligned.
gilgalbiblewhee is offline   Reply With Quote
Old 07-17-2008, 07:53 PM   PM User | #5
gilgalbiblewhee
Regular Coder

 
Join Date: Mar 2005
Posts: 735
Thanks: 4
Thanked 1 Time in 1 Post
gilgalbiblewhee is an unknown quantity at this point
Yeah the width had to be higher and the padding changed.
PHP Code:
    <li style="">
        <a href="archive.htm" onmouseover="<?php //changeImages('index_06', 'images/index_06-over.gif'); return true;?>" onmouseout="<?php //changeImages('index_06', 'images/index_06.gif'); return true;?>"><span style="position: relative; left: 0px; text-align: left; background-color: #eeeeee; border: 1px solid #000000; width: 200px; height: 10px; display: block; padding: 10px 10px 10px 5px; font-family: Verdana, Arial, Times New Roman; text-decoration: none; font-weight: bold; font-size: 16px; color: #000000;">Past Newsletters<?php //<img NAME="index_06" SRC="images/index_06.gif" WIDTH=167 HEIGHT=33 BORDER=0 ALT="... Archives">?></span>
        </a>
    </li>
gilgalbiblewhee is offline   Reply With Quote
Old 07-17-2008, 07:54 PM   PM User | #6
jcdevelopment
Senior Coder

 
jcdevelopment's Avatar
 
Join Date: Oct 2007
Location: Cowboy Nation
Posts: 2,171
Thanks: 173
Thanked 257 Times in 257 Posts
jcdevelopment will become famous soon enoughjcdevelopment will become famous soon enough
is this what you are looking for, im a little confused.


Code:
font-stretch:expanded;
EDIT** Woops, sorry....

Last edited by jcdevelopment; 07-17-2008 at 07:55 PM.. Reason: sloooooww
jcdevelopment is offline   Reply With Quote
Old 07-17-2008, 11:12 PM   PM User | #7
macwiz
Regular Coder

 
Join Date: Jul 2008
Posts: 195
Thanks: 3
Thanked 11 Times in 11 Posts
macwiz is on a distinguished road
Does this mean you solved the issue...?
macwiz is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

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

Forum Jump


All times are GMT +1. The time now is 02:58 PM.


Advertisement
Log in to turn off these ads.