Cascading Style Sheet Problems!
Hey guys... I have looked over the net and could not find the answers to these very simple .css questions! I was hoping someone that knows about this stuff could help me.
First off I can not find a
{cellpadding: 0; cellspacing: 0} type of command for my tables.
Do they exist?
Secondly, I am wanting to add the SRC of an image in the .css. It is not working on IE... is {src: "myimage.jpg";} the wrong command? I guess so.
Lastly, I am wanting to add Alternative Text for an image in the .css. I can not find out what to use. {alt: "text";} does nothing.
If you guys have any answers to those.. I would greatly appreciate them!
Thanks,
Brandito
Re: Cascading Style Sheet Problems!
Quote:
Originally posted by Brandito
Hey guys... blah blah blah blah
First off I can not find a
{cellpadding: 0; cellspacing: 0} type of command for my tables.
Do they exist?
{padding: 0;
border-spacing: 0;
border-collapse: collapse;
}
Quote:
Secondly, I am wanting to add the SRC of an image in the .css. It is not working on IE... is {src: "myimage.jpg";} the wrong command? I guess so.
{ url('image.jpg'); }
Quote:
Lastly, I am wanting to add Alternative Text for an image in the .css. I can not find out what to use. {alt: "text";} does nothing.
http://www.w3schools.com/css/pr_gen_content.asp I'm not sure, but this link might help.