Author Topic: What is the proper way?  (Read 19327 times)

Steve

  • This 49%er supports Romney
  • Just a Jackass
  • *
  • Posts: 16120
  • Karma: +31/-410
  • Mr. Mom
Re: What is the proper way?
« Reply #15 on: July 14, 2008, 12:34:13 PM »
That makes sense. I dont think it will work for me though because they are pretty set on doing it across like a table instead of listing down. They just want the table to scroll.....ugh your way would be so much easier
hey ethic if you and i were both courting lily allen..... oh wait, which one of us has a relationship that lasted more than the bus ride home?

Mike

  • Jackass In Charge
  • Posts: 11256
  • Karma: +168/-32
  • Ex Asshole - a better and more caring person.
Re: What is the proper way?
« Reply #16 on: July 14, 2008, 12:35:03 PM »
Tell them to go fuck themselves and do it proper.

Steve

  • This 49%er supports Romney
  • Just a Jackass
  • *
  • Posts: 16120
  • Karma: +31/-410
  • Mr. Mom
Re: What is the proper way?
« Reply #17 on: July 14, 2008, 12:38:05 PM »
Yea i just emailed them about it. They have been whining about wanting more space and this is one way to do it...
hey ethic if you and i were both courting lily allen..... oh wait, which one of us has a relationship that lasted more than the bus ride home?

Steve

  • This 49%er supports Romney
  • Just a Jackass
  • *
  • Posts: 16120
  • Karma: +31/-410
  • Mr. Mom
Re: What is the proper way?
« Reply #18 on: July 14, 2008, 01:14:44 PM »
after ten minutes on the phone i finally got him to understand why a list would be better but i got veto'd anyway. Looks like i have to find a way to make the table work. Dammit.
hey ethic if you and i were both courting lily allen..... oh wait, which one of us has a relationship that lasted more than the bus ride home?

Mike

  • Jackass In Charge
  • Posts: 11256
  • Karma: +168/-32
  • Ex Asshole - a better and more caring person.
Re: What is the proper way?
« Reply #19 on: July 14, 2008, 01:36:23 PM »
Try to do something similar then.  Like:

Code: [Select]
<?php

echo '
<table>
<tr>
<th>Event Title</th>
<th>Description</th>
<th>Address</th>
</tr>'
;


while (
$event mysql_fetch_assoc($result))
{
echo '
<tr>
<td>'
$event['title'], '</td>
<td class="description">'
$event['desc'], '</td>
<td class="location">
'
$event['streetaddy'], '
'
$event['city'], ', '$event['state'], ' '$event['zip'], '
</td>
</tr>'
;
}

echo 
'
</table>'
;

Either that or fire them ;)

Steve

  • This 49%er supports Romney
  • Just a Jackass
  • *
  • Posts: 16120
  • Karma: +31/-410
  • Mr. Mom
Re: What is the proper way?
« Reply #20 on: July 14, 2008, 01:37:25 PM »
i was thinking something like that with CSS to pretty it up
hey ethic if you and i were both courting lily allen..... oh wait, which one of us has a relationship that lasted more than the bus ride home?

Steve

  • This 49%er supports Romney
  • Just a Jackass
  • *
  • Posts: 16120
  • Karma: +31/-410
  • Mr. Mom
Re: What is the proper way?
« Reply #21 on: July 14, 2008, 01:52:16 PM »
Mike your a genius
hey ethic if you and i were both courting lily allen..... oh wait, which one of us has a relationship that lasted more than the bus ride home?

Steve

  • This 49%er supports Romney
  • Just a Jackass
  • *
  • Posts: 16120
  • Karma: +31/-410
  • Mr. Mom
Re: What is the proper way?
« Reply #22 on: July 14, 2008, 05:25:23 PM »
http://www.americanswingersassociation.com/CM/national_eventreg.php

Its set to auto acroll down when results become longer then the div size. How can i output a line break after each result? I tried a few but it keeps showing up above the div. Something like

Result
__________

Result

but not so much space
hey ethic if you and i were both courting lily allen..... oh wait, which one of us has a relationship that lasted more than the bus ride home?

ober

  • Ashton Shagger
  • Ass Wipe
  • Posts: 14309
  • Karma: +73/-790
  • mini-ober is taking over
    • Windy Hill Web Solutions
Re: What is the proper way?
« Reply #23 on: July 15, 2008, 09:26:52 AM »
Empty row:
Code: [Select]
<tr><td>&nbsp;</td><tr>
If you have multiple tds:
Code: [Select]
<tr><td colspan="5">&nbsp;</td><tr>

Mike

  • Jackass In Charge
  • Posts: 11256
  • Karma: +168/-32
  • Ex Asshole - a better and more caring person.
Re: What is the proper way?
« Reply #24 on: July 15, 2008, 09:29:43 AM »
bleh, no need for an empty row.  Just use margin or padding on the tr.

Mike

  • Jackass In Charge
  • Posts: 11256
  • Karma: +168/-32
  • Ex Asshole - a better and more caring person.
Re: What is the proper way?
« Reply #25 on: July 15, 2008, 09:48:53 AM »
Bleh small mistake.  Have to do it on the td not the tr.
Code: [Select]
td
{
padding: 0.5em 0;
}

ober

  • Ashton Shagger
  • Ass Wipe
  • Posts: 14309
  • Karma: +73/-790
  • mini-ober is taking over
    • Windy Hill Web Solutions
Re: What is the proper way?
« Reply #26 on: July 15, 2008, 10:37:47 AM »
Well you could do that too, I suppose.

Steve

  • This 49%er supports Romney
  • Just a Jackass
  • *
  • Posts: 16120
  • Karma: +31/-410
  • Mr. Mom
Re: What is the proper way?
« Reply #27 on: July 15, 2008, 12:58:52 PM »
Cool thnx :)
hey ethic if you and i were both courting lily allen..... oh wait, which one of us has a relationship that lasted more than the bus ride home?

Steve

  • This 49%er supports Romney
  • Just a Jackass
  • *
  • Posts: 16120
  • Karma: +31/-410
  • Mr. Mom
Re: What is the proper way?
« Reply #28 on: July 15, 2008, 03:34:48 PM »
Do i get enough control to make the headers line up at the beginning of the data so it all lines up evenly? I want to get the formatting right so i can move on to the search functions, ordering, etc but i know if i show them this style without it at least being lines up they will wanna go right back to that ugly ass table style and its a PIMA
hey ethic if you and i were both courting lily allen..... oh wait, which one of us has a relationship that lasted more than the bus ride home?

Mike

  • Jackass In Charge
  • Posts: 11256
  • Karma: +168/-32
  • Ex Asshole - a better and more caring person.
Re: What is the proper way?
« Reply #29 on: July 15, 2008, 04:15:52 PM »
huh?