Jul 25, 2008

Table Borders

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > HTML, XML etc..

free web hosting

Table Borders

HmmZ
Hey guys,
I have a question (duh!:P)

I want tables in my navigation to have a border, but instead of a plain border i want to give the table border a special look (gradient for example), is this possible? if so, how would I do that

<table border="" width="150" height="250" valign="top">

Reply

bjrn
QUOTE(HmmZ @ Mar 3 2005, 10:54 PM)
I want tables in my navigation to have a border, but instead of a plain border i want to give the table border a special look (gradient for example), is this possible? if so, how would I do that

I'm not sure you can give borders gradient colouring. You could try adding 1 pixel margins to your navigation items and setting a gradient background on the navigation menu. I'm not sure if you can do that using tables though.

I'm not totally sure I've understood what you want to have. Do you want a border between the menu items or just around the whole navbar?

Reply

beeseven
<table border="#" style="border-style: STYLE_HERE;" width="150" height="250" valign="top">

Replace STYLE_HERE with one of these:

none
hidden
dotted
dashed
solid
double
groove
ridge
inset
outset

You can also put multiple:
one - all four the same
one two - top and bottom one, left and right two
one two three - top is one, left and right are two, bottom is three
one two three four - top is one, right is two, bottom is three, left is four

Reply

beeseven
Sorry for the double post, but the edit button ran away. You can also add border-color to the style like this:

<table border="#" style="border-style: STYLE_HERE; border-color: COLOR_HERE;" width="150" height="250" valign="top">

The border color HAS to be after the border style or else it won't work. Multiple colors work in the same order as multiple styles, and you can use color names (ex: red green), hex values (ex: #FF0000 #00FF00), or rgb [ex: rgb(255,0,0) rgb(0,255,0)].

Reply

HmmZ
Thanks for the big help beeseven, I got the border-color and the most part of the borderstyle, but what exactly do you mean by multiple, it must be me, but i get confused by what you mean hehe.

Yea, the edit button got scared off sad.gif

Hey by the way, it's not possible to use multiple colors as border-color right? because you said (red green), just a fast question cause i thought that's not a possibility, if so, you just exampled 2 colors smile.gif

Reply

bjrn
QUOTE(HmmZ @ Mar 4 2005, 09:57 AM)
Hey by the way, it's not possible to use multiple colors as border-color right? because you said (red green), just a fast question cause i thought that's not a possibility, if so, you just exampled 2 colors smile.gif

If you added
border-color: red green;
you'd probably get a red border on the top and bottom and green on the sides.

I think what beeseven meant with multiple is that you can write shorthand for any box model things. So if you have
border-style: dotted;
all borders will be dotted. If you write
border-style: solid dotted;
the top and bottom borders will be solid, the ones on the side will be dotted. If you write
border-style: solid dotted dashed;
top will be solid, sides will be dotted and bottom will be dashed.

You can also style borders like so:
border: 1px #000 solid;
which will give you a one pixel solid black border around the thing you defined the border for.

 

 

 


Reply

alexia
tables in html has son of preview table
you can make css file for style and use it
if u know css lan
you can make table bordar with frontpage (its easy)
for example ::
Big Border ::
CODE
<table cellpadding="0" cellspacing="0" width="210" border="1">
<!-- MSTableType="layout" -->
<tr>
 <td height="87">&nbsp;</td>
</tr>
</table>


and

thin border ::
CODE
<table cellpadding="0" cellspacing="0" border="0" width="210" height="87">
<!-- MSTableType="layout" -->
<tr>
 <td valign="top" height="87" width="210">
 <table cellpadding="0" cellspacing="0" border="0" width="100%" height="100%">
  <!-- MSCellFormattingTableID="1" -->
  <tr>
   <td bgcolor="#000000" colspan="3" height="1">
   <img alt="" width="1" height="1" src="fpweb:///MsSpacer.gif"></td>
  </tr>
  <tr>
   <td bgcolor="#000000" width="1">
   <img alt="" width="1" height="1" src="fpweb:///MsSpacer.gif"></td>
   <td valign="top" width="100%">
   <!-- MSCellFormattingType="content" -->
   &nbsp;</td>
   <td bgcolor="#000000" height="100%" width="1">
   <img alt="" width="1" height="1" src="fpweb:///MsSpacer.gif"></td>
  </tr>
  <tr>
   <td bgcolor="#000000" colspan="3" height="1">
   <img alt="" width="1" height="1" src="fpweb:///MsSpacer.gif"></td>
  </tr>
 </table>
 </td>
</tr>
</table>

Reply

