
ROCKINDANO
Members-
Posts
143 -
Joined
-
Last visited
Never
Everything posted by ROCKINDANO
-
i didn't get any msg
-
msg
-
tried that and it seemed to fix the problem cross platforms but firefox in win is giving a right padding now.
-
Thank you, sorry for the miss understanding. i'll try that and let you know the outcome.
-
here you go. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name="Keywords" content="v,villalobos, congress, " /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Armando Villalobos — Get Involved</title> <link rel="stylesheet" href="css/reset.css" /> <link rel="stylesheet" href="css/mainstyle.css" /> <link rel="shortcut icon" href="images/favicon.ico" /> <script type="text/javascript" src="js/homeslideshow.js"></script> <style type="text/css"> * {margin: 0px auto; padding:0;} html { margin: 0 auto; padding:0; } body { font-family: Helvetica, Bdaskerville, Tahoma, Myriad; font-size:12px; margin-top: auto; background: #006; color:#666666; background:url(../images/homebackground.jpg) center no-repeat #131e43 fixed; } .contactlist, ul li { list-style:none; list-style-image:none; display:block; font-size:14px; } #container { margin:0, auto; padding:0px; width:960px; height: 0, auto; } /****************HEADER ELEMENTS(*************************/ #header { position: relative; height: 176px; border:0px solid #00CC00; width: 960px; } /****************END HEADER ELEMENTS(*************************/ /****************NAVIGATION ELEMENTS***************************/ #navlinks { width: 960px; height: 38px; background: url(../images/navbg.png) repeat-x left #900; font-family: georgia, Tahoma, Helvetica, Myriad; border-bottom:4px solid #CCC; } #navlinks ul li a:hover { text-decoration: none; padding-left:25px; padding-right:25px; padding-top:20px; padding-bottom:16px; border-left: 1px solid #b7b7b7; font-size: 13px; line-height:35px; color: #525252; background:url(../images/hovernavbg.jpg) repeat-x; } #navlinks ul { padding:0px; margin-left:0px; list-style:none; } #navlinks ul li { display:inline; } #navlinks ul li a { text-decoration: none; padding-left:25px; padding-right:25px; padding-top:20px; padding-bottom:16px; border-left: 1px solid #b7b7b7; font-size: 13px; line-height:35px; color: #525252; } /* Fix IE. Hide from IE Mac \*/ * html #navlinks ul li { float: left; height: 1%;} * html #navlinks ul li a { height: 1%; top:1%;} /* End */ /******************THIS IS THE STAY CONNECTED BAR****************************/ #connected { width:960px; margin-top: 150px; /* background:url(../images/stayconnected.png) no-repeat center; */ height:15px; color:#FFFFFF; text-align:center; padding: 0px; } .social ul { margin-right: 100px; padding:0; list-style:none; float: right; } .social ul li { display: inline; margin-left:20px; position:relative; } .social ul li a { text-decoration: none; } /*********************SLIDESHOW CONTAINERS********************************/ #slideshowbox1 { width:960px; margin-top:0px; margin-left: -10px; height:305px; color: #0C0; text-align:center; padding: 0px; position: relative; background: #fff; } #slideshowbox2 { width:841px; height:287px; margin-top:10px; position:relative; } #bodyholder { margin-top:0px; height: 0, auto; padding:0px; overflow:hidden; width: 960px; background: #FFF; font-family: Helvetica, Bdaskerville, Tahoma, Myriad; } #home_page_info { padding-left: 10px; padding-right:10px; padding-bottom: 10px; margin-top:5px; height: 0, auto; width: 940px; overflow:hidden; font-family: Helvetica, Bdaskerville, Tahoma, Myriad; margin-bottom:0px; } #home_page_info p { font-family: Helvetica, Bdaskerville, Tahoma, Myriad; font-size: 15px; line-height:17px; color: #666; text-align:justify; padding-bottom:10px; } #right_hold { position: relative; float: right; width: 275px; padding:5px; text-align:center; margin-right:-5px; margin-top:20px; } #right_hold a { text-decoration: none; color: #0D2746; } #right_hold a:hover {color: #036;} #left_hold { float:left; width: 655px; padding:5px; margin-top:20px; margin-left:-5px; } h1 { font-size:19px; color: #0D2746; padding-bottom:5px; font-family:Georgia, "Times New Roman", Times, serif; font-weight:bold; } h3 { margin-top:10px; padding-left: 10px; font-size:17px; color: #0D2746; font-family:Georgia, "Times New Roman", Times, serif; font-weight:bold; } h4 { margin-top:0px; padding-left: 10px; font-size:12px; color: #666; font-family:Georgia, "Times New Roman", Times, serif; font-weight:bold; } #left_hold p { padding:10px; } #left_hold a { text-decoration: none; color: #0D2746; } #left_hold a:hover {color: #036;} #left_hold img {margin:5px;} .leftlinks a {color:#F00; font-size:11px;} #page_info { padding: 15px; padding-bottom: 50px; margin-top:5px; height: 0, auto; width: 940px; overflow:hidden; font-family: Helvetica, Arial, Tahoma, Myriad; background: #FFF; margin-bottom:25px; } #page_info p { font-family: Helvetica, Arial, Tahoma, Myriad; font-size: 13px; line-height:17px; color:#666; text-align:justify; } #page_info ul li { line-height:17px; list-style:disc; margin-left:50px; } /*****************************FOOTER OF PAGE *********************/ #footer { position: absolute; width:960px; height:100px; margin: 0 auto; color: #0F5BB1; padding-top:20px; padding-bottom: 0px; background:url(../images/footerbg.png) no-repeat center; } #footer a { color: #7681ce; text-decoration: none; font-size:11px; text-align:center; } #footer a:hover {color: #FFF;} #footer ul li { display:inline; font-size:17px; text-align:center; } #footer p { font-family: Arial, Tahoma, Helvetica, Myriad; color: #0F5BB1; font-size:11px; text-align: center; padding-right:10px; } table { border:0px solid #000; } tr td { color:#666; font-size: 13px; } .subbottom { float: left; width: auto; padding:10px; border: 0px solid #999; margin-left:25px; margin-top:0, auto; } .bottompart ul li { line-height:17px; margin-left:0px; } .bottompart ul li a { font-size: 13px; color: #999999; } .bottompart li a:hover { text-decoration:underline; color:#333333; } .floatright { float: right; clear:both; margin:0px; clear: right; } .floatleft { float: left; clear: both; margin: 0; clear: left; } </style> </head> <body> <div id="container"> <div id="header"> <div> <a href="index.php"><img src="images/header.png" title="Home" border="0" /></a> </div> </div><!--end of header--> <div id="bodyholder"> <div id="navlinks"> <ul> <li><a href="index.php"> HOME </a></li> <li><a href="meetv.php"> ABOUT V </a></li> <li><a href="district.php"> DISTRICT 34 </a></li> <li><a href="endorsements.php"> ENDORSEMENTS </a></li> <li><a href="news.php"> NEWSROOM </a></li> <li><a href="getinvolved.php"> GET INVOLVED </a></li> <li><a href="https://secure.piryx.com/donate/CDExTP50/armandovillalobos/VEC" target="_blank" style="padding-right:38px; padding-left:40px; color:#F00"> DONATE NOW! </a></li> </ul> </div> <div id="page_info"> <div id="left_hold"> </div><!-- end left_hold--> <div id="right_hold"> </div><!-- end right_hold--> </div> </div> <!--end of bodyholder--> </div> </body> </html>
-
Sorry, but tried what you had suggested and no dice. as far as code, you asked for full code from <html> to </html>..... so it wasn't so clear as far as what to include in the code..... to me "full" or "<html> to </html>" means all your page code. what would you recommend in detail as of what to submit?
-
one thing i forgot to mention.... when testing on my mac in firefox, it looks fine. but when tested on safari/ie7&8 i end up with a padding on the right. also when viewed in firefox in windows.
-
still dealing with this bug and its killing me!!!!!!!! having a padding on the right side of the navigation bar. please see screen shot attached. below is my code for css and page. @charset "utf-8"; /* CSS Document CSS layout by Danny Vera Copyright 2011 Villalobos Website */ /* Hides from IE5-mac \*/ * html .leftbar {height: 1%;} /* End hide from IE5-mac */ /* \*/ * html #main_content { margin-left: 0; height: 1%; } * html #left_bar { margin-right: 7px; } /* */ * {margin: 0px auto; padding:0;} html { margin: 0 auto; padding:0; } body { font-family: Helvetica, Bdaskerville, Tahoma, Myriad; font-size:12px; margin-top: auto; background: #006; color:#666666; background:url(../images/homebackground.jpg) center no-repeat #131e43 fixed; } .contactlist, ul li { list-style:none; list-style-image:none; display:block; font-size:14px; } #container { margin:0, auto; padding:0px; width:960px; height: 0, auto; } /****************HEADER ELEMENTS(*************************/ #header { position: relative; height: 176px; border:0px solid #00CC00; width: 960px; } /****************END HEADER ELEMENTS(*************************/ /****************NAVIGATION ELEMENTS***************************/ #navlinks { width: 960px; height: 38px; background: url(../images/navbg.png) repeat-x left #900; font-family: georgia, Tahoma, Helvetica, Myriad; border-bottom:4px solid #CCC; } #navlinks ul li a:hover { text-decoration: none; padding-left:25px; padding-right:25px; padding-top:20px; padding-bottom:16px; border-left: 1px solid #b7b7b7; font-size: 13px; line-height:35px; color: #525252; background:url(../images/hovernavbg.jpg) repeat-x; } #navlinks ul { padding:0px; margin-left:0px; list-style:none; } #navlinks ul li { display:inline; } #navlinks ul li a { text-decoration: none; padding-left:25px; padding-right:25px; padding-top:20px; padding-bottom:16px; border-left: 1px solid #b7b7b7; font-size: 13px; line-height:35px; color: #525252; } /* Fix IE. Hide from IE Mac \*/ * html #navlinks ul li { float: left; height: 1%;} * html #navlinks ul li a { height: 1%; top:1%;} /* End */ /******************THIS IS THE STAY CONNECTED BAR****************************/ #connected { width:960px; margin-top: 150px; /* background:url(../images/stayconnected.png) no-repeat center; */ height:15px; color:#FFFFFF; text-align:center; padding: 0px; } .social ul { margin-right: 100px; padding:0; list-style:none; float: right; } .social ul li { display: inline; margin-left:20px; position:relative; } .social ul li a { text-decoration: none; } /*********************SLIDESHOW CONTAINERS********************************/ #slideshowbox1 { width:960px; margin-top:0px; margin-left: -10px; height:305px; color: #0C0; text-align:center; padding: 0px; position: relative; background: #fff; } #slideshowbox2 { width:841px; height:287px; margin-top:10px; position:relative; } #bodyholder { margin-top:0px; height: 0, auto; padding:0px; overflow:hidden; width: 960px; background: #FFF; font-family: Helvetica, Bdaskerville, Tahoma, Myriad; } #home_page_info { padding-left: 10px; padding-right:10px; padding-bottom: 10px; margin-top:5px; height: 0, auto; width: 940px; overflow:hidden; font-family: Helvetica, Bdaskerville, Tahoma, Myriad; margin-bottom:0px; } #home_page_info p { font-family: Helvetica, Bdaskerville, Tahoma, Myriad; font-size: 15px; line-height:17px; color: #666; text-align:justify; padding-bottom:10px; } #right_hold { position: relative; float: right; width: 275px; padding:5px; text-align:center; margin-right:-5px; margin-top:20px; } #right_hold a { text-decoration: none; color: #0D2746; } #right_hold a:hover {color: #036;} #left_hold { float:left; width: 655px; padding:5px; margin-top:20px; margin-left:-5px; } h1 { font-size:19px; color: #0D2746; padding-bottom:5px; font-family:Georgia, "Times New Roman", Times, serif; font-weight:bold; } h3 { margin-top:10px; padding-left: 10px; font-size:17px; color: #0D2746; font-family:Georgia, "Times New Roman", Times, serif; font-weight:bold; } h4 { margin-top:0px; padding-left: 10px; font-size:12px; color: #666; font-family:Georgia, "Times New Roman", Times, serif; font-weight:bold; } #left_hold p { padding:10px; } #left_hold a { text-decoration: none; color: #0D2746; } #left_hold a:hover {color: #036;} #left_hold img {margin:5px;} .leftlinks a {color:#F00; font-size:11px;} #page_info { padding: 15px; padding-bottom: 50px; margin-top:5px; height: 0, auto; width: 940px; overflow:hidden; font-family: Helvetica, Arial, Tahoma, Myriad; background: #FFF; margin-bottom:25px; } #page_info p { font-family: Helvetica, Arial, Tahoma, Myriad; font-size: 13px; line-height:17px; color:#666; text-align:justify; } #page_info ul li { line-height:17px; list-style:disc; margin-left:50px; } /*****************************FOOTER OF PAGE *********************/ #footer { position: absolute; width:960px; height:100px; margin: 0 auto; color: #0F5BB1; padding-top:20px; padding-bottom: 0px; background:url(../images/footerbg.png) no-repeat center; } #footer a { color: #7681ce; text-decoration: none; font-size:11px; text-align:center; } #footer a:hover {color: #FFF;} #footer ul li { display:inline; font-size:17px; text-align:center; } #footer p { font-family: Arial, Tahoma, Helvetica, Myriad; color: #0F5BB1; font-size:11px; text-align: center; padding-right:10px; } table { border:0px solid #000; } tr td { color:#666; font-size: 13px; } .subbottom { float: left; width: auto; padding:10px; border: 0px solid #999; margin-left:25px; margin-top:0, auto; } .bottompart ul li { line-height:17px; margin-left:0px; } .bottompart ul li a { font-size: 13px; color: #999999; } .bottompart li a:hover { text-decoration:underline; color:#333333; } .floatright { float: right; clear:both; margin:0px; clear: right; } .floatleft { float: left; clear: both; margin: 0; clear: left; } <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name="Keywords" content="v,villalobos, congress, " /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Armando Villalobos — Get Involved</title> <link rel="stylesheet" href="css/reset.css" /> <link rel="stylesheet" href="css/mainstyle.css" /> <link rel="shortcut icon" href="images/favicon.ico" /> <script type="text/javascript" src="js/homeslideshow.js"></script></head> <body> <div id="container"> <div id="header"> <div> <a href="index.php"><img src="images/header.png" title="Home" border="0" /></a> </div> </div><!--end of header--> <div id="bodyholder"> <div id="navlinks"> <ul> <li><a href="index.php"> HOME </a></li> <li><a href="meetv.php"> ABOUT V </a></li> <li><a href="district.php"> DISTRICT 34 </a></li> <li><a href="endorsements.php"> ENDORSEMENTS </a></li> <li><a href="news.php"> NEWSROOM </a></li> <li><a href="getinvolved.php"> GET INVOLVED </a></li> <li><a href="https://secure.piryx.com/donate/CDExTP50/armandovillalobos/VEC" target="_blank" style="padding-right:38px; padding-left:40px; color:#F00"> DONATE NOW! </a></li> </ul> </div> <div id="page_info"> <!-- <div style="background: url(images/newsroom.jpg) no-repeat; height:66px; padding:5px;"> </div> --> <div id="left_hold"> <h1>Get Involved</h1> <p></p> </div><!-- end left_hold--> <div id="right_hold"> <div style="width:260px; height: 0, auto; padding-bottom:0px; margin-left:5px; margin-bottom:-60px;"> <table border="0" cols="0" width="100"> <tr> <td><a href="https://secure.piryx.com/donate/CDExTP50/armandovillalobos/VEC" target="_blank"><img src="images/donatenow.jpg" title="" border="0" /></a></td> </tr> <tr> <td><a href="" target="_blank"><img src="images/endorsebtn.jpg" title="" border="0" /></a></td> </tr> <tr> <td><a href="https://webservices.sos.state.tx.us/vrapp/index.asp" target="_blank"><img src="images/registerbtn.jpg" title="" border="0" /></a></td> </tr> <tr> <td><a href=" https://www.facebook.com/pages/Armando-Villalobos-Exploratory-Committee-for-Congress/222593757782353" target="_blank"><img src="images/facebook.jpg" title="" border="0" /></a></td> </tr> <tr> <td><iframe src="//www.facebook.com/plugins/like.php?href=www.armandovillalobos.com&send=false&layout=standard&width=260&show_faces=true&action=like&colorscheme=light&font&height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:260px; height:80px;" allowTransparency="true"></iframe> </td> </tr> </table> </div> <div style="width:260px; height: 0, auto; padding-bottom: 10px; padding-top: 15px; margin-left:5px;"> <form action="send_form_email.php" method="post"> <table border="0" cols="0"> <tr> <td colspan="2"><img src="images/emailtitle.jpg" title="" border="0" /></td> </tr> <tr> <td height="40">Name: </td> <td height="40"> <input type="text" name="Name" /></td> </tr> <tr> <td height="40">Email: </td> <td> <input type="text" name="Email" /></td> </tr> <tr> <td height="40">County: </td> <td> <input type="text" name="County" /></td> </tr> <tr> <td colspan="2" height="40" align="center"><input type="submit" value=" " style="background:url(images/joinnowbtn.png) no-repeat center; width:177px; height:47px; border:0px; cursor:pointer" /></td> </tr> </table> </form> </div> </div><!-- end right_hold--> </div> </div> <!--end of bodyholder--> <?php include ('footer.php'); ?> </div> </body> </html> please someone help.... i have been at this for weeks. [attachment deleted by admin]
-
I need some assistance with a navbar. It seems that i can't get the right side to get all the way to the right. this is my css code for the nave bar: #navcontainer ul { margin-left: 0; background-color: #036; color: White; float: left; width: 100%; height:39px; font-family: georgia, Tahoma, Helvetica, Myriad; background: url(../images/navbg.png) repeat-x left #900; border-bottom: 3px solid #999; margin-bottom: 3px; } #navcontainer ul li { display: inline; } #navcontainer ul li a { padding-top: 15px; padding-bottom: 10px; padding-left: 25px; padding-right: 25px; color: #525252; text-decoration: none; float: left; border-right: 1px solid #B0B4AF; } #navcontainer ul li a:hover { background:url(../images/hovernavbg.jpg) repeat-x; color: #036; } this is the code for my header code: <div id="navcontainer"> <ul> <li><a href="index.php"> HOME </a></li> <li><a href="meetv.php"> ABOUT V </a></li> <li><a href="district.php"> DISTRICT 34 </a></li> <li><a href="endorsements.php">ENDORSEMENTS</a></li> <li><a href="news.php">NEWSROOM</a></li> <li><a href="getinvolved.php">GET INVOLVED</a></li> <li><a href="#" target="_blank" style="background: url(images/donatebg.jpg) repeat-x; color:#CCC;">DONATE NOW!</a></li> </ul> </div> it seems like there is a padding on the right and if i increase the padding to the list is pushes the last link on the list down. any advice?
-
need help with sessions for first time visiters
ROCKINDANO replied to ROCKINDANO's topic in PHP Coding Help
can someone point me to a good example of what i am trying to do, but using cookies? -
I need some assistance with sessions i am using sessions for first time visitors. first time visitors that visit my website will be see a welcome page for them to sign up for emails and once they return to my site they go straight to my home page. this is what i have as for a session coding: <?php session_start(); $visits = $_SESSION['visits']++; if ($visits == 0) { header ('location: welcome.php'); } else { header ('location: index.php'); } ?> i have this in my index.php file. any advice on what i am doing wrong?
-
thank you. i have written one but need to modify my db to collect the 1's and 0's and newsletter. thanks for your help
-
"Then you can make a textbox form that when you click sent, it queries the DB and collects all the emails from users that have newsletter set to 1 (for true) and sends it to those emails." a textbox? can you point me to a guide or some example?
-
so pretty much is insert into a db and review db constantly to check for people that sign up?
-
I am trying to create a form on my website to have people sign up for email notifications. Little confuse on this. i know i can do a form to submit info into a db or for an email to be sent to me. i have seen some on website that have a sign up form for newsletters or etc... how do these forms work? is there someone receiving all these emails or getting signed up user from a db and emailing each person? confuse on this topic. can someone explain?
-
Have a problem when uploading files with a php script.
ROCKINDANO replied to ROCKINDANO's topic in PHP Coding Help
the chmod is not changing permissions on the file being uploaded -
Have a problem when uploading files with a php script.
ROCKINDANO replied to ROCKINDANO's topic in PHP Coding Help
thanks that seem to do the trick. -
Can someone point me to the right direction for this task. i want to display a pdf file in html. files are being read from a db and dir.
-
I have created a page for users to upload files, but for some reason end users can't access the files. we are getting an access denied page and every time files get uploaded i have to ftp to the site and change the permissions. is there something i am missing? Thank you in advance.
-
solved. thank you all. modified my query to this. $query="SELECT actID, actTitle, actTime, actPlace, actBody, date_format(actDate, '%W, %M %d, %Y') actDate FROM activities WHERE YEAR(actDate) = '$year' AND MONTH(actDate) = '$month'";
-
yeah i tried that as a query also but no dice. $query="SELECT actID, actTitle, actTime, actPlace, actBody, date_format(actDate, '%Y %m') actDate FROM activities WHERE actDate = '$date'";
-
why does my query return 0 if i do have events for this month. // get the date from the URL or get the current date $month = isset($_GET['month']) ? sprintf('%02d',(int)$_GET['month']) : date('m'); $year = isset($_GET['year']) ? (int)$_GET['year'] : date('Y'); $date = "$year-$month"; // determine previous/next month (valid from 1970 (or 1901, depending on php version and operating system) through 2038 only) $previous = explode('-',date('Y-m',strtotime($date . '-1 -1 month'))); $next = explode('-',date('Y-m',strtotime($date . '-1 +1 month'))); // produce previous/next link $query = (empty($_GET)) ? array() : $_GET; // get an empty array if no existing $_GET parameters or get the current $_GET parameters $query['month'] = $previous[1]; // set or replace the month parameter $query['year'] = $previous[0]; // set or replace the year parameter $prev_link = "<a href='?" . http_build_query($query, '', '&') . "'><img src='prev_month.png' alt=''>Prev</a>"; $query['month'] = $next[1]; // set or replace the month parameter $query['year'] = $next[0]; // set or replace the year parameter $next_link = "<a href='?" . http_build_query($query, '', '&') . "'><img src='next_month.png' alt=''>Next</a>"; // output the links echo $prev_link . "" . $next_link; ?> <?php if(!($db = @ mysql_connect('localhost', 'username', '98098089'))) { echo 'Error: Could not connect to our database sorry for any inconvience.<br /> Please try at a later time.'; exit; } mysql_select_db("edinburg_site"); $actID= $_GET["actID"]; if(!isset($actID) && !isset($typeview)) { // $today = date('l, F jS, Y'); // $today2 = date('Y-m-j'); $actDate=$_GET["actDate"]; // $query="SELECT actID, actTitle, actBody, date_format(actDate, '%W, %M, %Y') actDate, file FROM activities WHERE actDate='$today2'"; $query="SELECT actID, actTitle, actTime, actPlace, actBody, date_format(actDate, '%Y %m') FROM activities WHERE actDate = '$date'"; print $query; $result=mysql_query($query);
-
Not working.................
-
well i see where your going. but how would i use that in the link?
-
after displaying the page with current date, i want to have two links on top. one for "prev month" and the other for "next month"