CSS:

h2 span {color:red}
p span {font-weight:bold}

HTML:

<h2>Lorem ipsum <span>dolor</span></h2>

do until OnGuestbook.EOF %>

<p>Name: <span><% Response.Write (OnGuestbook("Name"))%></span></p>

<p>E-mail: <span><% Response.Write (OnGuestbook ("Email"))%></span></p>

<p>Website: <span><% Response.Write (OnGuestbook("Website")) %></span></p>

<p>Gender: <span><% Response.Write (OnGuestbook ("Gender")) %></span></p>

<p>Comments: <span><% Response.Write (OnGuestbook ("Comments"))
%></span></p>

<% OnGuestbook.MoveNext
loop %>

2008/4/27 Allen J. Bennett <[EMAIL PROTECTED]>:

> How would I use CSS to bold-face the results of reading an Access
> database?
>
> In a somewhat related vein, I would like to have the third word of my H2
> tags be a different color from the other words.
>
> >From what I have read, the basic purpose of CSS is to separate style from
> content, and I want to do things in the correct manner.
>
> . . .
> do until OnGuestbook.EOF %>
> Name:  <% Response.Write (OnGuestbook("Name"))%>
> <BR>
> E-mail <% Response.Write (OnGuestbook ("Email"))%>
> <BR>
> Website <% Response.Write (OnGuestbook("Website")) %>
> <BR>
> Gender: <% Response.Write (OnGuestbook ("Gender")) %>
> <BR>
>  Comments: <% Response.Write (OnGuestbook ("Comments")) %>
> <BR>
> <BR>
> <% OnGuestbook.MoveNext
> loop %>
> . . .
>
> Allen J. Bennett
>
> Health books (and a health information program) here:
> http://www.AffiliateDreams.com
> ______________________________________________________________________
> css-discuss [EMAIL PROTECTED]
> http://www.css-discuss.org/mailman/listinfo/css-d
> List wiki/FAQ -- http://css-discuss.incutio.com/
> List policies -- http://css-discuss.org/policies.html
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
>
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to