HighDots Forums  

Re: There is no attribute "BACKGROUND" & "HEIGHT" + + +

HTML Writing HTML for the Web (comp.infosystems.www.authoring.html)


Discuss Re: There is no attribute "BACKGROUND" & "HEIGHT" + + + in the HTML forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Els
 
Posts: n/a

Default Re: There is no attribute "BACKGROUND" & "HEIGHT" + + + - 04-15-2004 , 06:10 PM






Torbjørn Pettersen wrote:

Quote:
I've got a table where I want some of the cells to use
a background image. The cells have variable height, so
I am using an image with a rather small height to fill up
the background of the cells, thus making I look like one
high image in there.

When validating it, I get this error:
there is no attribute "BACKGROUND"

The validators also tell me there are no "HEIGHT" or
"TOPMARGIN" attributes. Where did they go? And
what to use now?
CSS:

<style type="text/css">
table{
margin-top: 10px;
}
td{
background-image:url(image.gif);
background-repeat:repeat-y;
height:30%;
}
</style>
</head>

http://www.w3.org/TR/REC-CSS2/colors...und-properties

Quote:
grumble>Why on Earth do they have to remove the
stuff that ::I:: use to make things nice and tidy?</grumble
Using CSS (especially in seperate stylesheets) will only
make things tidier and nicer :-)

Quote:
And then there is the "ALT" attribute.... Do I really have
to use that on ::all:: my images?
alt="" if the image really doesn't need a description
(thinking of decorative gifs here)

Quote:
Well, time to call it an evening anyway........
Same side of the planet as where I am :-)

--
Els

Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -



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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.