Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - CSS and VBscript

Reply
 
Old 01-22-2009   #1 (permalink)
RICK


 
 

CSS and VBscript

Is something like the following possible?

<style>

.thumbImage
{
width:<%=strThumbWidth%>;
height:<%=strThumbHeight%>;
}

</style>

Dreamweaver browser compatibility check indicates problems (Error Parsing
Styles) with Firefox with the above code.

My System SpecsSystem Spec
Old 01-23-2009   #2 (permalink)
hb21l6


 
 

Re: CSS and VBscript


"RICK" <RICK@xxxxxx> wrote in message
news:2B898093-39BC-4661-952B-19027F5F5DC6@xxxxxx
Quote:

> Is something like the following possible?
>
> <style>
>
> .thumbImage
> {
> width:<%=strThumbWidth%>;
> height:<%=strThumbHeight%>;
> }
>
> </style>
>
> Dreamweaver browser compatibility check indicates problems (Error Parsing
> Styles) with Firefox with the above code.
>
yes it is..
The IIS generates theASP page into an html file on the server (IIS), that
then passes it to the client (browser)

So the ASP you pass in like this..

<style>

.thumbImage
{
width:<%=strThumbWidth%>px;
height:<%=strThumbHeight%>px;
}

</style>

would come out as

<style>

.thumbImage
{
width:500px;
height:200px;
}

</style>

When you view the source

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
New to VBscript, Help please! VB Script
Where is VBscript now? VB Script
VBscript Help VB Script
How to do No hang up VBScript (nohup for VBScript) VB Script
vbscript and HTA help VB Script


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46