mischievous
May 13 2008, 05:24 PM
Hi I made hover buttons to go into my friends website because frontpage didn't allow the text on their buttons to be left aligned. Anyway, I think they stick a lot and i'm not happy with them. I have read a lot of people don't like the time it takes for java applets to load either so thought I should try doing the navigation buttons with the CSS shown on this site. I was so happy when after following the instruction my buttons turned out fine but the probem is that they have a solid border around each button and i want my nav bar to look like it's underlined as in the site below if it helps anyone to know this is the way I have modified the instructions in the tutorial but need further guidence. Any help would be great. Here is the code I have at the moment: body { background-color: #140C3A; } a:link, a:active { /*color: #92A92D;*/ /*color: #002A6C;*/ font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #C41427; text-decoration: none; } a:visited { /*color: #92A92D;*/ /*color: #002A6C;*/ font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #C41427; text-decoration: none; } a:hover { /*color: #CD689D;*/ color: #C41427; /*font-weight: bold;*/ text-decoration: underline; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; } #LHS a { margin-left: 12px; margin-bottom: 2px; border : solid 2px # background-color: #140C3A; color: #FFFFFF; font-variant: medium none small-caps; font-weight: normal; width: 180px;height: padding-top: 3px; padding-bottom: 3px; display: block; } #LHS a:hover { background-color: #C41427; color: #; text-decoration: none; }
Reply
TavoxPeru
May 14 2008, 01:18 AM
The following code works fine and i test it with Internet Explorer 6 only, it looks almost the same as the navigation buttons of the site you post: CODE body { font: normal 100.1% Verdana, Arial, Helvetica, sans-serif; background-color: #140C3A; } a.boton3d { height: 2em; text-decoration: none; font-size:0.70em; vertical-align:middle; text-align: left; display: block; font-weight: bold; line-height: 2em; border-left:0px solid black; border-right:0px solid black; border-top:2px solid #140C3A; background-color: #140C3A; width:120px; font-family: Verdana, Arial, Helvetica, sans-serif; color: #C41427; }
a.boton3d:link, a.boton3d:visited {border-bottom:1px solid white;color:#fff; background-color: #140C3A;} a.boton3d:hover { color:#fff;background-color:#b70000;text-decoration: none;border-top:2px solid #550000;} I hope it helps and you can view in action at Navigation Buttons Example. And of course it can be improved and modificated to your own needs, it is just a test  . Best regards,
Reply
mischievous
May 14 2008, 05:04 PM
Thank you so much for this reply. This morning i received an answer to this query from another site (sorry mods) and I was over the moon to have my very first CSS sheet but then i realized i didn't know how to insert it into the website so had to go back for more advice. Everything seems ok now though your code here looks even shorter again than the code I used. I am going to copy and study what you've written and maybe use it somethime. I hope that's ok with you? QUOTE(TavoxPeru @ May 14 2008, 02:18 AM)  The following code works fine and i test it with Internet Explorer 6 only, it looks almost the same as the navigation buttons of the site you post: CODE body { font: normal 100.1% Verdana, Arial, Helvetica, sans-serif; background-color: #140C3A; } a.boton3d { height: 2em; text-decoration: none; font-size:0.70em; vertical-align:middle; text-align: left; display: block; font-weight: bold; line-height: 2em; border-left:0px solid black; border-right:0px solid black; border-top:2px solid #140C3A; background-color: #140C3A; width:120px; font-family: Verdana, Arial, Helvetica, sans-serif; color: #C41427; }
a.boton3d:link, a.boton3d:visited {border-bottom:1px solid white;color:#fff; background-color: #140C3A;} a.boton3d:hover { color:#fff;background-color:#b70000;text-decoration: none;border-top:2px solid #550000;} I hope it helps and you can view in action at Navigation Buttons Example. And of course it can be improved and modificated to your own needs, it is just a test  . Best regards,
Reply
TavoxPeru
May 14 2008, 09:25 PM
You are welcome mischievous and don't worry you can use my code whenever you want, the only thing i hope is that you study it soon  and if you have any questions about it please let me know. Relating to how to insert the CSS sheet, well it is pretty easy you only need to include this line on the HEAD section of every page where you want to use it: CODE <link rel="stylesheet" href="name-of-your-sheet.css" type="text/css"> Another way to achieve almost the same look and functionality is by using INPUT elements and a tiny Javascript function to load the pages: CODE <style type="text/css"> input.boton { border:0px solid; border-top:2px solid #140C3A; border-bottom:1px solid white; text-align: left; padding:0; margin:0; width:8em; color:#fff; background-color: #140C3A; cursor:pointer; font-weight: bold; line-height: 2em; height: 2em; font-family: Verdana, Arial, Helvetica, sans-serif; font-size:0.9em; vertical-align:middle; }
input.boton:hover { color:#fff; background-color:#b70000; border-top:2px solid #550000; } </style>
<script type="text/javascript"> function go2Url(page) { location.href=page; } </script> Inside the BODY section of your page you need to add this code: CODE <input class="boton" type="button" value="Link One" onclick="go2Url('page1.html');" ><br /> <input class="boton" type="button" value="Link Two" onclick="go2Url('page2.html');" ><br /> <input class="boton" type="button" value="Link Tree" onclick="go2Url('page3.html');" ><br /> BTW, as far i know this code do not work with Internet Explorer 6, with the latest versions of Internet Explorer i don't know if it works because i don't use them, but with Firefox 2.x+ or Opera 9.x+ it works fine. You can view in action at Navigation Buttons Example 2. Best regards,
Reply
mischievous
May 14 2008, 11:19 PM
Hi again today I've read through a few tutorials but still find if very confusing so will have to go real slow or I will fry what little brain I have with it all. Thank you for taking the time to set me these examples though I think Ill stick with the first code as I use Internet explorer. Thanks again QUOTE(TavoxPeru @ May 14 2008, 10:25 PM)  You are welcome mischievous and don't worry you can use my code whenever you want, the only thing i hope is that you study it soon  and if you have any questions about it please let me know. Relating to how to insert the CSS sheet, well it is pretty easy you only need to include this line on the HEAD section of every page where you want to use it: CODE <link rel="stylesheet" href="name-of-your-sheet.css" type="text/css"> Another way to achieve almost the same look and functionality is by using INPUT elements and a tiny Javascript function to load the pages: CODE <style type="text/css"> input.boton { border:0px solid; border-top:2px solid #140C3A; border-bottom:1px solid white; text-align: left; padding:0; margin:0; width:8em; color:#fff; background-color: #140C3A; cursor:pointer; font-weight: bold; line-height: 2em; height: 2em; font-family: Verdana, Arial, Helvetica, sans-serif; font-size:0.9em; vertical-align:middle; }
input.boton:hover { color:#fff; background-color:#b70000; border-top:2px solid #550000; } </style>
<script type="text/javascript"> function go2Url(page) { location.href=page; } </script> Inside the BODY section of your page you need to add this code: CODE <input class="boton" type="button" value="Link One" onclick="go2Url('page1.html');" ><br /> <input class="boton" type="button" value="Link Two" onclick="go2Url('page2.html');" ><br /> <input class="boton" type="button" value="Link Tree" onclick="go2Url('page3.html');" ><br /> BTW, as far i know this code do not work with Internet Explorer 6, with the latest versions of Internet Explorer i don't know if it works because i don't use them, but with Firefox 2.x+ or Opera 9.x+ it works fine. You can view in action at Navigation Buttons Example 2. Best regards,
Reply
TavoxPeru
May 14 2008, 11:44 PM
QUOTE(mischievous @ May 14 2008, 06:19 PM)  Hi again today I've read through a few tutorials but still find if very confusing so will have to go real slow or I will fry what little brain I have with it all. Thank you for taking the time to set me these examples though I think Ill stick with the first code as I use Internet explorer. Thanks again  Ok, no problem, and you are right its better to go slow to complete understand this and not get confused. I recommend you to visit the following CSS reference pages: You can view more information about the first one by visiting the following post i made a few months ago: Sitepoint's Css And Html Reference SitesBest regards,
Reply
mischievous
May 15 2008, 08:47 AM
QUOTE(TavoxPeru @ May 15 2008, 12:44 AM)  Ok, no problem, and you are right its better to go slow to complete understand this and not get confused. I recommend you to visit the following CSS reference pages: You can view more information about the first one by visiting the following post i made a few months ago: Sitepoint's Css And Html Reference SitesBest regards, Thank you again Tavox. I have an appointment at the hospital today so won't have much time but I will look over your suggestions as soon as and let you know how I get on. Regards
Reply
TavoxPeru
May 16 2008, 01:34 AM
QUOTE(mischievous @ May 15 2008, 03:47 AM)  Thank you again Tavox. I have an appointment at the hospital today so won't have much time but I will look over your suggestions as soon as and let you know how I get on. Regards  Again you are welcome mischievous, and dont forget that if you need some advice please let me know. Best regards,
Reply
Recent Queries:--
css ajax hover stick - 146.57 hr back. (1)
-
javascript sticking nav button - 177.76 hr back. (1)
-
onclick hover buttons - 231.46 hr back. (1)
-
css hover display stick - 455.50 hr back. (1)
Similar Topics
Keywords : website, navigation, hover, buttons, stick, made, css, today, tutorial, site
- I Need A Template For A Website
(9)
Web Developing Software
THe simplest software for buidling a good and reasonable website (16) Hi Everyone !! I want to make a website but I dont wanna use the conventional
software like Frontpage or Dreamveawer cuz one has to be a web developer to creat a website using
the above mention softwarez. since I know a bit of designing so I created my 1st website using
photoshop but what I did is I design the whole page as an image and took it to frontpage and using
the hot spot option, I hyperlink the image parts and thuss created my website but obviouslyyy...
this is not the professional way of creating websites .you can check my website its URL is ....
Buttons Misaligned In Ie Only
Buttons make a staircase shape (7) Hey all, I have a site I've been working on for awhile. http://wow.thedarkmagi.com Problem
is in IE the buttons at the top "staircase" down. They should go right across the top like they do
in Foxfire. Can anyone advise me on how to fix this? Thanks in advance, let me know if I can
assist you. - mike....
Stretching My Site Vertically
Using CSS or HTML (6) I know it's possible, I've seen it one time. But I forgot. Many websites, if they hold more
content than there is room for in the minimum height, the site stretches vertically. How can I do
this? I only know that I need a background image of 1px height. Thanks in advance MediYama....
A Website
what all do i need? (8) ok, as you may have seen in some of my other posts, i plan to make a text based online game. Well,
i feel that while im still learning php, mysql, and javascript, it would be a good idea to start
learing what i need for a website, i know you need a domian name but uh yeah lol. I thought if im
gunna learn one thing to make something happen i might as well try to learn it all lol. What could
go wrong? lol. Well thanks for your help. Thanks Zemon1....
[help] Navigation Button Problem
(4) This is a html+css template i took off the net for my college end sem project. I wanted to use this
template for my ASP .NET application. There is a slight problem with the navigation button when
clicked, please download the attached file and guide me to a solution if you can. Open
succlogin.html and then navigate through the buttons. The following htmls are linked together:
succlogin.html succunibase.html succstudbase.html succprof.html accabt.html Also please tell me if
this template can be used with ASP .NET 2005. Awaiting your replies Thanks in Advance Regards Dh....
Preview Your Website In Ie From Non-windows Os
(3) If you are using a non-windows based OS probably Linux or Mac OS may be even Solaris or OS/2, you
can preview how you website or new site design looks in Internet Explorer. A site by Daniel Vine
provides you this facility for free, Just head over to http://www.danvine.com/iecapture/ and
enter your sites URL to preview. This site will automatically create a screen shot of your site how
it appears in IE. Usually it will take longer to get a screenshot because always there will be
thousands of such sites queued to be previewed. Post your comments and experiences.....
Unicode Encoded Site - Characters Not Displaying Properly?
(4) Hey guys, I've been working on a AJAX based CMS for a client for the last few days
and am in the final stages of deployment. I've run into a slight problem here. The site is
supposed to be in Norwegian. The back-end uses the tinyMCE editor for adding in content, which
is stored in MySQL. Now this presents no problem at all and the content is displayed just fine in
the browser.. Problem arises when it comes to the site menu. It is a drop-down menu script from
DynamicDrive, which reads off the menu items the same way from MySQL as the content and b....
Cvs For Maintaining Your Site
(0) This is something every webmaster would love to use.. but didn't know existed. There is a tool
named "CVS" which can be used to save all versions of your program. You initially start with a set
of source code files, and the project grows from there on. If you make a mistake you can always
restore the changes you made from the previous version you added to the "CVS". During a
website's lifetime, a lot of code keeps changing, and more often than not, some code causes a
problem in the rest of your website. Using CVS would help to detect where you slipped in those ....
Need Help With Multi-lingual Site Design
(6) Does any of you have any ideas on multi-lingual site design? I'm looking for some
resources/guides that'll show me the exact technique of achieving this... I am NOT looking for
the Google Translate kind of option, where you've got a bunch of buttons on your site - clicking
on which, will pass your page through Google Translator producing a totally garbled grammatical
output in another language... What I want is to define every Text Element on the site as
variables and depending on the lanugage of your choice, these variables are filled in from
pre-defin....
Thinking About An "audio" Web Site
Your feedback please (4) Our company is in the web development (and marketing) business. This winter we are re-developing
our own site, and I have been thinking of making the web site also available as an audio option.
Since I'm an audio learner this concept interests me, and I figured I would throw this idea to
you guys for you opinions / feedback etc. as I don't like to act on something without first
getting feedback from people. I have the right recording gear to make the files sound good, so
there's no problem there. And I would still do the usual "TEXT" in particular the sea....
Music Into A Website ?
(9) im not sure if this is the right place to ask this, but since webdesigning people visit this forum,
they probably have some answer for my question :] im making a own website and im looking for some
backround music with the same style as http://www.batterydrink.com/pitlanegame some computer based
chill music. i cant make this stuff myself since i dont have programs nor the knowledge to do music
myself, so does anybody here know if there is a page or something found from the internet from where
you can download songs (computer made songs) that you can use on your website....
Help Choose A New Banner For Me Please
Help needed to choose a new banner for my site (11) Ok yesterday we got busy and spent some time making some new banners for The Sounds Of The Suburbs
site. We haev can for sort of an urban decay theme on the site..and were going to totally remodel
it this week to different feel and maybe even get the databases working /wink.gif"
style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" /> So can you take a look at the
images below and post which one you feel is the best one.. Your views will help us hopefully decide
on the new banner Banner 1 Banner 2 Banner 3 Banner 4 Banner 5 Banner 6....
Forum Buttons.
A few forum buttons i have created/edited (5) hello, i want to show you some buttons i have created and edited. I edited them in Jasc Animation
Shop, it didnt take to long, the one's i mae from fresh i designed in Miscrosoft Picture It!
New Topic (Created From Fresh) Add Reply (Created From Fresh) New Poll (Created From Fresh)
Closed (Created From Fresh) Edit (Edited) Quote (Edited) I thought id sharew them
with you, i made them for My Fourm I thought id just post them here to see what you all think?
Ill post the rest in the next comment. ....
How Do I Keep A Background On My Site
(14) I had a background on my site that i got on the internet. I don't remember the name of the site
but from it I was able to save the background (which was a textured blue background) to
photobucket.com. I've had it there for awhile, but now, all-of-the-sudden it disappeared. I
guess you can only keep things on photobucket for so long. But how do I keep a background on my
site if I can't host it somewhere? Is there a way to put the picture in cPanel and use it from
there? If there is, I cant figure it out.....
IE + CSS Hover Problems
(0) At the beginning of the month I started a riddle blog at www.blogger.com . I customized everything
and it worked fine until I checked how it looks in Internet Explorer. Since the blog is about
riddles, I had to find a simple way of hiding/showing solutions. I made a new CSS class called
'spoiler' and defined it in this way: CODE .spoiler a { text-decoration: none;
color: #000; } .spoiler a:hover { text-decoration: none; color: #ad9; }
And for the solution, I used this HTML code: HTML div class =" spoiler "> a > span....
With Or Without Tabs?
help me choose design for my site. (15) As I run this website for more than a 1 year now, Im getting more and more visitors, I have a
feeling that navigation on my page isn't such great as it seems on the beggining. I tried to
navigate like first-time user, and have trouble finding information that I was looking for. So, I
have an idea, to integrate basic types of information on 4 main TABs at the top of page. Look at
the two pictures and tell me which one is better: the one with the tabs, or the one without.
The above picture is new version, with tabs... The above picture is current look ....
Testing A Website Design
(6) I am currently design a website for this small hotel. I have never in the past made website that
weren't for myself of for friends, so I want to make everything perfect becuase I'm going to
earn a small bit of pocket money this time. This is currently my checklist of things that I will
do, just to make sure the website runs nice and smoothly. - optimize graphics and photos for
faster loading times - approximate loding speeds across diferent internet connection - make my HTML
upto HTML 4.01 strickt (W3C checker) - use style sheet to control formatting of site,....
How Can You Spice Up Your Basic HTML Site ? Beginner Needs Help
(9) Well im new to this,and i know a person who knows how to do HTML,I of course dont lol,but I was
wondering with html can you change the way the sites you make on here look and ect..(put flash in
and w/e..)....
Redirecting All Htm Files To Php Site...
(8) Hi, just finished converting all my files from .HTM to .PHP files. Is there an easy way to redirect
all my users who go to the .HTM pages to the .PHP pages instead? Basically all the names remained
the same. Just the extension changed. My webhost has cPanel 10. something... Thanks.....
Program To Design Your Website
Program to design your website (21) I have a few questions about desinging a site: What is the best program to desing a site? Question
What program do you use to design nice pictures and banners? Plz give some info!!
Exclamation....
Building A Website
(39) Im a newbie & I need to make a web site for my group and i was wondering what software should i use
to make a nice website like astahost.com I currently have dreamweaver but i do not know how to use
it..please help me!....
Find Out Dead Links In Your Site Automatically
Want to see a dead link on your site? (11) If you try to go to http://www.dead-links.com you will be asked for your domain or url. Enter it
and the bot will find any dead links that you might not have seen. Have a nice day.......
How Do You Put Flash Into Your Site?
Help plz... (7) Hi, im makin a games site for Tasty Relish Forum. (go here to join and help fill this
forum!!!) how do I embedd flash games?....
Starting A Website
(16) looking to create a fairl nice looking site, what kind of programing should i look into? also a
little advice on getting started would be much apreciated.....
Add A Search Box To My Web Site
how to? (10) I don't know If this topic I should post here, but I'll try! I have a web site and i
really need to add to my website a feature like searching on the site!I need a simple text boxt
and a button, that will search the site content! are there already done version of such
programs? pleasee help! thanks you!....
Help me
I want to make site to the linux beginer (3) Please help me, give me ideas. I want to create a place to help to all the persons that want to
learn linux. I have ideas but I now you have better ideas. My main idea is to show that everything
that is done in windows can be done in linux. As see movies, play music and create sites webs.....
Music On My Site?
(18) Does enyone know how to add background music to your webpage? Can you do it using html???
/mellow.gif' border='0' style='vertical-align:middle' alt='mellow.gif' /> Moved to Designing >
Web & HTML . Absolutely wrong forum. ....
Best Ad Placement on a Website
(18) Most of the websites that I currently visit all of ads of some type in their website design. I was
also planning to ad a few ads to my website to help pay for a domain name and was wondering where I
should place my ads. Where is the best location to place ads so that a lot of people will click on
them? Is it on the top or bottom and what type of ad service do you recommend that I use? Thanks,
Nisshutsu....
WebSite Development and Management Tools
(10) Astra Site Manager Astra SiteManager scans your entire Web site highlighting functional areas
with color-coded links and URLs to unfold a complete visual map of your site. With this tool you
can: pinpoint broken links or access problems, compare maps as your site changes, identify key usage
patterns for improving web site effectiveness, and validate dynamically generated pages. Linkbot
3.0 Linkbot is a suite of Web site management utilities that helps webmasters track down and
repair problems on their sites. Linkbot can find and repair broken links, locate slow a....
Looking for website, navigation, hover, buttons, stick, made, css, today, tutorial, site
|
*RANDOM STUFF*
*SIMILAR VIDEOS*
Searching Video's for website, navigation, hover, buttons, stick, made, css, today, tutorial, site
|
advertisement
|
|