Everything posted by oldbook
-
Navigation issues
oh yes, sorry I didn't copy that part in <ul> <li><a href="#">SERVICES</a> <ul> <li><a href="#">LINK ITEM 1</a></li> <li><a href="#">LINK ITEM 2</a></li> <li><a href="#">LINK ITEM 3</a></li> <li><a href="#">LINK ITEM 4</a></li> </ul>
-
Navigation issues
Hi guys, Ok so to load my contents, I use php with my navigation. But I'm at a dead end right now, I want to have one of my links be a drop down menu. Navigation Setup: <ul id="naviBTN"> <li id="news"> <a href='index.php?page=news' id='newsnav'<? if ($_GET['page'] == "news"){ echo " class='static'";} elseif (!$_GET['page']) { echo " class='static'"; } ?>>HOME</a> </li> <li> <a href='index.php?page=about' id='aboutnav'<? if ($_GET['page'] == "about"){ echo " class='static'";} ?>>ABOUT</a> </li> <li> <a href='index.php?page=services' id='servicesnav'<? if ($_GET['page'] == "services"){ echo " class='static'";} ?>>SERVICES</a> </li> <li> <a href='index.php?page=contact' id='contactnav'<? if (($_GET['page'] == "contact") OR ($_POST[submit])){ echo " class='static'";} ?>>CONTACT</a></li> </ul> I would like to get the service button to be like this: <li><a href="#">SERVICES</a> <ul> <li><a href="#">LINK ITEM 1</a></li> <li><a href="#">LINK ITEM 2</a></li> <li><a href="#">LINK ITEM 3</a></li> <li><a href="#">LINK ITEM 4</a></li> But whenever I try, it don't work properly. Any ideas? PS. i include the navi page into my layout using this: <ul> <?php include ('inc/navi.php'); ?> </ul> And from there, each links load in the content section using this: <?php if ($_GET['page'] == "news"){ include ("inc/news.php"); }else if ($_GET['page'] == "about"){ include ("inc/about.php"); $class = "static"; }else if ($_GET['page'] == "services"){ include ("inc/services.php"); }else if ($_GET['page'] == "contact"){ include ("inc/contact.php"); }else{ include ("inc/news.php"); } ?> I know it's a lot, but if you can help please I appreciate it
-
HELP WITH CSS HOVER ASAP PLZZ GUYS
hey thanks mate, I did some tweaking and renaming and it's up and running Thanks all
-
HELP WITH CSS HOVER ASAP PLZZ GUYS
thnx, I tried changing all the ID to class but all works except the text, it don't slide or show up at all. Any suggestions?
-
HELP WITH CSS HOVER ASAP PLZZ GUYS
hey, can you explain a bit how you set this up, apparently it's not that easy without an explanation. I'm trying to put like 2 photos beside each other
-
HELP WITH CSS HOVER ASAP PLZZ GUYS
wooooo dude, seriously man thanks a million, I love it
-
HELP WITH CSS HOVER ASAP PLZZ GUYS
I'm a fast learning and I'm very willing to try so any examples is welcome
-
HELP WITH CSS HOVER ASAP PLZZ GUYS
so is this a hard thing to accomplish?
-
HELP WITH CSS HOVER ASAP PLZZ GUYS
Hello everyone, hope all is well with you all. Anyhow, to the point I am designing something for a friend, and I want to incorporate an effect in the design. However I don't know how it's done, I have seen it many times on different sites, but with all my searching, I can never find how how they do it. This site is a good example, simple move your mouse over the image and look at the nice transparent blue effect. Example Site Thanks in a million guys
-
help making a comment box
mmm I actually want just one section at the bottom for the comments, not for each images but thanks ill still look into that one. I've heard of wordpress a lot but never really gave it any thought, ill check it out, thank you
-
help making a comment box
Hello all, I am trying to add a comment box to my website, but I don't have the first clue as how to do it. I want to make a page with a light box script showing my photos when you click on them. And at the bottom I would love to have a way to comment about the photos. Your help is greatly appreciated
-
php navigation help
I want to have a dedicated area where all my contents are loaded, so my "News, Work, Photos and About pages. Example I want these links to load in this area. And I would like to be able to change one thing on the layout, and have it appeared on all the pages, rather than opening 10 different pages and changing it on all of them.
-
php navigation help
Hi guys, I'm stuck at a design. I have a layout and the navigation links all setup. But Now I want to create my pages, is there a way to include the pages in the content section of the layout, and using the navigation links, load the different pages- eg Home | About | Photos | Contact by using php? Please and thank you.
-
how do get this effect?
oh man all great info, thanks a million
-
how do get this effect?
Thank you, I will try this out for sure
-
how do get this effect?
Hi Guys, I was browsing the net and I came across this website. I looked at the images and I noticed when I move the mouse over the image, I got this nice little box with a description. How could I get this effect, I tried but failed lol. Here is the site: The Battle of Colors
-
CSS Selector Types
Hey man info is always welcome thanks a lot ill read up.
- CSS Selector Types
-
CSS Selector Types
Hi Guys, I was making a new layout and I came across the selector types in Dreamweaver CS4. They all seem to have their own specific purpose, however I have no knowledge of them, can you please explain what each one of them are used for, like the different situations. Thanks Selector Type: Class ID Tag Compound
-
rollover current
Hi guys. I'm currently doing a navigation using CSS, I have the rollover part already. However I do no know how to set it to show the current page it's on. Example, the default color of the background is white, and when you mouse over it's light gray. So say I click "contact" I would like the button to have a specific color while on the contact page. Here is my navigation in dreamweaver <div id="navi"> <ul> <li><a href="#">Contact</a></li> <li><a href="#">Portfolio</a></li> <li><a href="#">Services</a></li> <li><a href="#">About</a></li> <li><a href="#">Home</a></li> </ul> </div> And here is the CSS format #container #navi { font-family: Arial, Helvetica, "Bitstream Vera Sans", sans-serif; color: #000; width: 789px; line-height: 40px; font-size: medium; letter-spacing: 2px; background-color: #FFF; height: 40px; float: right; } #container #navi ul { list-style-type:none; margin: 0px; padding: 0px; } #container #navi li { float: right; } #container #navi li a:link, #navi li a:visited { font-family:Arial, Helvetica, "Bitstream Vera Sans", sans-serif; display:block; color: #ff7011; font-size: medium; font-weight: bold; text-align: center; padding-right: 10px; padding-left: 10px; text-decoration: none; } #container #navi li a:hover, #navi li a:active { color: #ff7011; background-color: #e5e8e9; display: block; } Thanks a million
- CSS Problem :(
-
CSS Problem :(
I tried that just now, but the background still won,t go pass the content section. And I even gave the content the background and it does not show.
-
CSS Problem :(
Hi guys, I'm trying to make a website using css, but I can't seem to center it. And before you say it lol, I did look at the posting for center using css. I still can't get it, but I think I know what the problem is, but I can't figure a way around it. To start off, I use a container div, and I center it (right "auto" left "auto". Then inside I have the rest of the Div, those I float left, but when I float them left, my background inside the container Div don't go down pass the navigation to the footer. I have been trying to figure this out for at least a week now, kinda sad actually lol. MY CSS ---------------- body { font-family:Arial, Helvetica, "Bitstream Vera Sans", sans-serif; background-color: #daf3fd; color: #FFF; text-decoration: none; font-size: 14px; padding: 0; margin-top: 0px; margin-right: auto; margin-left: auto; } #container { width: 797px; text-align:left; background-image: url(../images/containerbg3.png); float: left; } #container #head { background-image: url(../images/headbg.jpg); background-repeat: no-repeat; height: 73px; width: 789px; float: left; } #container #banner { background-image: url(../images/banner01.jpg); height: 256px; width: 789px; background-repeat: no-repeat; float: left; } #container #underbanner { background-image: url(../../Site/images/underbanner.jpg); background-repeat: repeat; float: left; height: 4px; width: 789px; } #container #navi { font-family: Arial, Helvetica, "Bitstream Vera Sans", sans-serif; color: #000; width: 789px; line-height: 40px; font-size: medium; letter-spacing: 2px; background-color: #FFF; height: 40px; float: left; } #container #navi ul { list-style-type:none; margin: 0px; padding: 0px; } #container #navi li { float: right; } #container #navi li a:link, #navi li a:visited { font-family:Arial, Helvetica, "Bitstream Vera Sans", sans-serif; display:block; color: #ff7011; text-decoration: none; font-size: medium; font-weight: normal; text-align: center; padding-right: 10px; padding-left: 10px; } #container #navi li a:hover, #navi li a:active { color: #d9088a; background-color: #ebeaea; display: block; } #container #newshead { height: 28px; width: 789px; background-image: url(../images/newshead.jpg); background-repeat: repeat; float: left; } #container #contents { width: 789px; height: 100px; float: left; color: #666; clear: both; } #container2 { float: left; width: 796px; } #container2 #footer { float: left; height: 30px; width: 795px; clear: both; } Here is a link if you are willing to look at for me, thanks a bunch. Layout
-
help with my navigation please
Great thanks
-
help with my navigation please
ok so for the split div, I have to have one main Div with separate div's inside, and also a style for each of them, is this correct?