Welcome Guest Search | Active Topics | Sign In | Register

cleaning out code to a sperate file with Datepicker Options
oberon_dog
Posted: Wednesday, September 9, 2009 2:33:53 AM
Rank: Newbie
Groups: Member

Joined: 2/16/2009
Posts: 2
Hi.

I am very happy with datepicker. It works well and is easy to format.

I have, however, noticed that it placed a large amount of code in the html.

I moved some of the style code to an external CSS file....and that worked well....but, at runtime, the application places even MORE code at the top of the html.

I understand this is necessary, but is it possible to have this code in a seperate file (or just inserted at the bottom of the HMTL block)

I'm under a lot of pressure from an SEO company to clean out the code on the site I'm building...and the datepicker has been identified as the guilty party.


Here is the style it 'auto-inserts' at the top



Quote:
<style type="text/css">.eo_tag_style{}</style><style type="text/css">

table.eo_no_border_spacing { border-spacing: 0; border-collapse: collapse; }
table.eo_td_no_padding td {padding: 0px;}

.eo_css_ctrl_ctl00_PUDate1 {background-color:white;border-bottom-color:#555566;border-bottom-style:solid;border-bottom-width:1px;border-left-color:#555566;border-left-style:solid;border-left-width:1px;border-right-color:#555566;border-right-style:solid;border-right-width:1px;border-top-color:#555566;border-top-style:solid;border-top-width:1px;font-family:Arial}
.eo_css_ctrl_ctl00_PUDate2 {background-color:#ffccff;border-bottom-color:#555566;border-bottom-style:solid;border-bottom-width:1px;color:black;font-family:Arial;font-size:11px;font-weight:bold}
.eo_css_ctrl_ctl00_PUDate3 {background-color:white;border-bottom-color:#F2F2F2;border-bottom-style:solid;border-bottom-width:1px;border-left-color:#F2F2F2;border-left-style:solid;border-left-width:1px;border-right-color:#F2F2F2;border-right-style:solid;border-right-width:1px;border-top-color:#F2F2F2;border-top-style:solid;border-top-width:1px;font-family:Arial;font-size:8pt}
.eo_css_ctrl_ctl00_PUDate4 {background-color:#ddeeff;border-bottom-color:#bbbbbb;border-bottom-style:solid;border-bottom-width:1px;border-left-color:#bbbbbb;border-left-style:solid;border-left-width:1px;border-right-color:#bbbbbb;border-right-style:solid;border-right-width:1px;border-top-color:#bbbbbb;border-top-style:solid;border-top-width:1px;font-family:Arial;font-size:8pt}
.eo_css_ctrl_ctl00_PUDate5 {background-color:white;border-bottom-color:white;border-bottom-style:solid;border-bottom-width:1px;border-left-color:white;border-left-style:solid;border-left-width:1px;border-right-color:white;border-right-style:solid;border-right-width:1px;border-top-color:white;border-top-style:solid;border-top-width:1px;color:gray;font-family:Arial;font-size:8pt}
.eo_css_ctrl_ctl00_PUDate6 {background-color:#F2F2F2;cursor:pointer;cursor:hand;font-family:Arial}
.eo_css_ctrl_ctl00_PUDate7 {background-color:White;border-bottom-color:Black;border-bottom-style:solid;border-bottom-width:1px;border-left-color:Black;border-left-style:solid;border-left-width:1px;border-right-color:Black;border-right-style:solid;border-right-width:1px;border-top-color:Black;border-top-style:solid;border-top-width:1px;font-family:Arial;font-size:8pt}

.eo_css_ctrl_ctl00_DODate1 {background-color:white;border-bottom-color:#555566;border-bottom-style:solid;border-bottom-width:1px;border-left-color:#555566;border-left-style:solid;border-left-width:1px;border-right-color:#555566;border-right-style:solid;border-right-width:1px;border-top-color:#555566;border-top-style:solid;border-top-width:1px;font-family:Arial}
.eo_css_ctrl_ctl00_DODate2 {background-color:#ffccff;border-bottom-color:#555566;border-bottom-style:solid;border-bottom-width:1px;color:black;font-family:Arial;font-size:11px;font-weight:bold}
.eo_css_ctrl_ctl00_DODate3 {background-color:white;border-bottom-color:#F2F2F2;border-bottom-style:solid;border-bottom-width:1px;border-left-color:#F2F2F2;border-left-style:solid;border-left-width:1px;border-right-color:#F2F2F2;border-right-style:solid;border-right-width:1px;border-top-color:#F2F2F2;border-top-style:solid;border-top-width:1px;font-family:Arial;font-size:8pt}
.eo_css_ctrl_ctl00_DODate4 {background-color:#ddeeff;border-bottom-color:#bbbbbb;border-bottom-style:solid;border-bottom-width:1px;border-left-color:#bbbbbb;border-left-style:solid;border-left-width:1px;border-right-color:#bbbbbb;border-right-style:solid;border-right-width:1px;border-top-color:#bbbbbb;border-top-style:solid;border-top-width:1px;font-family:Arial;font-size:8pt}
.eo_css_ctrl_ctl00_DODate5 {background-color:white;border-bottom-color:white;border-bottom-style:solid;border-bottom-width:1px;border-left-color:white;border-left-style:solid;border-left-width:1px;border-right-color:white;border-right-style:solid;border-right-width:1px;border-top-color:white;border-top-style:solid;border-top-width:1px;color:gray;font-family:Arial;font-size:8pt}
.eo_css_ctrl_ctl00_DODate6 {background-color:#F2F2F2;cursor:pointer;cursor:hand;font-family:Arial}
.eo_css_ctrl_ctl00_DODate7 {background-color:White;border-bottom-color:Black;border-bottom-style:solid;border-bottom-width:1px;border-left-color:Black;border-left-style:solid;border-left-width:1px;border-right-color:Black;border-right-style:solid;border-right-width:1px;border-top-color:Black;border-top-style:solid;border-top-width:1px;font-family:Arial;font-size:8pt}
</style>
eo_support
Posted: Wednesday, September 9, 2009 8:56:24 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

Have you tried to use "To CSS Class" button in Calendar Builder to convert all inline CSS styles into CSS classes? That should remove all the inline style for you.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.