Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1559 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

space using CSS?

Thread title: space using CSS?
Closed Thread  
Page 1 of 2 1 2 >
    Thread tools Search this thread Display Modes  
04-29-2006, 06:19 AM
#1
depthskins is offline depthskins
depthskins's Avatar
Status: I love this place
Join date: Apr 2006
Location: Canada
Expertise:
Software:
 
Posts: 699
iTrader: 0 / 0%
 

depthskins is on a distinguished road

Send a message via MSN to depthskins Send a message via Yahoo to depthskins Send a message via Skype™ to depthskins

  Old  space using CSS?

Ok, you know sometimes you need things spaced out like if you're using tables? with html you'd use:

    
Which is just plane annoying and there must be a more semantic way than using that. So can anyone suggest something? Please, thanks

04-29-2006, 07:53 AM
#2
Julian is offline Julian
Status: Simply to simplify
Join date: Apr 2005
Location: Foxton, Manawatu, New Zealand
Expertise:
Software:
 
Posts: 5,572
iTrader: 0 / 0%
 

Julian is on a distinguished road

  Old

Use relative or absolute positioning instead.

04-29-2006, 07:55 AM
#3
Salathe is offline Salathe
Salathe's Avatar
Status: Community Archaeologist
Join date: Jul 2004
Location: Scotland
Expertise: Software Development
Software: vim, PHP
 
Posts: 3,820
iTrader: 25 / 100%
 

Salathe will become famous soon enough

Send a message via MSN to Salathe

  Old

There are lots of ways... positioning (relative, absolute), padding, margins, etc. As far as semantic HTML is concerned, don't put in any filler text at all.

04-29-2006, 03:34 PM
#4
depthskins is offline depthskins
depthskins's Avatar
Status: I love this place
Join date: Apr 2006
Location: Canada
Expertise:
Software:
 
Posts: 699
iTrader: 0 / 0%
 

depthskins is on a distinguished road

Send a message via MSN to depthskins Send a message via Yahoo to depthskins Send a message via Skype™ to depthskins

  Old

ok. i'll refer to that then.

Is this peice of code redundant for what I'm trying to accomplish?


.designboxPadding {
padding-left: 10px;
}

.designboxPadding1 {
padding-left: 6px;
}

.designboxPadding2 {
padding-left: 23px
}

.designboxPadding3 {
padding-left: 33px
}
Basically I'm trying to accomplish even space between words. It's like I'm trying to create a 3 colum table to display the information. Only I want to do it using CSS. The codes I used worked well but I want to know if their might be a better way or if it's just TOO redundant.

I tried using position but I couldn't get it to work.

04-30-2006, 01:23 AM
#5
Julian is offline Julian
Status: Simply to simplify
Join date: Apr 2005
Location: Foxton, Manawatu, New Zealand
Expertise:
Software:
 
Posts: 5,572
iTrader: 0 / 0%
 

Julian is on a distinguished road

  Old

Should work afaik

04-30-2006, 04:07 AM
#6
Garrett is offline Garrett
Status: Waving
Join date: Aug 2005
Location:
Expertise:
Software:
 
Posts: 2,694
iTrader: 11 / 100%
 

Garrett is on a distinguished road

Send a message via MSN to Garrett

  Old

Try adding:
position: absolute;

That might work.

05-01-2006, 06:20 PM
#7
Techno is offline Techno
Techno's Avatar
Status: Sin Binner
Join date: Jul 2005
Location: Yorkshire, UK
Expertise:
Software:
 
Posts: 3,709
iTrader: 1 / 100%
 

Techno is on a distinguished road

  Old

You mean you want word spacing? I diddn't really understand but there is a CSS value which can put so many pixels between every word?

Code:
word-spacing: 2px;

05-01-2006, 10:11 PM
#8
seen.to is offline seen.to
seen.to's Avatar
Status: unusual suspect ™
Join date: Feb 2005
Location: Lancaster, PA from London UK
Expertise:
Software:
 
Posts: 1,814
iTrader: 0 / 0%
 

seen.to is on a distinguished road

  Old

What Techno said

05-01-2006, 11:11 PM
#9
freedom is offline freedom
freedom's Avatar
Status: Request a custom title
Join date: Dec 2005
Location: LIC (NYC), NY
Expertise:
Software:
 
Posts: 1,026
iTrader: 0 / 0%
 

freedom is on a distinguished road

  Old

letter-spacing?

05-01-2006, 11:33 PM
#10
seen.to is offline seen.to
seen.to's Avatar
Status: unusual suspect ™
Join date: Feb 2005
Location: Lancaster, PA from London UK
Expertise:
Software:
 
Posts: 1,814
iTrader: 0 / 0%
 

seen.to is on a distinguished road

  Old

Originally Posted by freedom
letter-spacing?
That's for spacing between letters.

Closed Thread  
Page 1 of 2 1 2 >


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed