Jump to content

yipyipdog

Members
  • Posts

    2
  • Joined

  • Last visited

yipyipdog's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. scott, this is interesting as it doesnt work unless the "<?xml version="1.0" encoding="UTF-8"?>" is addedmy document started out as:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><%response.Charset="utf-8"%><html xmlns="http://www.w3.org/1999/xhtml">any thoughts as to why?
  2. i cant change the scrollbar attributes using any of the xhtml DTD (tried both the strict and the transistional)i can get the scrollbar to change if i omit the Doctype.i first used css to change the style of the scrollbar and this only worked if i left out the Doctype, but since i want to keep the Doctype so i can have a xhtml 1.0 valid document i then tried to do it a different waythen i used the DOM Html like this:<script type="text/javascript"><!--function Changescroll(){document.body.style.scrollbarFaceColor="#520007";document.body.style.scrollbarArrowColor="#000000";document.body.style.scrollbarTrackColor="#5F0008";document.body.style.scrollbarShadowColor="#380005";document.body.style.scrollbarHighlightColor="#B80010";document.body.style.scrollbarDarkshadowColor="#000000";document.body.style.scrollbar3dlightColor="#A6696E";}//--></script>but it also only worked if i omitted the Doctype - I have come to the conclusion that none of the XHTML DTD's support changing scrollbar attributescan anyone shed some more light on this pleasemy goal is to have an XHTML valid document that can have a different looking scrollbar from the default browser scrollbar
×
×
  • Create New...