snlildude87
I'm not sure if there is a constant to make a gradient border. What I'd do if I were in this situation is draw a table in Photoshop, then slice up your table to make menus.

Reply

nickmealey
I often like to borders as images. I simply set two rows on either side and set them to rowspan="whatever". And set the background as my image.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Similar Topics

Keywords : table, borders

  1. Create Table - Mysql Code - Help
    (1)
  2. Man Arrested For Having Intercourse With A Table?
    (21)
    hmm? at first i didnt believe this, but a man was arrested for having intercourse with a table
    ????? can you really get arrested for that? there were some dvds he made of himself doing so, but he
    wasnt distributing them... he was kinda seen four times having sex with the table, but always
    between 10-noon. sure there was an elementary school nearby.. but come on, theres a elementary
    school near everywhere in the us. and he wasnt doing the thing with the table with the hole in the
    middle in front of the kids, or at a time when kids could be present i feel bad for the ....
  3. Css Table Scaling
    (5)
    I am currently new to css and html, i need to scale the table and pictures so it is 100% of the
    window width. Here's the code: CODE <table border="0" width="100%"
    id="table1" cellspacing="0" cellpadding="0">     <tr>
            <td width="01%">         <img border="0"
    src="sdmenu/LEFTBOTTOM.GIF" width="10" height="25"></td>
            <td width="481" style background="sdmenu/main2.GIF">         <p
    align="right"....
  4. Css Table Layouts
    How do you create these (8)
    Hey everyone, the previous topic has inspired me to ask how do you create a good css table layout. I
    have tried over the years but tend to run into lots of issues since as soon as you start floating
    divs, things get complex and really hard to give good positioning. Plus, they tend to look different
    in firefox and IE. Does anyone know of any good tutorials or could write a simple one here to go
    over how to make a css table layout. Thanks so much in advance.....
  5. Table Relationship Problem
    many parent many child (2)
    Ok I did poorly in my database class so Im very bad at normalizing forms. I started creating my
    database and eventually ran into a problem with how I've set it up. Im not 100% sure how I'm
    going to fix it at this stage but heres the problem. I have 2 tables MONSTER and ITEMS. Basically
    its layed out like this. MONSTER TABLE -------------------- m_id int (PK) m_name varchar m_level
    int ...etc ITEMS TABLE -------------------- i_id int (PK) i_name varchar i_nm int I'm
    using them like this. item (Big sword with i_nm = 1) so the big sword drops off the m....
  6. Another Question On Mysql Table Data Type
    text field for lots of text. (1)
    In my MySQL table I would like to use one text field which can contain lots of text. What I want to
    use it for is for student records, and I want to be able to add to it without destroying what is
    already there. I want the field to contain something like: ****03/11/2007**** Chopin prelude No 9:
    small problem bars 12-15. Advice given on how to practice. ****10/11/2007**** Problem in Prelude
    overcome, piece successfully completed. New piece set: Beethoven Sonata No 1, movement 1. etc. This
    is of course just an example, but that is how I want to set up my student records....
  7. Which Data Type To Use In Mysql Table
    Using a 5 character number (4)
    If I wanted to use an ID field which automatically increments when data are addad, but displays the
    ID as a 5 figure number, which data type would I have to use? I would want a type that assigns a
    number to a record in the format "00001", "00002", etc. However, when I use "int" as datatype, it
    only displays th field contents as "1", "2" etc. So, which data type could do the job for me? i do
    not need a decimal point or anything, just an id that displays in 5 figures, including the leading
    zeros. Thanks in advance.....
  8. Using Multiple Selection Array In Table To Order Data
    Using multiple selection array in table to order data (1)
    have a form that has a multiple select choice, like this: CODE <form method="post"
    action="display.php" <select multiple name="selectsort[]">
    <option value="code">Code</option> <option
    value="amount">Amount</option> <option value="dateammended">Date
    Ammended</option> <option value="expreviewdate">Expiration/Review
    Date</option> <option value="effectivedate">Effective Date</option>
    <option value="e....
  9. $20 Borders Gift Card
    A.K.A two 10 ones (2)
    This is a real way to get a free Borders $20 gift card! All you have to do is refer your
    friends to sign up at gather and when you get 5 they'll send you a gift card. Then you can use
    the site to make more friends. All around win win! If you want to help me out here is my link
    > Plus i am always out for making a new friend so feel free to say hi!! Nice tip-Make
    some yahoo emails and sign up multiple times with them. No referral links, ever! ....
  10. How To Draw Thin Table Lines
    (2)
    my name is joshua, am a web deisgner, i use dream weaver with a combination of other softwares to
    design sites. currently i have a project at hand to design a site that looks like an online store
    for product display. am really having problem on how to draw thin lines on the page so as to
    seperate iterms on the page. can any one help. thanks....
  11. A Unique Time Table That Happens Every 1000 Years
    (6)
    I just happen to see this and I think it is weird and cool at the very same This particular date
    only happens everyone 1000 years because of how unique it is, that time is 02:03:04 05/06/07 or
    02:03:04 am/pm on May 6th 2007. As you can see this is the first 7 numbers excluding 1. Bu I have
    figured the time and date for the first 10 numbers which is 0-9 and that date is 01:23.45 6/7/89 or
    june 7 in the year xx89. Now talk about how time is unique so with those 2 dates, that means they
    happen twice every 1000 years which includes am and then the pm of those dates. I k....
  12. New Custom Bbcode [table]
    much needed tag (20)
    Hello Trap17 members, After reviewing members' signatures, I believe TABLE tag is needed in our
    forum as well. The usage is the same as the regular HTML code: CODE
    [table=1][tr][td]column 1[/td][td]column
    2[/td][/tr][/table] will show: column 1 column 2 Table
    column's width is predefined. To avoid unnecessary forum format distortion please limit per
    column content to fit the forum width. Table=1 option is needed to create table outline. You may use
    0 to omit this option. CODE ....
  13. Help With Site Borders Fast
    (3)
    ok my friends site, here . he needed help with his borders and i havent gotten that down and he
    needed it fast. here is what he said QUOTE im using this on the left side I'd like the
    right side to be ALIGNED with the right border, and the dark part to be infinite no matter how big
    the persons monitor is.. it seems to "center" it on all monitors. see what i mean? please help
    him fast. need any more info reply here thanks!!....
  14. 1,2,3px Borders
    Adobe Photoshop CS2 (2)
    1px Border. Step 1. Get out your signature or other graphics that you are making. Make a new
    layer. Step 2. CTRL + A then edit>stroke>1px inside. You can choose what ever color you want.
    Step 3. Set the layer to soft light, overlay, darken, etc. What ever suits it best. End Result, you
    know have a line the color of your choice around your signature or graphics. 2px Border. Step
    1. Get out your signature or other graphics that you are making. Make a new layer. Step 2. CTRL + A
    then edit>stroke>2px inside. You can choose what ever color you want. Step 3. CT....
  15. Merge 2 Table In Mysql
    Question (3)
    Hi Dears i have one question about mysql and table how can merge 2 table in mysql for example i
    have 2 table with this fields table 1 : QUOTE CREATE TABLE cd1 ( id tinyint(4) NOT NULL
    auto_increment, cat text NOT NULL, text text NOT NULL, image text NOT NULL, cd text NOT NULL, price
    text NOT NULL, space text NOT NULL, company text NOT NULL, name text NOT NULL, rate int NOT NULL,
    PRIMARY KEY (id) ) TYPE=MyISAM; Tabel 2 : QUOTE CREATE TABLE cd2 ( id tinyint(4) NOT NULL
    auto_increment, cat text NOT NULL, text text NOT NULL, image text NOT NULL, cd text NOT N....
  16. Sealed Borders
    let's build a wall here, one there, one all around the place... (4)
    It seems to me that walled borders are becoming more and more popular - even though the most
    infamous example of a Wall ("The Wall") kind of failed: a) India and Pakistan have a long history
    of conflict about who's going to get how much of a region called Cashmere . In order to protect
    each country from militant extremists leaking into India/Pakistan from Pakistan/India, especially
    in/near Cashmere, large parts of the front line have been "secured" with lots of steel, concrete and
    barbed wire. This is mostly a Wall in the conventional sense, guarded by patrols (whi....
  17. Beveled Inner Glow Borders
    Adobe Photoshop 7+ (0)
    This tutorial is not mine! A friend I know made it and is allowing me to repost it as long as I
    give him credit. Name: Beveled Inner Glow borders Program: Adobe Photoshop Example: Tutorial:
    I am going to go ahead and assume you know how to open a new image in photoshop. For this test I
    have used a width of 500px and a height of 100px. 1. Firstly you need to select your rectangle
    tool. Drag it accross the picture, making sure to hug the sides of the image. 2. This is the
    rectangle. As you can see it hugs the edge of the picture. This is needed in order for....
  18. Display MySQL results in a Table
    question (8)
    hi all i know php and my sql i want to know how can show mysql result in this tabel for example :
    CODE <table cellpadding="0" cellspacing="0" width="200"
    height="151">     <!-- MSTableType="layout" -->     <tr>
            <td height="21" width="100" valign="top">1</td>
            <td height="21" width="100" valign="top">8</td>
        </tr>     <tr>         <td height="21" width="100" valign=&....
  19. Code To Install Mysql Database Table?
    (5)
    Can anyone show me example code of how to install a database table instead of me having to upload an
    file with it in, so i can do it from a php page? Thanks in advance ;-)....
  20. Help Setting Table Size.
    Seting it to precentages. Instead of Pixels (2)
    Hey guys I use dreamweaver alot and I was wondering about one thing cause it would help me with this
    and the raw coding. Whats the code to make your table(say if your whole site was a table) Be as
    wide as there monitor/resolutioin or w/e? Cause its really hard for me to do it cause i have to
    minmiize all the other horizontal tabs in DW, then get it the right size, Save it, Check in browser
    etc... and its a pain in the neck isnt there some way just to make it be the width of the browser
    window or somthing?....
  21. Loading Mysql Data Into A Table
    (10)
    Hey i have a little problem with my php script. i dont really know how to make it work ^^; I want to
    have this exact table: ' I made mysql table that has one column for id(auto-increment,
    primary key), and then it has row and collumn and text. row means which row in the html table and
    collumn wich collum. (obviously /tongue.gif" style="vertical-align:middle" emoid=":P" border="0"
    alt="tongue.gif" />) here is the mysql table screenshoted from phpMyAdmin: r means row and c
    collumn /tongue.gif" style="vertical-align:middle" emoid=":P" border="0" alt="tongue....
  22. Showing Numbers Of Mysql Entries In A Database Table
    It should be easy, but I don't know how... (7)
    I have a database, and need to know how to show the numbers of entries. So, if there are 10 entries
    in the selected database table, it will show the number 10 . I'm pretty sure this should be
    easy, but I don't know how to do it. Can someone tell me? /smile.gif"
    style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />....
  23. Mysql Changing Date Format
    Need a bit of help changi ng the date format in a table (3)
    Hello all firstly sorry if this is in the wrong forum it just seemed the most appropriate
    /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> Im using a mysql
    database with some php scripts to hopefully make a forum (fingers crossed!). the problem is the
    date format in the tables, its the form of yyyy-mm-dd which seems stupid to me as im used to
    dd-mm-yyyy. Is it possible to change the date format of the table so when i enter a date it is
    stroed as dd-mm-yyyy? Ive tried looking in the config.inc.php file and couldnt find a date for....
  24. Tables2css
    Convert Table-oriented layouts to pure CSS layouts. (7)
    Hello everyone: Just got a new script (javascript) up and running, and designed a website for it
    too. Basically, what it does, in a rather primitive fashion, is that it takes the html code for a
    table-oriented layout and converts it to a CSS layout. I've done my best to ensure that it
    handles nested tables by generating appropriately, relatively positioned divs. I whipped up the
    design over five hours, and I've very apprehensive about what it looks like. Any comments will
    be appreciated, and I'd really like to know what I need to do before I officially re....
  25. Creating A Table
    Please Help! (4)
    Well basically, I'm trying to create a table for my website using Macromedia Dreamweaver 8, with
    1 column and ten rows, in which I will place the top ten recent news items, however, the table
    produced by Macromedia Dreamwevaer 8 is a very simple one, I'm looking for a more professional
    designed table. Does anyone know the code for one, or know where I can get one for free. Thanks a
    lot in advance.....
  26. Adding Rows & Columns In Html Table Using Javascript
    (1)
    I'm trying to create a website with a form that collects some user information to store in MySQL
    database. However, I've a problem when I want to dynamically add new rows and columns in the
    HTML table so that the user can add more information in the dynamically added textboxes. Here's
    what I have: CODE                  <table border="0" width="90%"
    align="center" id="itemsTable">                   <tr>
                       <td width="20%">                     Quantity                   
    <....
  27. Max Table Width
    (13)
    Well, I have a table that I don't want to be over 350 pixels in width - even on the largest
    screens. On small screens, the table will be smaller. But on large screens, I don't want the
    table to larger than 350 pixels... Is there a way to do that?....
  28. Table Duplication
    How to do it with phpMyadmin (5)
    So how can I dublicate table to the same database using phpMyadmin? I realy do not want do the
    almost the same table specially then table has many colums. Or maybe it's inposible
    /huh.gif' border='0' style='vertical-align:middle' alt='huh.gif' /> (actualy I don't think so)....
  29. what is the 'test' mysql table for?
    (3)
    just wondering... ^ thanks....
  30. Table/cell Link?
    (10)
    Well, I actually don't know what it is. But I need a code where you can click everywhere on the
    table, not only on the text/image.....

    1. Looking for table, borders

Searching Video's for table, borders
advertisement



Table Borders



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE