I've a table.
The table must not have any border.
The TR (every line) must have a border, but not the lines between cells.
The TR.pages must have no border.
so .mytable{border :0px;}
..mytable tr{border:1px solid #000000;}
..mytable th{border:0px;}
..mytable tr.pages {border:0px;}
doesn't work, can't have the border around tr. The table has no border at
all.
may this work ?
bob 23 52092
Bob Bedford wrote: I've a table.
The table must not have any border. The TR (every line) must have a border, but not the lines between cells. The TR.pages must have no border.
so .mytable{border :0px;}
.mytable tr{border:1px solid #000000;} .mytable th{border:0px;} .mytable tr.pages {border:0px;}
doesn't work, can't have the border around tr. The table has no border at all.
may this work ?
bob
td {
border-top: 1px solid black;
border-bottom: 1px solid black;
}
> td { border-top: 1px solid black; border-bottom: 1px solid black; }
_______________ _______________
cell1 cell2 cell3 .... cellX
_______________ _______________
And what about left and right ???? cell1 has no left line, and cellX either,
no right line.
> td { border-top: 1px solid black; border-bottom: 1px solid black; }
or maybe it's possible to draw a line around an entire table, but no line
around the last one (it's what I'm trying to do)
I've all my table centered in the page, but I don't want the content of the
last cell outside the table (as the result is awfull). I'd like to remove
the border around the last line.
Bob Bedford wrote: td { border-top: 1px solid black; border-bottom: 1px solid black; } or maybe it's possible to draw a line around an entire table, but no line around the last one (it's what I'm trying to do)
The last what? table? tr?
I've all my table centered in the page, but I don't want the content of the last cell outside the table (as the result is awfull). I'd like to remove the border around the last line.
Not sure if I'm following, but maybe you're after something
like this?
table,td{
border-style:solid;
border-color:black;
}
table{
border-width:1px 1px 0 1px;
}
td{
border-width:0 0 1px 0;
}
--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
>> or maybe it's possible to draw a line around an entire table, but no line around the last one (it's what I'm trying to do)
The last what? table? tr?
Sorry, around the last TR. The last TR should not have a border. I've all my table centered in the page, but I don't want the content of the last cell outside the table (as the result is awfull). I'd like to remove the border around the last line.
Not sure if I'm following, but maybe you're after something like this?
table,td{ border-style:solid; border-color:black; } table{ border-width:1px 1px 0 1px; } td{ border-width:0 0 1px 0; }
The last row in this case has the left and right border. I want to avoid
this.
"Bob Bedford" <be******@notfo rspammershotmai l.com> wrote: I've a table.
The table must not have any border. The TR (every line) must have a border, but not the lines between cells. The TR.pages must have no border.
That's as clear as mud.
so .mytable{border :0px;}
.mytable tr{border:1px solid #000000;} .mytable th{border:0px;} .mytable tr.pages {border:0px;}
doesn't work, can't have the border around tr. The table has no border at all.
Although tr's affect rendering, they are themselves not rendered, thus
they cannot be styled.
may this work ?
A stab in the dark at what you may be trying to do: http://homepage.ntlworld.com/spartanicus/tr_border.htm
Note that for this to produce a seamless border the cellspacing has to
be null.
--
Spartanicus
In article <42************ **********@news .sunrise.ch>, bedford1
@notforspammers hotmail.com says... or maybe it's possible to draw a line around an entire table, but no line around the last one (it's what I'm trying to do)
The last what? table? tr?
Sorry, around the last TR. The last TR should not have a border.
I've all my table centered in the page, but I don't want the content of the last cell outside the table (as the result is awfull). I'd like to remove the border around the last line.
Not sure if I'm following, but maybe you're after something like this?
table,td{ border-style:solid; border-color:black; } table{ border-width:1px 1px 0 1px; } td{ border-width:0 0 1px 0; }
The last row in this case has the left and right border. I want to avoid this.
Then create a class specifically for the last rows of td, and set the
borders the way you want it.
td.bottom {
border-width:0 0 0 0
}
saz wrote: In article <42************ **********@news .sunrise.ch>, bedford1 @notforspammers hotmail.com says... >> or maybe it's possible to draw a line around an entire >> table, but no line around the last one (it's what I'm >> trying to do) > > The last what? table? tr?
Sorry, around the last TR. The last TR should not have a border.
Okay, understand that now. > table,td{ > border-style:solid; > border-color:black; > } > table{ > border-width:1px 1px 0 1px; > } > td{ > border-width:0 0 1px 0; > }
The last row in this case has the left and right border. I want to avoid this.
Then create a class specifically for the last rows of td, and set the borders the way you want it.
td.bottom { border-width:0 0 0 0 }
No, he then still has the borders on the table which include
the last row.
He'll need to give the first and last column of td's a class,
except for the ones in the last row.
Taking class foo for the left td's and class bar for the right
ones, you'd get something like this:
td{border-top:1px solid black;}
td.foo{border-left:1px solid black;}
td.bar{border-right:1px solid black;}
--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
"Spartanicu s" <me@privacy.net > a écrit dans le message de news: e3************* *************** **...vinter net.ie... "Bob Bedford" <be******@notfo rspammershotmai l.com> wrote:
I've a table.
The table must not have any border. The TR (every line) must have a border, but not the lines between cells. The TR.pages must have no border. That's as clear as mud.
so .mytable{border :0px;}
.mytable tr{border:1px solid #000000;} .mytable th{border:0px;} .mytable tr.pages {border:0px;}
doesn't work, can't have the border around tr. The table has no border at all.
Although tr's affect rendering, they are themselves not rendered, thus they cannot be styled.
OK
A stab in the dark at what you may be trying to do: http://homepage.ntlworld.com/spartanicus/tr_border.htm
Ok, now add a third line: the new created one must have no border on left
bottom and right.
Bob This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Vigil |
last post by:
I am trying to put a 7px border around a page. If the contents don't fill
up the viewport, then the border must appear all around the viewport. If
the page is larger than the viewport, then the border must wrap around the
contents. Both should result in the border around the complete page, no
matter the size, so that none of the bgcolor bleeds...
|
by: Oliver |
last post by:
Hello i want to get a nice border around images, but not just with the
simple <img src"....." border="1"> tag.
I tried it in CSS.
I did the following:
<div class="img_class">
<img src="./images/img1.jpg" border="0" alt="img1" />
</div>
And in my css i have:
|
by: Mel |
last post by:
is it possible to draw a border around a row of a table ?
example please...
thanks
|
by: Aris |
last post by:
I wonder if there is an easy way to plase a border around a picture.
I have already tryed with the trasparent function but the border gets upon
the picture so it hides some of it.
I have created borders with white space in the middle and with the
bmp_Frame.MakeTransparent(Color.White)
and
Dim pointToDraw As New RectangleF(0, 0,...
|
by: UJ |
last post by:
I have a table with multiple cells and I want to draw a box around the
entire table but not around the individual cells. How do I do that?
TIA - Jeff.
| |
by: mcwd |
last post by:
I'm trying to put a border around a link when the mouse rolls over it.
I've made an example below and left out the hover to keep it simple. In
IE the example below draws a box arround the image OK, in Firefox the
box drawn is one line of text in height. If I add any lines of text
inside the A tag it borders each line of text individually.
...
|
by: constantlearner |
last post by:
I have the following code, which you can paste into an html file and try. In IE, a border appears around the selection box. How do I make the border around the selection box transparent, or have no border?
When I try in Firefox, I don't see a border but I see a scrollbar on the right. How do I get rid off that?
<html>
<head>
<meta...
|
by: smittie31 |
last post by:
I am having a problem with a border around me html page. The border does not flow thru the whole html page, it cuts off halfway.
--> See http://keithborom.com/marlon-sanders
CSS STYLESHEET
/* CSS for Marlon Sanders site
*/
html, body {
|
by: JWest46088 |
last post by:
I cannot figure out how to get rid of the border around my button image. I got rid of the blue border by setting border=0, but I am still getting a purple border around them after I click them until the page loads then it goes away.
Website if you want to see what I'm talking about:
http://www.drivewaysealinginc.byethost16.com/
Here is...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |