|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Uppercase to Bold
Hi,
I'm a total asp novice, but could you tell me if the following is possible: I have a field that contains text with titles in uppercase e.g. THIS IS TITLE 1 Text goes here THIS IS TITLE 2 Text goes here Is there any way to make rows in uppercase display in bold? Thanks in advance. |
|
#2
|
||||
|
||||
|
Nothing to do with ASP, but use this HTML
Code:
<strong>THIS IS TITLE1</strong>
__________________
Have I made your day? If so, please show your appreciation either by sending money or the cheaper, preferred option of clicking on the scales icon at the top right of this posting. My reputation needs all the help it can get.
Last edited by splinters : April 21st, 2005 at 09:39 AM. |
|
#3
|
||||
|
||||
|
Presuming that you are displaying the rows in a loop:
Code:
While NOT obj_RecordSet.EOF
If obj_RecordSet("Title") = UCase(obj_RecordSet("Title")) Then
Response.Write("<strong>" & obj_RecordSet("Title") & "</strong><br>")
Else
Response.Write(obj_RecordSet("Title") & "<br>")
End If
obj_RecordSet.MoveNext
Wend
__________________
selwonk If I've posted some code above, you might think it looks a bit simplistic. It might be. I'd rather people tried the next step themselves rather than getting a full solution on a plate. That way they learn more!
|
|
#4
|
|||
|
|||
|
Thanks Mike, thats just what I'm after!
|
![]() |
| Viewing: ASP Free Forums > Programming > ASP Development > Uppercase to Bold |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|