AJAX Forums

Using HTML to colour gridlines on a table on my website?

This is a discussion on Using HTML to colour gridlines on a table on my website? within the XHTML and CSS forums, part of the Beginners AJAX category; I have a WYSIWYG editor which doesn't seem to allow me to put coloured gridlines (or any gridlines) on a table. I seem able only to put in a ...


Go Back   AJAX Forums > Beginners AJAX > XHTML and CSS

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
Old 05-18-2007, 02:57 PM   #1 (permalink)
Junior Member
 
Join Date: May 2007
Posts: 1
Rep Power: 0 Sophie is on a distinguished road
Using HTML to colour gridlines on a table on my website?

I have a WYSIWYG editor which doesn't seem to allow me to put coloured gridlines (or any gridlines) on a table. I seem able only to put in a border round the whole table or colour individual cells or have the sort of skeleton framework that you get when you create a table. What tags insert gridlines and what tags colour them? Thanks everyone if you can help!
__________________
Sophie is offline   Reply With Quote
Old 05-19-2007, 07:18 AM   #2 (permalink)
Junior Member
 
Join Date: May 2007
Posts: 1
Rep Power: 0 Robert S is on a distinguished road
border-color Attribute | borderColor Property This property is defined in Cascading Style Sheets (CSS), Level 1 (CSS1)--------------------------------------------------------------------------------Sets or retrieves the border color of the object.SyntaxHTML { border-color : sColor } Scripting object.style.borderColor [ = sColor ] Possible ValuessColor String that specifies or receives up to four color names or RGB values in the Color Table. The property is read/write for all objects except the following, for which it is read-only: currentStyle. The property has no default value. The Cascading Style Sheets (CSS) attribute is not inherited. Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.RemarksUp to four different colors can be specified in the following order: top, right, bottom, left. If one color is supplied, it is used for all four sides. If two colors are supplied, the first is used for the top and bottom, and the second is used for left and right. If three colors are supplied, they are used for top, right and left, and bottom, respectively. As of Microsoft® Internet Explorer 5.5, this property applies to inline elements. With earlier versions of Internet Explorer, inline elements must have an absolute?A HREF="../properties/position.html">position or layout to use this property. Element layout is set by providing a value for the height property or the width property.The borderColor property does not render if the borderStyle property is set to none.Some browsers do not recognize color names, but all browsers should recognize RGB color values and display them correctly.ExamplesThe following examples use the border-color attribute and the borderColor property to specify the border color.This example uses a call to an embedded (global) style sheet to change the color of the border to blue from an initial value of red when the mouse moves over the image.SHOWExampleTD { border-color: red; border-width: 0.5cm }.blue { border-color: blue }Show MeThis example uses inline scripting to change the color of the border to blue when the mouse moves over the image.
__________________
Robert S is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
How can I change the border color on html table? Anyone have the code? whispering_wind_f38 XHTML and CSS 0 06-08-2007 10:41 AM
What HTML colour is this?!?!?!? indiechick XHTML and CSS 1 05-30-2007 12:00 AM
How do I change the font colour in a CSS style sheet? Julie C XHTML and CSS 2 05-14-2007 07:38 PM
Hey I need HTML/WEBSITE Help? calan b XHTML and CSS 2 05-14-2007 12:23 PM
I am trying to find a way to load an XML file into HTML in a table.? Zach F XML and XSLT 0 05-13-2007 09:18 AM


All times are GMT -4. The time now is 08:43 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5
Copyright ©2006 - 2008, AJAXwith.com