![]() |
Quote:
al, I hope for the best. |
if there's someone on here who deserves the "the best" label, it's for sure one particular girl from Athens, and not that slacker me.
|
Quote:
Go Georgia! |
Quote:
I would call it king and queen of the best :) |
hey hey ho ho
listening to the eternal on repeat and ignoring the work I have to be done till tomorrow. anybody knows html and css a lil bit? |
hey shabbray
i do know html, though i can't help on certain things (ie design). why? |
ive got a navbar done in css.
I got it the way it should look, there is no prob its made out of a list, and it looks like that: -------- -------- -------- -------- everything works fine, but I cant manage to put it horizontal seen on so many websites. I changed the "display:block" to "display:inline" inside the css but it just scrambles my navbar. I cant find the thing I have to change, too. I am going mad :) |
How are you doing al?
|
mediocre. I am not that upset like yesterday, but nothings cleared so far.
received a looooong email, wrote back a loooooong email. thats it for today. need to finish that damn website till tomorrow, a bunch of work for somebody who never did one. |
al shab do you have it uploaded somewhere ? my css/dhtml is pretty rusty but whoknows..
|
no unfortunately not but I can copy the css part and the html part in here.
just a second... |
sure go for it, as long as you dont leave anything out I'll just shove it all into my editor and have a look.
|
html part
<div id="left"> <div id="navbar"> <ul> <li><a href="index.html" title="Zurück zur Startseite">home</a></li> <li ><a href="graphics.html" title="graphics">graphics</a></li> <li class="current"><a href="music.html" title="music">music</a></li> <li><a href="reservierung.html" title="Reservierung">films</a></li> <li><a href="contact.html" title="contact">contact</a></li> </ul> </div> </div> css part: #navbar ul { list-style-type:none; margin-top:100px; } #navbar li a { text-decoration:none; display:block; width:230px; border:3px solid #fff; border-bottom:0px; background-color:#DDD; padding:5px; color:#fff; font-weight:bold; #left { position:absolute; top:132px; left:0px; width:200px; } thats it, if theres something more you wanna know, let me know |
aaah. is that enough or do you need the whole thing?
|
no thats fine.. I haven't even cut/pasted it yet but I think I know yr problem. You want the menu to run along the top of something instead of down the side? You have the links listed as a .. list.. You'll need to throw them in a table of some sort, or just nbsp them out.. I'll write you an example hold on
|
you do seem to have a class for a link which is yr current page, but you can do the same thing by putting the links in a <span> rather than a list item.. so, replace the <li>'s with <span> and <span class="current"> for each page where the link is to the page you are currently on?
like this? how does that look?.. just paste what I've done next to your div, and comment out your div for the moment by putting <!-- at the start of it and --> at the end of it. <div id="left"> <div id="navbar"> <span><a href="index.html" title="Zurück zur Startseite">home</a></span> <span><a href="graphics.html" title="graphics">graphics</a></span> <span class="current"><a href="music.html" title="music">music</a></span> <span><a href="reservierung.html" title="Reservierung">films</a></span> <span><a href="contact.html" title="contact">contact</a></span> </div> </div> |
it does work, but all my css written graphic style isnt working anymore, hahaha
I thank you so much for it, hopefully I will work out the rest of it!! |
yeh thats because in the style part you've created classes exclusive to ul and li.. and now the links are in a span. just need to change the class names to simply nav or whatever, without the li/ul.
|
#navbar ul {
#navbar li a { these two.. see the li/ul? I really should've stuck with the programming/de bugging career. I would be so much more useful by now. |
yeah I am getting near the result I am looking for.
last problem I think...I got the navbar somewhere in a css "frame" on the left, so its paragraphing the navbar. need to get it out there :) |
All times are GMT -5. The time now is 04:59 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
All content ©2006 Sonic Youth