![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello, Am at my wits end, after spending quite a bit of time looking at online CSS docs, reading FAQs, searching this newsgroup and validating my CSS document. |

#3
| |||
| |||
|
|
I've defined the "search" submit button in the upper right corner of the page as class 'btn' and here is the style definition for the 'btn' class: input.btn { border-top-color:#ffcc00; border-left-color:#ffcc00; border-right-color:#039; border-bottom-color:#039; border:2px solid; } Change it to: |
#4
| |||
| |||
|
|
Sheila King wrote: ....<snipped>... Change it to: input.btn { border:2px solid; border-top-color:#ffcc00; border-left-color:#ffcc00; border-right-color:#039; border-bottom-color:#039; } (I chopped out extraneous stuff.) Having "border:2px solid;" after setting the border colors caused the border color to revert to black. |
#5
| |||
| |||
|
|
I would hope the html validator still tells you there are errors if you put in an empty alt attribute for the img tags. Afterall, it's the same as having no alt attribute because people with images turned off still won't know what the image is of. |
#6
| |||
| |||
|
|
But if you use a text only browser, or have images turned off, you've no way to know that an image is purely for decoration. Isn't that the purpose of the alt tag - to provide text only browser users with a textual description of the page? |
#7
| |||
| |||
|
|
But if you use a text only browser, or have images turned off, you've no way to know that an image is purely for decoration. Isn't that the purpose of the alt tag - to provide text only browser users with a textual description of the page? |
#8
| |||
| |||
|
|
Neal wrote: BenOne© wrote: Isn't that the purpose of the alt tag - to provide text only browser users with a textual description of the page? alt tag? What's the alt tag? You have probably already seen this, but in case you haven't: http://www.flightlab.com/~joe/sgml/faq-not.txt See part 5. |

![]() |
| Thread Tools | |
| Display Modes | |
| |