It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming PHP and MySQL Forum

indent or tab with html

Moderator: Malcolm

indent or tab with html

Postby jeaddy on Thu Dec 20, 2007 12:47 am

hello,

I was just wondering what is the php code to do tabs or indent between say each check box or any table etcs.

thanks -
jeaddy
 
Posts: 24
Joined: Thu Dec 20, 2007 12:35 am

Postby knowa on Thu Dec 20, 2007 1:52 pm

There is no PHP code, you have to use HTML...
User avatar
knowa
 
Posts: 19
Joined: Sat Dec 08, 2007 4:32 pm
Location: Switzerland

Postby jeaddy on Thu Dec 20, 2007 11:43 pm

ok yea I mean html code for tab and space. is there one?

thanks -
jeaddy
 
Posts: 24
Joined: Thu Dec 20, 2007 12:35 am

Postby leonard on Thu Dec 20, 2007 11:49 pm

space is:
Code: Select all
 


If this is not good enough you might want to use CSS or extend your tables with empty columns.
User avatar
leonard
100+ Club
 
Posts: 147
Joined: Tue Dec 18, 2007 7:11 am
Location: Switzerland

Postby jeaddy on Thu Dec 20, 2007 11:51 pm

yea the thing about this is that if I want a wider space or indent I have to do a lot of these.

so how do i do a css or extend a tables with empty columns.
jeaddy
 
Posts: 24
Joined: Thu Dec 20, 2007 12:35 am

Postby dflynn on Thu Dec 20, 2007 11:52 pm

you can try

Code: Select all
<pre>


or
(the CSS)
Code: Select all
p{
  margin-bottom: 0
}
p + p{
  text-indent: 1.5em;
  margin-top: 0
}
User avatar
dflynn
500+ Club
 
Posts: 860
Joined: Wed Oct 03, 2007 9:06 pm
Location: Guelph, Canada

Postby jeaddy on Fri Dec 21, 2007 12:17 am

<code>
<pre>
</code>

this code make my check box look very funny. it puts all my check box in the middle and then it skips every 2 rows for another check box.

I am not very familiar with CSS yet so I don't even begin to know how to use it.

is there any html code to indent a check box, table or form. I want to be able to control where my check box goes.
jeaddy
 
Posts: 24
Joined: Thu Dec 20, 2007 12:35 am

Postby dflynn on Fri Dec 21, 2007 12:31 am

like leaonard said before

&nbsp

a non breaking space.

do that 5 or 6 times
User avatar
dflynn
500+ Club
 
Posts: 860
Joined: Wed Oct 03, 2007 9:06 pm
Location: Guelph, Canada

Postby jeaddy on Fri Dec 21, 2007 1:43 am

Ok thanks-

I'll settle for now with this unless there is a better way.
jeaddy
 
Posts: 24
Joined: Thu Dec 20, 2007 12:35 am

Postby flabbyrabbit on Fri Dec 21, 2007 9:39 am

Ok does no one use google??
Code: Select all
<Blockquote>TEXT</Blockquote>

Found on first result. http://www.eskimo.com/~bloo/indexdot/html/topics/indent.htm - Only gives a list of 9 ways to do it with pros and cons

Flabby Rabbit
User avatar
flabbyrabbit
500+ Club
 
Posts: 706
Joined: Thu Jan 25, 2007 1:10 pm
Location: Midlands, England

Next

Who is online

Users browsing this forum: No registered users and 0 guests