Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Record lines without tables

Reply
Thread Tools

Record lines without tables

 
 
davidgordon@scene-double.co.uk
Guest
Posts: n/a
 
      06-26-2006
Hi,

I regularly code in standard asp with MySQL.
I have a page which displays records with the background colour of each
record table row in a different colour.

There are 2 table rows per record.
The problem is that at the end of each field in a row, the background
colour stops and then continues in the next field, i.e. the rows look
like a brick wall design.

Is there anyway I can adjust my designs so that no matter how many
fields or rows I have, the background colour is seamless and the
visitor cannot see the start and end sections of each field ?

Appreciate your advise

Thanks


David

 
Reply With Quote
 
 
 
 
Rob Meade
Guest
Posts: n/a
 
      06-26-2006
<> wrote ...

> Appreciate your advise


Hi David,

I hope I haven't misunderstood the question, if so I apologise...

Anyway - try setting:

border-width: 0px; in a style tag in the table the HTML..ie..

<table style="width: 100%; border-width: 0px;" cellspacing="0"
cellpadding="0">

Regards

Rob


 
Reply With Quote
 
 
 
 
David
Guest
Posts: n/a
 
      06-27-2006

>
> border-width: 0px; in a style tag in the table the HTML..ie..
>
> <table style="width: 100%; border-width: 0px;" cellspacing="0"
> cellpadding="0">
>
> Regards
>
> Rob



--------------------------

Thanks Rob,

I tried that but it made no difference, still have the brick wall
effect.
I will have a play on your idea in dreamweaver and see what gives,
otherwise perhaps I should code in pure CSS without tables ....... but
not sure how to do that

 
Reply With Quote
 
David
Guest
Posts: n/a
 
      06-27-2006

David wrote:
> >
> > border-width: 0px; in a style tag in the table the HTML..ie..
> >
> > <table style="width: 100%; border-width: 0px;" cellspacing="0"
> > cellpadding="0">
> >
> > Regards
> >
> > Rob

>
>
> --------------------------
>
> Thanks Rob,
>
> I tried that but it made no difference, still have the brick wall
> effect.
> I will have a play on your idea in dreamweaver and see what gives,
> otherwise perhaps I should code in pure CSS without tables ....... but
> not sure how to do that




------------------------------------

Doh,

Checked my code, I had added it to the wrong table tag .... works
perfectly and saves a lot of space on the page.........nice one Rob !!


Thanks

 
Reply With Quote
 
Rob Meade
Guest
Posts: n/a
 
      06-27-2006
"David" wrote ...
> Doh,
>
> Checked my code, I had added it to the wrong table tag .... works
> perfectly and saves a lot of space on the page.........nice one Rob !!
>


You're welcome )

Rob


 
Reply With Quote
 
MFedatto
Guest
Posts: n/a
 
      06-28-2006
David,

May you post a screenshot of your table?

 
Reply With Quote
 
Dave Anderson
Guest
Posts: n/a
 
      06-28-2006
Rob Meade wrote:
> <> wrote ...
>
>> Appreciate your advise

>
> Hi David,
>
> I hope I haven't misunderstood the question, if so I apologise...
>
> Anyway - try setting:
>
> border-width: 0px; in a style tag in the table the HTML..ie..
>
> <table style="width: 100%; border-width: 0px;" cellspacing="0"
> cellpadding="0">


You can also replace CELLSPACING="0" with the style definition
"border-collapse: collapse;".

http://www.w3.org/TR/CSS21/tables.ht...order-collapse



--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms.


 
Reply With Quote
 
 
 
Reply

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Active Record: Query to find all the tables in a database? Anukul Singhal Ruby 1 05-09-2008 11:49 AM
How to get database metadata information (i.e. existing tables and columns in tables) Chris Brat Python 5 08-22-2006 05:25 PM
Tables within tables Otuatail HTML 7 08-02-2004 04:42 AM
Update 2 different Tables from one record? =?Utf-8?B?Z3Rob21wc29u?= ASP .Net 7 07-30-2004 10:37 PM
Text after 2 tables actually appears between 2 tables ! Peter Bassett HTML 3 08-15-2003 06:46 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57