Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Change Font Size in display
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Change Font Size in display

 Post Reply Post Reply Page  <12
Author
Scotty32 View Drop Down
Moderator Group
Moderator Group


Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1682
Post Options Post Options   Thanks (0) Thanks(0)   Quote Scotty32 Quote  Post ReplyReply Direct Link To This Post Posted: 22 May 2003 at 5:05am

sorry didnt see them

'Loop through the recordset
Do While not rsevent.EOF
 
 'Write the HTML to display the current record in the recordset
 Response.Write ("<font face=""arial"" style=""font-size:")
 Response.Write (rsevent("number"))
 Response.Write ("8px;"" color=""red"">'")
 Response.Write (rsevent("title")) 
 Response.Write ("'</font>") 
 Response.Write ("<br> ")

 'Move to the next record in the recordset
 rsevent.MoveNext


Loop

 

better?

Back to Top
phorne View Drop Down
Newbie
Newbie


Joined: 18 May 2003
Location: United States
Status: Offline
Points: 23
Post Options Post Options   Thanks (0) Thanks(0)   Quote phorne Quote  Post ReplyReply Direct Link To This Post Posted: 22 May 2003 at 5:09am

GOT IT FIXED - THANKS GUYS!

Final code that works:

'Loop through the recordset
Do While not rsevent.EOF
 
 'Write the HTML to display the current record in the recordset

 Response.Write ("<font face=""arial"" style=""font-size:14'")
 Response.Write ("'px;"" color=""black"">")
 Response.Write (rsevent("number"))
   Response.Write (". ")
 Response.Write (rsevent("title"))
 Response.Write ("</font>")
 Response.Write ("<br> ")
  
 
 'Move to the next record in the recordset
 rsevent.MoveNext


Loop

Back to Top
Scotty32 View Drop Down
Moderator Group
Moderator Group


Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1682
Post Options Post Options   Thanks (0) Thanks(0)   Quote Scotty32 Quote  Post ReplyReply Direct Link To This Post Posted: 22 May 2003 at 5:13am

i was wondering....

wouldnt this just be alot easyer?

 Response.Write ("<font face=""arial"" style=""font-size:14px;"" color=""black"">" & rsevent("number") & ". " & rsevent("title") & "</font><br>")

 

Back to Top
aero View Drop Down
Groupie
Groupie
Avatar

Joined: 21 May 2003
Location: Denmark
Status: Offline
Points: 80
Post Options Post Options   Thanks (0) Thanks(0)   Quote aero Quote  Post ReplyReply Direct Link To This Post Posted: 22 May 2003 at 5:26am

Yes me to !??? whay do u have

Response.Write (rsevent("number"))
if ud are writing the number in
Response.Write ("<font face=""arial"" style=""font-size:14'")

is the Response.Write (rsevent("number")) not the number u want u'r font-size to be !????

Back to Top
 Post Reply Post Reply Page  <12

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.