Topic: Linking Css Pages that link to <a href="https://ozoneasylum.com/backlink?for=10811" title="Pages that link to Topic: Linking Css" rel="nofollow" >Topic: Linking Css\

 
Author Thread
Vincent Charles
Obsessive-Compulsive (I) Inmate

From: Fresno,Ca USA
Insane since: Sep 2002

IP logged posted posted 09-27-2002 21:57 Edit Quote

im not sure the correct way to make this statement but here it is
background-color: transparent; in another caterogy in these forums i was given this command for a css file. so i created a new css file. now i was wondering how do i link this statement to the table i want it to use?

I'll get it after a couple of more questions.

kuckus
Bipolar (III) Inmate

From: Berlin (almost)
Insane since: Dec 2001

IP logged posted posted 09-27-2002 22:10 Edit Quote

VC: So if I got you right you want one of your tables to have a transparent background, yes?

Something like this should do it if it's only one table you want to apply that style to:

<table style="background-color: transparent;">
...
</table>

Or, if you want to use the style more than once, you should make it a class (which you could also put into an external file):

<head>
&nbsp;&nbsp;<style type="text/css">
&nbsp;&nbsp;&nbsp;&nbsp;.special { background-color: transparent; }
&nbsp;&nbsp;</style>
</head>

and have that class in your table tags:

<table class="special"> ... </table>

kuckus (cell #282)

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

IP logged posted posted 09-27-2002 22:12 Edit Quote

I believe it should be background-color:none; ... though I may very well be wrong.

kuckus
Bipolar (III) Inmate

From: Berlin (almost)
Insane since: Dec 2001

IP logged posted posted 09-27-2002 22:22 Edit Quote

I'm pretty sure that "transparent" works in IE 6, but if it doesn't in other browsers it's of course well worth trying "none" instead.

kuckus (cell #282)

synax
Maniac (V) Inmate

From: Cell 666
Insane since: Mar 2002

IP logged posted posted 09-27-2002 22:28 Edit Quote

A quick way to do this for an textbox (I'm assuming that's what you want this for) is to just embed it right into the tag, like so:

<input type="text" style="background-color:transparent;" size="30" />

I recommend you read up on how to use CSS.

Vincent Charles
Obsessive-Compulsive (I) Inmate

From: Fresno,Ca USA
Insane since: Sep 2002

IP logged posted posted 09-28-2002 04:55 Edit Quote

Thanks guys i really do appreciate all the help you have given me.

I'll get it after a couple of more questions.

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

IP logged posted posted 09-28-2002 13:44 Edit Quote

Vincent Charles: From your question you seem to be asking you to link to an external CSS file and you can do this using:

code:
<link rel="stylesheet" type="text/css" href="css/my_css.css" />



___________________
Emps

FAQs: Emperor



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu