2 replies [Last post]
NewtonLoops
Offline
newbie
Last seen: 14 years 26 weeks ago
Joined: 2006-05-30
Posts: 2
Points: 0

Hello Everybody,
I'm trying out some code that highlights the search keywords in the returned document. I'm not up on my CSS and not sure where to put this code (below). I made a simple page of text to test this on and there is no formatting. I don't have a css section.

Where do I put this code ? I'm using DreamweaverMX.

Thank you
NL

---------

<!-- Paste this code into the CSS section of your HTML document -->

.searchword {
background-color: #FFF79F;
}

------------
end

drhowarddrfine
Offline
Leader
Last seen: 11 years 1 day ago
Timezone: GMT-6
Joined: 2005-05-21
Posts: 764
Points: 0

[Solved] Where do I put this CSS code?

The easiest is this: in the <head> of your html document, add
<style type="text/css">
.searchword {
background-color: #FFF79F;
}
</style>

IE7 is 10 years behind the standards or wrong.
But it works in IE!
IE is a cancer on the web -- Paul Thurott

NewtonLoops
Offline
newbie
Last seen: 14 years 26 weeks ago
Joined: 2006-05-30
Posts: 2
Points: 0

thanks doc

thanks doc