Adobe Forums

Add Me
Adobe Forums » Software Discussions » GoLive » Windows » I would like to color the border of just one table

Tags:



Reply
LinkBack Thread Tools Display Modes
I would like to color the border of just one table
  #1 (permalink)  
Old 09-22-2008, 03:41 PM
Selwyn_Silberblatt@adobeforums.com
Guest
 
Posts: n/a
Default I would like to color the border of just one table

I would like to color the border of just one table on just one page. I do not want that border color cascading through the site to all tables, nor to even affect all tables on that one page.

I knew how to do it months ago (thanks to you kind folks) --- but I forgot. I do remember that it is not too complicated. I think I have to create a new markup element or new class style, but I don't remember which or how to do it, or which palette to open to do it, or how to link the color to the one specific table.

Thanks. Selwyn


Reply With Quote


  #2 (permalink)  
Old 09-22-2008, 09:20 PM
Murray
Guest
 
Posts: n/a
Default Re: I would like to color the border of just one table

For something specific like this you can just do an inline style -

<table style="border:1px solid red; border-collapse:collapse;"...

--
Murray


Reply With Quote


  #3 (permalink)  
Old 09-22-2008, 09:20 PM
Selwyn_Silberblatt@adobeforums.com
Guest
 
Posts: n/a
Default Re: I would like to color the border of just one table

Hi Murray:
I'll look up "inline style" in the book and try to follow the directions. I know you wrote some code for me - but even though I have tried to do some HTML tutorials - I have to admit I am still pushing the buttons and turning the dials in the GoLive interface.

I'll let you know if I am successful.

Thanks. Selwyn
Reply With Quote


  #4 (permalink)  
Old 09-22-2008, 09:20 PM
Kath_Howard3@adobeforums.com
Guest
 
Posts: n/a
Default Re: I would like to color the border of just one table

It's css rather than html, Selwyn - you really need to learn a bit about it
Reply With Quote


  #5 (permalink)  
Old 09-22-2008, 09:20 PM
Murray
Guest
 
Posts: n/a
Default Re: I would like to color the border of just one table

Just find the table tag for the table you want to have the border, and add
the inline style attribute I have shown in my reply to it.

--
Murray


Reply With Quote


  #6 (permalink)  
Old 09-22-2008, 09:20 PM
Selwyn_Silberblatt@adobeforums.com
Guest
 
Posts: n/a
Default Re: I would like to color the border of just one table

Hi Kath:
You must be very sick of me. I am trying to be self-reliant - and so I am on page 200 chapter 10 of my User's Guide.

I am going to attempt to follow the directions under the paragraph:
"To apply a CSS style to particular tables, rows or cells."

Wish me luck.
Selwyn
Reply With Quote


  #7 (permalink)  
Old 09-22-2008, 09:20 PM
Kath_Howard3@adobeforums.com
Guest
 
Posts: n/a
Default Re: I would like to color the border of just one table

Sorry, just pulling your leg
Reply With Quote


  #8 (permalink)  
Old 09-22-2008, 09:20 PM
Selwyn_Silberblatt@adobeforums.com
Guest
 
Posts: n/a
Default Re: I would like to color the border of just one table

Keep pulling - maybe it will eventually do some good
Reply With Quote


  #9 (permalink)  
Old 09-23-2008, 03:20 PM
Selwyn_Silberblatt@adobeforums.com
Guest
 
Posts: n/a
Default Re: I would like to color the border of just one table

Sorry to say - I was not sucessful yesterday in my attempt to color JUST ONE table border on a single page that has many tables on it. (I was able to color ALL the table borders on that page - but that is not what I wanted to do.)

Murray gave me some code to plug in -- but -- I want to do it using the "GoLive" palettes - knobs and buttons for dummies way. Yes -- I know that knowing HTML and CSS would be very helpful - and that I would have a cleaner and more efficient site. I AM struggling through some tutorials.

So - I want to take this one step at a time, and with luck, I will get this done.
(I expect this will take some back and forth).

Step 1: Open the page and select the table whose border I want to color.
Is this the correct step 1?

Step 2: Open the CSS EDITOR - NOT the CSS palette
Is this the correct step 2?

Step 3: (Here's where I get in trouble)
I have the following choices:
a: create a Reference to an External Style Sheet File
b: create a Style that Applies to Markup Elements
c: create a New Class Style
d: create a Style that Applies to Unique Elements.
e: right click in the CSS field which opens an exanding"NEW STYLE" menu with a long list which includes:
"td" "Table" "div" and a whole lot of other choices.

Which of the above (a, b, c, d, or e) to I choose?
Or do I do something else entirely?

Okay - that should be enough for now.

(If you find my way of asking this too clumsy --- then please just send me a simple "walk through" -- referencing the GoLive palettes interfaces - rather than the source code.)

PLEASE and THANK YOU --- Selwyn
Reply With Quote


  #10 (permalink)  
Old 09-24-2008, 12:51 PM
Kath_Howard3@adobeforums.com
Guest
 
Posts: n/a
Default Re: I would like to color the border of just one table



The program will generate ".class"





I will rename it ".table border color"





Is this okay so far?




No. Class names must have no spaces, no special characters. They must start with a letter, not a number, and should not be the same as any 'html words' like table or body.

You can call it .bordercolour if you like.

Do I need to retain the "." before "table border color?"




Keep the dot. It is essential.
Reply With Quote


Reply



Thread Tools
Display Modes

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 On


Hairstyles | UFO Videos | Bollywood Wallpapers | Poems  | WWE


All times are GMT. The time now is 11:27 PM.
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.