Hello everybody! I had a question (Like everyone else in this forum)
I am working on a new version of my 4-H website (With external stylesheets).
I use a CSS mouseover thingy (On text links) and I just wanted to know if I could use a different mouseover on other links in a different cell.
I'd like to have ALL my css in the external stylesheet (Which makes building the site easier on me)
Thank you!Use classes. (<!-- m --><a class="postlink" href="http://www.w3.org/TR/REC-CSS2/selector.html#class-html">http://www.w3.org/TR/REC-CSS2/selector.html#class-html</a><!-- m -->)I already use something like that...
I specify mouse over, link, a link, a visited and all that, but I just want it to change in a different cell.
Can I use that one thing where I say the id in the html <div id="cheese"><a href=http://www.webdeveloper.com/forum/archive/index.php/"cheese.htm"></div> And then I do this in the external stylesheet:
#cheese
{
color: #FF0000;
}
Would that work on links, but instead of saying the color red can I just specify the mouseover stuff just in that cell? I hope I don't sound too confusing.So when you mouseover something in one cell you want something to change in another?
If so, then you will need to use JavaScript for that. I could help you do that if you posted an example of the code you want to do this with.if i understand what you're looking for the <div id="whatever"></div>
should work, but if you want the page to validate you're better off to use classes
because id assumes uniqueness
for example:
.class foo a{
color: #FFFFFF;
}So when you mouseover something in one cell you want something to change in another?No. I want styles to vary from cell to cell.
if i understand what you're looking for the <div id="whatever"></div>s should work, but if you want the page to validate you're better off to use classes because id assumes uniquenessI have only known CSS for about a week. I use MSFrontpage to generate it for me (& it don't work so good.)Lose FrontPage.
Is this what you want?
#cheese a:hover
{
color: #0000ff;
}Dude, Kravvitz! That is exactly what I needed! Cool!
I'll put that in my page right away!
Thankyou so much!
(Sorry, but I don't think I'll be loosing FrontPage anytime soon... I kinda don't want to fork out 800 bucks for Dreamweaver...)You're welcome.
Who said anything about Dreamweaver?
I don't use or recommend either.
The editors listed in the first section of this page are the type that I recommend. (<!-- m --><a class="postlink" href="http://css-discuss.incutio.com/?page=CssEditors">http://css-discuss.incutio.com/?page=CssEditors</a><!-- m -->)Really? What do you use? I've only been using Frontpage for about three months now... Before that I was using Notepad (My deep dark opensource past)Don't use WYSIWYGs at all. None of them are very good. HTML and CSS coding isn't that tough to learn. Invest the time to learn it and save yourself a pile of $ and headaches.What does using Notepad have to do with open-source?
Currently I use Syn Text Editor (<!-- m --><a class="postlink" href="http://syn.sourceforge.net/">http://syn.sourceforge.net/</a><!-- m -->).When you build a site with notepad, you are doing it ALL open-source... (As in you see the code as you build--unlike FrontPage or Dreamweaver which displays the page you are building as you build it without the opensource code--much nicer)Yep -- thought so. You don't understand the term "open source". This is a good explanation of it. (<!-- m --><a class="postlink" href="http://en.wikipedia.org/wiki/Open_source">http://en.wikipedia.org/wiki/Open_source</a><!-- m -->)
What you mean is WYSIWYG vs. text code editing, not open source vs. closed source.
If you find code ugly, then I sugest that you find a new career.OK, my bad.
I don't find code ugly. I learned HTML using notepad. Wouldn't saying source-code work?
Oh, two more things...
1. I don't have a job. I'm 16 and extremely lazy.
2. HP is better than Dell.text code -- source code -- I would say they mean the same thing.
What does HP vs. Dell have to do with this?Nothing at all... Saying "just one more thing" and then making a numbered list with only one number is kinda dumb. I needed to put a second number in and I remember that you posted in Dell vs HP.*chuckles* Just one problem with that -- I haven't posted in the Dell vs. HP thread.Whoops....
*chuckles* Just one problem with that -- I haven't posted in the Dell vs. HP thread.text code -- source code -- I would say they mean the same thing.
What does HP vs. Dell have to do with this?
THe question is what does Dell vs Hp not got 2 do with it
I am working on a new version of my 4-H website (With external stylesheets).
I use a CSS mouseover thingy (On text links) and I just wanted to know if I could use a different mouseover on other links in a different cell.
I'd like to have ALL my css in the external stylesheet (Which makes building the site easier on me)
Thank you!Use classes. (<!-- m --><a class="postlink" href="http://www.w3.org/TR/REC-CSS2/selector.html#class-html">http://www.w3.org/TR/REC-CSS2/selector.html#class-html</a><!-- m -->)I already use something like that...
I specify mouse over, link, a link, a visited and all that, but I just want it to change in a different cell.
Can I use that one thing where I say the id in the html <div id="cheese"><a href=http://www.webdeveloper.com/forum/archive/index.php/"cheese.htm"></div> And then I do this in the external stylesheet:
#cheese
{
color: #FF0000;
}
Would that work on links, but instead of saying the color red can I just specify the mouseover stuff just in that cell? I hope I don't sound too confusing.So when you mouseover something in one cell you want something to change in another?
If so, then you will need to use JavaScript for that. I could help you do that if you posted an example of the code you want to do this with.if i understand what you're looking for the <div id="whatever"></div>
should work, but if you want the page to validate you're better off to use classes
because id assumes uniqueness
for example:
.class foo a{
color: #FFFFFF;
}So when you mouseover something in one cell you want something to change in another?No. I want styles to vary from cell to cell.
if i understand what you're looking for the <div id="whatever"></div>s should work, but if you want the page to validate you're better off to use classes because id assumes uniquenessI have only known CSS for about a week. I use MSFrontpage to generate it for me (& it don't work so good.)Lose FrontPage.
Is this what you want?
#cheese a:hover
{
color: #0000ff;
}Dude, Kravvitz! That is exactly what I needed! Cool!
I'll put that in my page right away!
Thankyou so much!
(Sorry, but I don't think I'll be loosing FrontPage anytime soon... I kinda don't want to fork out 800 bucks for Dreamweaver...)You're welcome.
Who said anything about Dreamweaver?
I don't use or recommend either.
The editors listed in the first section of this page are the type that I recommend. (<!-- m --><a class="postlink" href="http://css-discuss.incutio.com/?page=CssEditors">http://css-discuss.incutio.com/?page=CssEditors</a><!-- m -->)Really? What do you use? I've only been using Frontpage for about three months now... Before that I was using Notepad (My deep dark opensource past)Don't use WYSIWYGs at all. None of them are very good. HTML and CSS coding isn't that tough to learn. Invest the time to learn it and save yourself a pile of $ and headaches.What does using Notepad have to do with open-source?
Currently I use Syn Text Editor (<!-- m --><a class="postlink" href="http://syn.sourceforge.net/">http://syn.sourceforge.net/</a><!-- m -->).When you build a site with notepad, you are doing it ALL open-source... (As in you see the code as you build--unlike FrontPage or Dreamweaver which displays the page you are building as you build it without the opensource code--much nicer)Yep -- thought so. You don't understand the term "open source". This is a good explanation of it. (<!-- m --><a class="postlink" href="http://en.wikipedia.org/wiki/Open_source">http://en.wikipedia.org/wiki/Open_source</a><!-- m -->)
What you mean is WYSIWYG vs. text code editing, not open source vs. closed source.
If you find code ugly, then I sugest that you find a new career.OK, my bad.
I don't find code ugly. I learned HTML using notepad. Wouldn't saying source-code work?
Oh, two more things...
1. I don't have a job. I'm 16 and extremely lazy.
2. HP is better than Dell.text code -- source code -- I would say they mean the same thing.
What does HP vs. Dell have to do with this?Nothing at all... Saying "just one more thing" and then making a numbered list with only one number is kinda dumb. I needed to put a second number in and I remember that you posted in Dell vs HP.*chuckles* Just one problem with that -- I haven't posted in the Dell vs. HP thread.Whoops....
*chuckles* Just one problem with that -- I haven't posted in the Dell vs. HP thread.text code -- source code -- I would say they mean the same thing.
What does HP vs. Dell have to do with this?
THe question is what does Dell vs Hp not got 2 do with it