Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jan 2001
Posts: 13
Junior Member
Junior Member
Offline
Joined: Jan 2001
Posts: 13
hi all, how do i go about changing the color on my main forum page (ie where the forum names and descriptions are) i want to change the text color from white to red when there a mouse over detected?

thanks for the help [Linked Image]

Sponsored Links
Joined: Sep 2000
Posts: 4,211
Master Hacker
Master Hacker
Joined: Sep 2000
Posts: 4,211
moving to HTML, Javascript, & CSS

------------------
parallel parking job
------------------

Joined: Jan 2001
Posts: 13
Junior Member
Junior Member
Offline
Joined: Jan 2001
Posts: 13
ooops sorry for wrong board [Linked Image]


Joined: Aug 2000
Posts: 469
Member
Member
Offline
Joined: Aug 2000
Posts: 469
And now that you're here, I can tell you that I wrote a tutorial on doing this, and you can find it here .

------------------
a nothing thing

Joined: Jan 2001
Posts: 13
Junior Member
Junior Member
Offline
Joined: Jan 2001
Posts: 13
thanks empire reading it as i type [Linked Image]

Sponsored Links
Joined: Jan 2001
Posts: 13
Junior Member
Junior Member
Offline
Joined: Jan 2001
Posts: 13
sorry ive read it and it means nothing to me [Linked Image] ive managed to set up my forums but what uve putin the tutorial means nowt to me [Linked Image] prob me being thick so if any1 else knows a simpler way [Linked Image]...........

Joined: Sep 2000
Posts: 1,304
Addict
Addict
Offline
Joined: Sep 2000
Posts: 1,304
It doesn't get any simpler than that. That's the most basic way to have a different color when hover. Sorry man, it's a situation where people say "Take it or leave it"

------------------

Joined: Aug 2000
Posts: 469
Member
Member
Offline
Joined: Aug 2000
Posts: 469
Yeah...what can I say? Thats as simple as it gets, really. You can basically just copy and paste that code from the tutorial into your header, change the color vakues, and everything will be right on.

------------------
a nothing thing

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
That does work... and you can experiment with the colors as well. I paste it into our "headerinsert" box about 1/3 the way down in general settings.. it places the code between the tags...

------------------
Allen

- http://www.stand318.com


- Allen wavey
- What Drives You?
Joined: Jan 2001
Posts: 13
Junior Member
Junior Member
Offline
Joined: Jan 2001
Posts: 13
Im sorry if i came across ungreatful (that wasn't what i intended to come across as (me wacks myself on everyones behalf) i'll try copy and pasting the tutorial, i only ment that the tutorial was above my head new to this html and web stuff [Linked Image]


me creeps back under the stone i came from [Linked Image]

Sponsored Links
Joined: Aug 2000
Posts: 469
Member
Member
Offline
Joined: Aug 2000
Posts: 469
Thats all right. If you want to learn more about HTML and CSS, try going to webmonkey.com and reading their tutorials. Or, buy a book on the subject. I reccommend HTML 4.0: for the world wide web by Elizabeth Castro (a Quickstart Guide, Peachpit Press). Thats a good book from a good line of books...If not that, a book on XHTML would put you even farther ahead. [Linked Image]

------------------
a nothing thing

Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
Quote
quote:
I put the code between the tags on one of my pages and it didn't do anything.

What am I doing wrong, and also where can i get a list of colors in that hexidecimal code?

Joined: Aug 2000
Posts: 469
Member
Member
Offline
Joined: Aug 2000
Posts: 469
which code did you add? Are you using a new browser, or some 3.0 clunker, or webtv, etc?

Hexidecimal codes can also be found at webmonkey.com

------------------
a nothing thing

Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395



I'm using IE 5.5 latest version with service pack.

I can see the white mouseovers just fine here at UBBDEV.

This message has been edited by NBAustin on January 10, 2001 at 05:50 PM

Joined: Aug 2000
Posts: 469
Member
Member
Offline
Joined: Aug 2000
Posts: 469


It's as simple as that. The comment tags you're using are the wrong ones. Comment tags for styles aren't really necessary anyway, unless you want backwards compatibity with version 2 and 3 browsers.

I should note that the comment tags you are using are basically telling the browser to interpret the following:



------------------
a nothing thing

Joined: Sep 2000
Posts: 4,211
Master Hacker
Master Hacker
Joined: Sep 2000
Posts: 4,211
commenting out things eliminates them from being parsed. i wouldn't comment out things that you want to be included, if i were you...

in HTML, this: has the same effect as this: # in Perl.

------------------
parallel parking job
------------------

Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
Tried it both ways.

Nothing happens.

Joined: Aug 2000
Posts: 469
Member
Member
Offline
Joined: Aug 2000
Posts: 469
well, sorry. It works. I use it on everything I do, I've never had a problem. Countless other people use the exact same syntax and it works fine.

------------------
a nothing thing

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
This is what we put it our header insert box:



odd, it works in IE and NS6, do a "view source" and check it...

------------------
Allen

- http://www.stand318.com


- Allen wavey
- What Drives You?
Joined: May 2000
Posts: 1,356
Addict
Addict
Joined: May 2000
Posts: 1,356
Quote
quote:
you are right if you are using an *old* browser [Linked Image] it hides the code only from old browsers or from the browsers that does not support it...

Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
Quote
quote:
I've got it working with the code that is NOT using the .

BUT...only IE and Netscape 6 can see it.

Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
I guess I need to put the code within tags too huh?

I have links within tables that won't change color when moused-over.
Joined: Jan 2001
Posts: 13
Junior Member
Junior Member
Offline
Joined: Jan 2001
Posts: 13
eeeek now look what i started [Linked Image]

Joined: Aug 2000
Posts: 594
Member
Member
Offline
Joined: Aug 2000
Posts: 594
I can't believe this thread is still going... NBAustin, the older browsers will not show the mouseovers. For a list of what will and will not work check here : http://hotwired.lycos.com/webmonkey/reference/stylesheet_guide/

The results you are reporting are the correct ones like it or not. You may want to make multiple styles sheets and load them (with javascript) based on the browser if that fact that they do not mouseover in the old browsers are unacceptable.

Good luck,
jeremiah

------------------
Jeremiah
FreakScene - The Dinosaur Jr Audio/Visual Archive
My UBB
In
( ((((((((((((((STEREO))))))))))))) ) )
Where Available


jeremiah
Joined: Jan 2001
Posts: 13
Junior Member
Junior Member
Offline
Joined: Jan 2001
Posts: 13
thanks empire for your perseverance ive sussed it now [Linked Image] using the stuff off your tutorial

thanks


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
AllenAyres
AllenAyres
Texas
Posts: 21,079
Joined: March 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services