Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

Menu in css


  • Please log in to reply

#1
Allsortgroup

Allsortgroup

    I SPAMMED Too Much!

  • Banned
  • PipPipPip
  • 905 posts
Hi there,

If you make a menu up with a few links (with a css style sheet to refer to), and all the text colour is white, and then when your mouse goes over them they get underlined and they each have their own color, when you click on it and it goes to that page, is there anyway to keep the link underlined and the link that color when you are on that page?

A html page with a css style sheet attached?

:whistling:
  • 0

Advertisements


#2
Major Payne

Major Payne

    Retired Staff

  • Retired Staff
  • 5,307 posts
You can override the web site's display by using the Tools>Internet Options>General tab>Accessibility button in IE or Tools>Options>Content tab in Firefox. You can even have the whole page displayed using your own stylesheet in IE (click Accessibility button for options).

Ron
  • 0

#3
Allsortgroup

Allsortgroup

    I SPAMMED Too Much!

  • Topic Starter
  • Banned
  • PipPipPip
  • 905 posts
Ok, i have another question about css...

You know on your html pages you put all your text in there? And the html file refers to the css document.

On the css document is there any function like <text> then you put some text in like...

#bottom {
width: 200px;
(then something like insert text, then you type some text)
}

Then on your html page, when you insert the div #bottom, it will come up allredy in the div tag with the text that you wrote in the css file?

Is there any way to do this? :whistling: :blink: :help: :)
  • 0

#4
Seven!

Seven!

    Member

  • Member
  • PipPipPip
  • 161 posts
There isn't a function in CSS that will do what you're asking, but why would you need to do that?

If you do <div id="bottom">text</div>, then you can display your text that way. If you're having conflicting styles, then perhaps you should clean up your CSS =].
  • 0

#5
Allsortgroup

Allsortgroup

    I SPAMMED Too Much!

  • Topic Starter
  • Banned
  • PipPipPip
  • 905 posts
Thanks for your help.

Its all sorted out now.

But why in the html code when you insert a div from a css sheet why does it say <span class></span> sometimes?

:whistling:
  • 0

#6
thenotch

thenotch

    Member

  • Retired Staff
  • 667 posts
Read This:

HTML SPAN and DIV
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP