how do I use a:hover within a html file (without the css file)

This is a discussion on "how do I use a:hover within a html file (without the css file)" within the Web Page Design section. This forum, and the thread "how do I use a:hover within a html file (without the css file) are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Mar 5th, 2007, 21:57
New Member
Join Date: Mar 2007
Location: uk
Age: 99
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
how do I use a:hover within a html file (without the css file)

Hello

is it possible to set a:hover within the html files witout the use of css file? This is my code and i can set bg colour by using the style=" " , but what about a:hover..

how is it set?

<DIV class="most-viewed-singular" style="background-color:#FFFFF">
<A href="<A href="http://www.amazon.com"></A">http://www.amazon.com"></A>
</div>

why am i not using css file? well I am, but this part of my script is generated dynamically and the a:hover properties need to be different each time...

thxs guys
Louis
Reply With Quote

  #2 (permalink)  
Old Mar 5th, 2007, 22:14
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: how do I use a:hover within a html file (without the css file)

It's a pseudo-class, so you can't. You can add an inline style sheet, however.
Reply With Quote
  #3 (permalink)  
Old Mar 5th, 2007, 22:50
New Member
Join Date: Mar 2007
Location: uk
Age: 99
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Re: how do I use a:hover within a html file (without the css file)

d'oh!

but thx for reply
Reply With Quote
Reply

Tags
ahover

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting properties of another file(ex.HTML)? markor2d2 JavaScript Forum 2 May 3rd, 2007 08:17
html file from flash bejamshi Web Page Design 9 Feb 4th, 2007 03:45
Creating a log file (text file) and an XML file using XSL kdelacruz Other Programming Languages 1 Nov 4th, 2006 21:12
swf not loading on html file Christom Flash & Multimedia Forum 2 Mar 31st, 2005 09:51
How make Word file same as html file in ASP humair Classic ASP 5 Sep 24th, 2003 14:35


All times are GMT. The time now is 15:58.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

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