Jump to content

twilitegxa

Members
  • Posts

    1,020
  • Joined

  • Last visited

Everything posted by twilitegxa

  1. Is there a hack that will work just for Firefox? I have a page that I have positioned the way I want in Safari, but the alignment is off in Firefox. Can anyone tell me what the best way to go about fixing this positioning issue would be? I really want Firefox to look how it looks it Safari, but everything I'm trying is making Firefox look okay and then messing up my positioning in Safari. I'll attach the screenshots below. Any help would be greatly appreciated! The first image is the Firefox one and the second is the way I want it to look (the way it looks it Safari). Here is a link to the page as well: http://webdesignsbyliz.com/jmichaelmartinez/administration-ethics-in-the-twenty-first-century [attachment deleted by admin]
  2. I'm using a template on a website that uses phpmydirectory and I'm trying to find the part of the CSS that sets the pink text in the headers on the side bars (Home, Login, Featured Listings, Popular Listings, etc.), but I cannot find anywhere in the CSS what is controlling this pink text. When I view source, it appears to be manually set using the font tag, but I know it is somewhere in the template, I just cannot find where. Is anyone familiar with phpmydirectory that can help point me to where this would be located? The site is at http://southfloridabridals.com/ so that you can see what text I'm talking about. If you need to see the CSS, I can post it. Let me know. Please if anyone can help, I'd greatly appreciate it. I have been looking for it for two days now and still cannot find it and it's driving me crazy! I have searched color by color and cannot find it. Is it possible it would be located within a different css file? And if so, which one?
  3. Yes, it did work, and thank you, I will check that article out and let you know :-)
  4. Yeah, that might be a good idea. How can I do that? Can you advise me on this please?
  5. Still getting the gap :-( Any other suggestions?
  6. The image now shrinks, but when it does, a gap appears underneath it. How can I fix that?!?
  7. I have a page at: http://southfloridabridals.com/, and I'm trying to make it compliant with iPads and iPhones, but the header images (named left1.png), isn't resizing for the smaller screen size. Attached is a screenshot of what it looks like in an iPad or iPhone. Can anyone tell me how i can fix this problem? [attachment deleted by admin]
  8. Thank you so much for the help! It's difficult when taking over someone else's work like that! Thank you so much! Got it taken care of!
  9. I don't know why it did that, but the < > was actually supposed to be a closed div tag. I will copy and paste what I have again and see if it shows properly this time: <?php /** * The template for displaying the footer. * * Contains the closing of the id=main div and all content * after. Calls sidebar-footer.php for bottom widgets. * * @package WordPress * @subpackage Twenty_Ten * @since Twenty Ten 1.0 */ wp_footer(); ?> <><!-- closes bodywrapper --> <div class="footer"> <div class="footertxt"> <div class="footerme"> <> <div class="footerright"><> <div class="footerimgmail"><> <div class="footercopyleft"><> <div class="footercopyright"> <div class=" "><> <> <> <!-- closes footertext --> <> <!-- closes footer --> <> <!-- closes .mainwrapper --> <> <!-- closes #mainwrapper --> </body> </html> Anyway, my tags were nested in my php page. The problem is that I took over this code from another developer and apparently there may have been some errors along the way. I was trying to get the image for the bottom of the main content section to display at the top of the footer. It IS displaying, just not lining up correctly. :-( UPDATE: And it keeps messing up that tag for some reason, even when I manually change it. But it IS a closing div tag in my code. Viewing the source of my page should show you the code I guess though.
  10. I don't see that code in my actual footer. Are you sure I did what I was supposed to do? Here is what I have in my footer now: <?php /** * The template for displaying the footer. * * Contains the closing of the id=main div and all content * after. Calls sidebar-footer.php for bottom widgets. * * @package WordPress * @subpackage Twenty_Ten * @since Twenty Ten 1.0 */ wp_footer(); ?> <><!-- closes bodywrapper --> <div class="footer"> <div class="footertxt"> <div class="footerme"> <> <div class="footerright"><> <div class="footerimgmail"><> <div class="footercopyleft"><> <div class="footercopyright"> <div class=" "><> <> <> <!-- closes footertext --> <> <!-- closes footer --> <> <!-- closes .mainwrapper --> <> <!-- closes #mainwrapper --> </body> </html> How should I be changing this?
  11. The only footers I think I am going to be using are footer and footertxt, so I may end up removing the others. Thanks for pointing that out!
  12. Thank you sooo much for your suggestions. I will work on these right away! I actually took over on the development of this layout from another designer, so that is why some of it seems flawed. Thank you so much for pointing all of that stuff out, so that I may learn from their mistakes as well as my own :-) UPDATE: I made the changes you suggested dbrimlow but the footer image is still not showing up properly. You can check the link to see what I mean. What am I doing wrong now?
  13. I have a form that worked fine on my personal server, but then when I tried it on another server, it is giving me a Return Error: 4. I don't even know what that code means or why I am getting it. Can someone help me get rid of this stupid error code?!? Please? :-) Here is the link to the page with the error: http://midwestcreativeconsulting.com/jhrevell/add/ Click submit to see the error. Can anyone help me get rid of it?
  14. I want it centered to match the main content area, so I guess that would be both columns. I want to to go all the way across both columns at the bottom.
  15. I cannot get the footer image to centre with the rest of this content. The image is named bottom.png and is located within the footer class at the bottom of the CSS. Here is a link to the page so you can see what I am talking about: http://midwestcreativeconsulting.com/jhrevell/ And here is the CSS file: /* Theme Name: Twenty Ten Theme URI: http://wordpress.org/ Description: The 2010 theme for WordPress is stylish, customizable, simple, and readable -- make it yours with a custom menu, header image, and background. Twenty Ten supports six widgetized areas (two in the sidebar, four in the footer) and featured images (thumbnails for gallery posts and custom header images for posts and pages). It includes stylesheets for print and the admin Visual Editor, special styles for posts in the "Asides" and "Gallery" categories, and has an optional one-column page template that removes the sidebar. Author: the WordPress team Version: 1.1 Tags: black, blue, white, two-columns, fixed-width, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style */ /* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html -------------------------------------------------------------- */ body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{ padding:0px; margin:0px; color: #ffffff; } fieldset,input,textarea{ padding:0px 0px 0px 0px; margin:0px 0px 0px 0px; border:1px solid #ccc; color:#666; } input.contact { width: 16em; height: 1.5em; } img {border:0px;} font{ font-family:Arial, Helvetica, sans-serif; font-size:14px; color:#000; outline:none; } a:link { text-decoration: none; } a:visited { text-decoration: none; } a:hover { text-decoration: none; } a:active { text-decoration: none; } .under{ font-style:italic; text-decoration:underline; padding-top:15px;} .submit{ width:61px; height:22px; color:#b4dde3; background:url(images/submit.jpg) top center no-repeat; border:0px; } body{ margin:0; padding:0px; background:url(images/bg.png) no-repeat; background-size: 100%; background-color:#000000; border:none; color:#ffffff; font-size:12px; font-family:Times New Roman; } #mainwrapper{ margin:auto; padding:0px; width:1020px; vertical-align:top; height:auto; border:none; } .mainwrapper{ margin:auto; padding:0px; width:100%; vertical-align:top; height:auto; border:none; } #mainheader{ width:100%; height:auto; float:left; } #logo{ width:374px; height:177px; float:left; } .bolded { font-weight: bold; } .questions { font-weight: bold; font-style: italic; color: #2da89a; font-size: 16px; } .questionList a { font-size: 14px; font-weight: bold; font-style: italic; color: #2da89a; } .questionList a: hover { color: #f8bcd4; } div#form { width: 589px; color: #2da89a; font-weight: bold; font-style:italic; } div#form td { padding-right: 50px; } div#form td.formRight { vertical-align: top; } .testimonial { font-weight: bold; } .footer_italics { font-style: italic; } div.topsubtitle p span.tips { color: #2da89a; font-weight: bold; } .article_italics { font-style: italic; } .article_bold { font-weight: bold; } .article_green { color: #2da89a; } a { color: #999999; } a:hover { color: #FFFF00; } /* ============================================== Navigation Start Here ============================================= */ /*.nav_n{float:left; width:auto; height:auto; margin:0px; padding:0px;} .nav{float:left; width:615px; height:38px; font-family:Arial, Helvetica, sans-serif; font-size:12px; margin-top:150px; margin-left:-5px;} .nav ul { margin:0; padding:0px 0px 0px 0px; list-style:none;} .nav li {display:inline; float:left; padding:0; margin: auto 3px; } */ .nav { FONT-WEIGHT: bold; FLOAT: right; MARGIN:4px 0px 0px 0px; LINE-HEIGHT: 1; LIST-STYLE-TYPE: none; font-family:Arial, Helvetica, sans-serif; } .nav ul {PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-WEIGHT: bold; FLOAT: left; PADDING-BOTTOM: 0px; MARGIN: -4px 0px 0px 0px; WIDTH:475px; LINE-HEIGHT: 1; LIST-STYLE-TYPE: none } .nav a { PADDING-RIGHT:19px; DISPLAY: block; PADDING-LEFT:19px; PADDING-BOTTOM: 7px; COLOR: #000; PADDING-TOP: 7px; TEXT-DECORATION: none } .nav a.daddy { BACKGROUND: url(rightarrow2.gif) no-repeat right center } .nav li { PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FLOAT: left; PADDING-BOTTOM: 0px; PADDING-TOP: 0px; margin-top:0px; } .nav li ul { BORDER-TOP-WIDTH: 0.25em; FONT-WEIGHT: normal; BORDER-LEFT-WIDTH: 0.25em; LEFT: -999em; BORDER-BOTTOM-WIDTH: 0.25em; MARGIN: 0px; WIDTH: 10em; POSITION: absolute; HEIGHT: auto; BORDER-RIGHT-WIDTH: 0.25em; margin-top:38px; } .nav li li {width:auto; padding:8px 0px 8px 0px; text-align:center; border-top:dashed 1px #227583; background:#B2DFDA; color:#CCC;} .nav li ul a {WIDTH: 9em} .nav li ul ul {MARGIN: -1.75em 0px 0px 14em} .nav li:hover ul ul {LEFT: -999em} .nav li:hover ul ul ul {LEFT: -999em} .nav li.sfhover ul ul {LEFT: -999em} .nav li.sfhover ul ul ul {LEFT: -999em} .nav li:hover ul {LEFT: auto} .nav li li:hover ul {LEFT: auto} .nav li li li:hover ul {LEFT: auto} .nav li.sfhover ul {LEFT: auto} .nav li li.sfhover ul { LEFT: auto} .nav li li:hover{width:auto; text-align:center; border-top:dashed 1px #B2DFDA; background:url(images/menubg.png) repeat top left;} .nav li li li.sfhover ul {LEFT: auto} .nav li:hover { BACKGROUND:none; color:#666; } .nav li.sfhover {BACKGROUND: #eda} .nav a {float:left; background:url(images/nav-left1.png) no-repeat left top; color:#2DA89A; margin:0; padding:0; text-decoration:none; font-weight:bold;} .nav a span {float:left; display:block; background:url(images/nav-right1.png) no-repeat right top; padding:0px; color:#fff;} .nav a span {float:none; color:#3f6f1c;} h1{font-family:Arial, Helvetica, sans-serif; font-size:18px; color:#2da89a; padding-top:10px; } h6{font-family:Arial, Helvetica, sans-serif; font-size:14px; color:#2da89a; padding-top:10px; text-decoration:underline; font-style:italic; } h5{font-family:Arial, Helvetica, sans-serif; font-size:14px; color:#888; padding-top:10px; padding-bottom:10px; font-style:italic; } .bolded { color: #cc98ae; } #repeating {background-image: url(images/top-repeat.png); background-repeat: repeat-x; height: 90px; } #topnav { text-transform: uppercase; font-size: 10px; } table td { color: #999999; } /* ============================================== Navigation End Here ============================================= */ /* ============================================== body Start Here ============================================= */ .bodywrapper{float:left; margin:-75px 0 0 7px; padding:0; font-family:Arial, Helvetica, sans-serif; background:url(images/midbg.png) repeat-y top center; text-decoration:none; font-weight:12px; width:988px; } .bodynner{ margin:auto; width:942px;} .bodytopbg{background:url(images/bgtopbot.png) no-repeat top left; float:left; width:100%; height:22px;} .bodymidbg{float:left; width:988px; height:auto;} .bodybotbg{background:url(images/bgtopbot.png) no-repeat; background-position: 0% -23px; float:left; width:100%; height:22px;} .contentwrpper{margin:auto; width:942px; margin-top:20px;} .contentleft{float:left; width:610px; height:auto; margin-left: 25px; margin-top: -5px;} .toptitle{font-family: "Times New Roman", Times, serif; font-size:24px; color: #FFFF00; font-weight:600; background:url(images/bot.png) bottom left repeat-x; width: 650px; height:34px; margin-bottom: 25px;} .s3{ float:left; width:589px; border:1px dashed #2da89a; padding:10px 10px;} .s4{ float:left; width:589px; padding:10px 10px;} .s5 {text-align: right;} .s6 {font-size: 18px; vertical-align: top;} .facebooklike{float:left; text-align:right; width:99%; margin:10px 0 0 250px;*margin:10px 0 0 248px; height:auto;} .topsubtitle{font-family:Arial, Helvetica, sans-serif; font-size:14px; line-height:22px; color:#3f3f3f; padding-top:5px; font-weight:100;width: 700px;} .contentright{float:left; width:195px; height:auto; margin-left:120px;} .righttab{float:left; width:100%; height:12px;} .righttab_a{float:left; width:100%; height:auto; background:#227583; padding:10px auto;} .topsubff{font-family:Arial, Helvetica, sans-serif; text-align:center; font-size:14px; line-height:22px; padding-bottom:6px; color:#fff; font-weight:600;} .righttab_se{float:left; width:311px; height:auto; background:#ffe3d1; padding:5px auto;} .righttab_se_img{float:left; width:97px; height:121px; background:#ffe3d1; padding:0px auto; margin:8px 8px 8px 8px;} .righttab_se_txt{float:left; width:180px; height:150px; background:#ffe3d1; line-height:22px; padding:0px auto; margin:8px 8px 8px 5px;} .righttab_se_txtfield{float:right; background:url(images/txtfield.jpg) repeat-x top left; border:1px solid #333; width:206px; height:20px;} .righttab_se_txtfieldiv{float:right; width:206px; height:20px; margin:0px 20px 10px 0px;} .righttab_next{float:left; text-align:left; width:311px; height:auto; height:42px;} .righttab_blogs{float:left; margin:5px} .righttab_blogtxt{float:left; margin:8px; font-size:20px; font-family:Arial, Helvetica, sans-serif; color:#fff; font-weight:600;} .righttab_se_tittxt{float:left; font-weight:600; width:60px; padding-left:18px; padding-top:2px;} .righttab_center{width:100%; margin:auto; text-align:center; background:#ffe3d1; margin:0px auto; padding-bottom:10px;} .nextab{float:left; font-weight:100; padding:10px auto; width:311px;} .nextab p{float:left; font-weight:600; width:100%; padding:8px; font-size:14px; color:#424242} .nextab ul{float:left; font-weight:100; width:100%; padding-left:25px; color:#212121} .nextab ul li{float:left; font-weight:100; width:100%; display:marker; height:22px;} .nextab_a{float:left; font-weight:100; padding:0 8px; width:292px; line-height:21px; } .nextab_b{float:left; text-align:right; font-weight:600; color:#424242; width:292px; padding-bottom:20px;} .facbook{float:left; font-weight:100; width:311px; background:#ffe3d1; height: 500px;} .facbook div{float:left; font-weight:100; width:58px; height:58px; margin:9px;} .frmfield2{ border:1px solid #ccc; height:16px; width:175px;} .frmfield_bi{ border:1px solid #ccc; height:80px; width:300px;} .aboutprofileimg{ float:left; padding:2px; border:1px solid #000; margin-right:10px; margin-top:7px;} .heading { color: #FFFF00; font-family:"Times New Roman", Times, serif; font-style:italic; font-size: 16px; } table#jewelry td, table#jewelry input#submit, table#jewelry input#reset { font-size: 16px; font-weight: bold; color: #040617; padding: 5px; } table#jewelry { background-color: #ffffff; padding: 10px; margin-top: 25px; border: 2px dashed #040617; margin-bottom: 25px; } table#jewelry input#submit, table#jewelry input#reset { padding: 5px; background-color: #040617; color: #FFFF00; } /* ============================================== body End Here ============================================= */ /* ============================================== footer Start Here ============================================= */ .footer{float:left; width:100%; background-image: url(images/bottom.png); background-repeat: no-repeat; height:10px; } .footertxt{margin:auto; width:988px; color:#35838f;} .footerme{float:left; width:530px; } .footerme ul{float:left; width:180px; padding-left:35px; padding-top:12px; color:#35838f; font-family:Arial, Helvetica, sans-serif;} .footerme ul li{float:left; width:100%; height:24px; padding-top:10px; display:block; border-bottom:dashed 1px #35838f;} .footerme ul li a{float:left; color:#35838f; font-family:Arial, Helvetica, sans-serif;} .footerright{float:right; width:450px;} .footercopyleft{float:left; width:720px; color:#35838f; padding:22px 10px 10px 10px;} .footercopyright{float:right; width:150px; color:#35838f; padding:10px;} .footercopyright div{float:left; padding:10px;} .footerimgmail{float:right; padding:10px; width:408px; height:76px; margin-top:60px; margin-right:25px;} /* ============================================== footer End Here ============================================= */ Can anyone help me center this footer with the rest of the content? I have tried margin: 0px auto, but this did not work, and if i set the left margin, the image is moved when the browser is resized, so that doesn't work. Can anyone help me figure this out? I know it must be something simple I am missing, but it is driving me crazy! Any help is greatly appreciated!
  16. For some reason I cannot get this image at the bottom to align with the rest of the page. The image is part of the footer (it's named bottom.png and located in the footer class at the bottom of the CSS). Here is a link to the page so you can see what I mean: http://midwestcreativeconsulting.com/jhrevell/ And here is the CSS: /* Theme Name: Twenty Ten Theme URI: http://wordpress.org/ Description: The 2010 theme for WordPress is stylish, customizable, simple, and readable -- make it yours with a custom menu, header image, and background. Twenty Ten supports six widgetized areas (two in the sidebar, four in the footer) and featured images (thumbnails for gallery posts and custom header images for posts and pages). It includes stylesheets for print and the admin Visual Editor, special styles for posts in the "Asides" and "Gallery" categories, and has an optional one-column page template that removes the sidebar. Author: the WordPress team Version: 1.1 Tags: black, blue, white, two-columns, fixed-width, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style */ /* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html -------------------------------------------------------------- */ body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{ padding:0px; margin:0px; color: #ffffff; } fieldset,input,textarea{ padding:0px 0px 0px 0px; margin:0px 0px 0px 0px; border:1px solid #ccc; color:#666; } input.contact { width: 16em; height: 1.5em; } img {border:0px;} font{ font-family:Arial, Helvetica, sans-serif; font-size:14px; color:#000; outline:none; } a:link { text-decoration: none; } a:visited { text-decoration: none; } a:hover { text-decoration: none; } a:active { text-decoration: none; } .under{ font-style:italic; text-decoration:underline; padding-top:15px;} .submit{ width:61px; height:22px; color:#b4dde3; background:url(images/submit.jpg) top center no-repeat; border:0px; } body{ margin:0; padding:0px; background:url(images/bg.png) no-repeat; background-size: 100%; background-color:#000000; border:none; color:#ffffff; font-size:12px; font-family:Times New Roman; } #mainwrapper{ margin:auto; padding:0px; width:1020px; vertical-align:top; height:auto; border:none; } .mainwrapper{ margin:auto; padding:0px; width:100%; vertical-align:top; height:auto; border:none; } #mainheader{ width:100%; height:auto; float:left; } #logo{ width:374px; height:177px; float:left; } .bolded { font-weight: bold; } .questions { font-weight: bold; font-style: italic; color: #2da89a; font-size: 16px; } .questionList a { font-size: 14px; font-weight: bold; font-style: italic; color: #2da89a; } .questionList a: hover { color: #f8bcd4; } div#form { width: 589px; color: #2da89a; font-weight: bold; font-style:italic; } div#form td { padding-right: 50px; } div#form td.formRight { vertical-align: top; } .testimonial { font-weight: bold; } .footer_italics { font-style: italic; } div.topsubtitle p span.tips { color: #2da89a; font-weight: bold; } .article_italics { font-style: italic; } .article_bold { font-weight: bold; } .article_green { color: #2da89a; } a { color: #999999; } a:hover { color: #FFFF00; } /* ============================================== Navigation Start Here ============================================= */ /*.nav_n{float:left; width:auto; height:auto; margin:0px; padding:0px;} .nav{float:left; width:615px; height:38px; font-family:Arial, Helvetica, sans-serif; font-size:12px; margin-top:150px; margin-left:-5px;} .nav ul { margin:0; padding:0px 0px 0px 0px; list-style:none;} .nav li {display:inline; float:left; padding:0; margin: auto 3px; } */ .nav { FONT-WEIGHT: bold; FLOAT: right; MARGIN:4px 0px 0px 0px; LINE-HEIGHT: 1; LIST-STYLE-TYPE: none; font-family:Arial, Helvetica, sans-serif; } .nav ul {PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-WEIGHT: bold; FLOAT: left; PADDING-BOTTOM: 0px; MARGIN: -4px 0px 0px 0px; WIDTH:475px; LINE-HEIGHT: 1; LIST-STYLE-TYPE: none } .nav a { PADDING-RIGHT:19px; DISPLAY: block; PADDING-LEFT:19px; PADDING-BOTTOM: 7px; COLOR: #000; PADDING-TOP: 7px; TEXT-DECORATION: none } .nav a.daddy { BACKGROUND: url(rightarrow2.gif) no-repeat right center } .nav li { PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FLOAT: left; PADDING-BOTTOM: 0px; PADDING-TOP: 0px; margin-top:0px; } .nav li ul { BORDER-TOP-WIDTH: 0.25em; FONT-WEIGHT: normal; BORDER-LEFT-WIDTH: 0.25em; LEFT: -999em; BORDER-BOTTOM-WIDTH: 0.25em; MARGIN: 0px; WIDTH: 10em; POSITION: absolute; HEIGHT: auto; BORDER-RIGHT-WIDTH: 0.25em; margin-top:38px; } .nav li li {width:auto; padding:8px 0px 8px 0px; text-align:center; border-top:dashed 1px #227583; background:#B2DFDA; color:#CCC;} .nav li ul a {WIDTH: 9em} .nav li ul ul {MARGIN: -1.75em 0px 0px 14em} .nav li:hover ul ul {LEFT: -999em} .nav li:hover ul ul ul {LEFT: -999em} .nav li.sfhover ul ul {LEFT: -999em} .nav li.sfhover ul ul ul {LEFT: -999em} .nav li:hover ul {LEFT: auto} .nav li li:hover ul {LEFT: auto} .nav li li li:hover ul {LEFT: auto} .nav li.sfhover ul {LEFT: auto} .nav li li.sfhover ul { LEFT: auto} .nav li li:hover{width:auto; text-align:center; border-top:dashed 1px #B2DFDA; background:url(images/menubg.png) repeat top left;} .nav li li li.sfhover ul {LEFT: auto} .nav li:hover { BACKGROUND:none; color:#666; } .nav li.sfhover {BACKGROUND: #eda} .nav a {float:left; background:url(images/nav-left1.png) no-repeat left top; color:#2DA89A; margin:0; padding:0; text-decoration:none; font-weight:bold;} .nav a span {float:left; display:block; background:url(images/nav-right1.png) no-repeat right top; padding:0px; color:#fff;} .nav a span {float:none; color:#3f6f1c;} h1{font-family:Arial, Helvetica, sans-serif; font-size:18px; color:#2da89a; padding-top:10px; } h6{font-family:Arial, Helvetica, sans-serif; font-size:14px; color:#2da89a; padding-top:10px; text-decoration:underline; font-style:italic; } h5{font-family:Arial, Helvetica, sans-serif; font-size:14px; color:#888; padding-top:10px; padding-bottom:10px; font-style:italic; } .bolded { color: #cc98ae; } #repeating {background-image: url(images/top-repeat.png); background-repeat: repeat-x; height: 90px; } #topnav { text-transform: uppercase; font-size: 10px; } table td { color: #999999; } /* ============================================== Navigation End Here ============================================= */ /* ============================================== body Start Here ============================================= */ .bodywrapper{float:left; margin:-75px 0 0 7px; padding:0; font-family:Arial, Helvetica, sans-serif; background:url(images/midbg.png) repeat-y top center; text-decoration:none; font-weight:12px; width:988px; } .bodynner{ margin:auto; width:942px;} .bodytopbg{background:url(images/bgtopbot.png) no-repeat top left; float:left; width:100%; height:22px;} .bodymidbg{float:left; width:988px; height:auto;} .bodybotbg{background:url(images/bgtopbot.png) no-repeat; background-position: 0% -23px; float:left; width:100%; height:22px;} .contentwrpper{margin:auto; width:942px; margin-top:20px;} .contentleft{float:left; width:610px; height:auto; margin-left: 25px; margin-top: -5px;} .toptitle{font-family: "Times New Roman", Times, serif; font-size:24px; color: #FFFF00; font-weight:600; background:url(images/bot.png) bottom left repeat-x; width: 650px; height:34px; margin-bottom: 25px;} .s3{ float:left; width:589px; border:1px dashed #2da89a; padding:10px 10px;} .s4{ float:left; width:589px; padding:10px 10px;} .s5 {text-align: right;} .s6 {font-size: 18px; vertical-align: top;} .facebooklike{float:left; text-align:right; width:99%; margin:10px 0 0 250px;*margin:10px 0 0 248px; height:auto;} .topsubtitle{font-family:Arial, Helvetica, sans-serif; font-size:14px; line-height:22px; color:#3f3f3f; padding-top:5px; font-weight:100;width: 700px;} .contentright{float:left; width:195px; height:auto; margin-left:120px;} .righttab{float:left; width:100%; height:12px;} .righttab_a{float:left; width:100%; height:auto; background:#227583; padding:10px auto;} .topsubff{font-family:Arial, Helvetica, sans-serif; text-align:center; font-size:14px; line-height:22px; padding-bottom:6px; color:#fff; font-weight:600;} .righttab_se{float:left; width:311px; height:auto; background:#ffe3d1; padding:5px auto;} .righttab_se_img{float:left; width:97px; height:121px; background:#ffe3d1; padding:0px auto; margin:8px 8px 8px 8px;} .righttab_se_txt{float:left; width:180px; height:150px; background:#ffe3d1; line-height:22px; padding:0px auto; margin:8px 8px 8px 5px;} .righttab_se_txtfield{float:right; background:url(images/txtfield.jpg) repeat-x top left; border:1px solid #333; width:206px; height:20px;} .righttab_se_txtfieldiv{float:right; width:206px; height:20px; margin:0px 20px 10px 0px;} .righttab_next{float:left; text-align:left; width:311px; height:auto; height:42px;} .righttab_blogs{float:left; margin:5px} .righttab_blogtxt{float:left; margin:8px; font-size:20px; font-family:Arial, Helvetica, sans-serif; color:#fff; font-weight:600;} .righttab_se_tittxt{float:left; font-weight:600; width:60px; padding-left:18px; padding-top:2px;} .righttab_center{width:100%; margin:auto; text-align:center; background:#ffe3d1; margin:0px auto; padding-bottom:10px;} .nextab{float:left; font-weight:100; padding:10px auto; width:311px;} .nextab p{float:left; font-weight:600; width:100%; padding:8px; font-size:14px; color:#424242} .nextab ul{float:left; font-weight:100; width:100%; padding-left:25px; color:#212121} .nextab ul li{float:left; font-weight:100; width:100%; display:marker; height:22px;} .nextab_a{float:left; font-weight:100; padding:0 8px; width:292px; line-height:21px; } .nextab_b{float:left; text-align:right; font-weight:600; color:#424242; width:292px; padding-bottom:20px;} .facbook{float:left; font-weight:100; width:311px; background:#ffe3d1; height: 500px;} .facbook div{float:left; font-weight:100; width:58px; height:58px; margin:9px;} .frmfield2{ border:1px solid #ccc; height:16px; width:175px;} .frmfield_bi{ border:1px solid #ccc; height:80px; width:300px;} .aboutprofileimg{ float:left; padding:2px; border:1px solid #000; margin-right:10px; margin-top:7px;} .heading { color: #FFFF00; font-family:"Times New Roman", Times, serif; font-style:italic; font-size: 16px; } table#jewelry td, table#jewelry input#submit, table#jewelry input#reset { font-size: 16px; font-weight: bold; color: #040617; padding: 5px; } table#jewelry { background-color: #ffffff; padding: 10px; margin-top: 25px; border: 2px dashed #040617; margin-bottom: 25px; } table#jewelry input#submit, table#jewelry input#reset { padding: 5px; background-color: #040617; color: #FFFF00; } /* ============================================== body End Here ============================================= */ /* ============================================== footer Start Here ============================================= */ .footer{float:left; width:100%; background-image: url(images/bottom.png); background-repeat: no-repeat; height:10px; } .footertxt{margin:auto; width:988px; color:#35838f;} .footerme{float:left; width:530px; } .footerme ul{float:left; width:180px; padding-left:35px; padding-top:12px; color:#35838f; font-family:Arial, Helvetica, sans-serif;} .footerme ul li{float:left; width:100%; height:24px; padding-top:10px; display:block; border-bottom:dashed 1px #35838f;} .footerme ul li a{float:left; color:#35838f; font-family:Arial, Helvetica, sans-serif;} .footerright{float:right; width:450px;} .footercopyleft{float:left; width:720px; color:#35838f; padding:22px 10px 10px 10px;} .footercopyright{float:right; width:150px; color:#35838f; padding:10px;} .footercopyright div{float:left; padding:10px;} .footerimgmail{float:right; padding:10px; width:408px; height:76px; margin-top:60px; margin-right:25px;} /* ============================================== footer End Here ============================================= */ Can anyone tell me how to get it centered with the rest of the content? I have tried using margin: 0px auto, but that isn't working, and if I set the left-margin, it is changed if the browser is resizsed, etc. Can anyone please help? It's driving me crazy, and I know it must be something simple I'm missing. Thanks for any help!
  17. Right before i read this post I redid my coding and got it to work. I had something wrong when I was outputting the data from both pages: this is the gallery <?php $all_records = "SELECT * FROM gallery"; $all_records_res = mysql_query($all_records); while($image=mysql_fetch_array($all_records_res)){ echo "<a href='http://www.webdesignsbyliz.com/test-display.php?id=" .$image['id']. "'><img src='http://www.webdesignsbyliz.com/wdbl_wordpress/wp-content/themes/twentyten_2/upload/" .$image['image']. "' width='133' height='86' /></a>"; } ?> this is the gallery <?php $all_records = "SELECT * FROM gallery WHERE id = '$_GET[id]'"; $all_records_res = mysql_query($all_records); while($image=mysql_fetch_array($all_records_res)){ echo "<a href='http://www.webdesignsbyliz.com/test-display.php?id=" .$image['id']. "'><img src='http://www.webdesignsbyliz.com/wdbl_wordpress/wp-content/themes/twentyten_2/upload/" .$image['image']. "' width='133' height='86' /></a>"; } ?> Thanks for all your hard work and help guys!
  18. Okay, there must be something wrong with the way I am writing my WHERE statement because this works: <?php $id = $_GET['id']; echo $id; $dbhost = 'localhost'; $dbuser = 'user'; $dbpass = 'pass'; $conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error connecting to mysql'); $dbname = 'jewelry'; mysql_select_db($dbname); $all_records = "SELECT * FROM gallery"; $all_records_res = mysql_query($all_records); $image = mysql_result($all_records_res, 0, 'image'); $id = mysql_result($all_records_res, 0, 'id'); while($nt=mysql_fetch_array($all_records_res)){ echo "<img src=http://www.webdesignsbyliz.com/wdbl_wordpress/wp-content/themes/twentyten_2/upload/".$nt['image']." width=133 height=86></a>"; } ?> I'm echoing out the id and it's working right, but when i try to add the WHERE statement: WHERE id = '$id' It's not displaying anything. What am I doing wrong? I'm using Wordpress...does Wordpress have to have the WHERE statement a certain way or something?
  19. They are stored in a folder. The path to them is the only thing that is stored in the table. I am having no trouble pulling all records at once, it's just grabbing a single record based on the thumbnail they select that I'm having trouble with. I must have typed something wrong in my code. I'm just hoping someone can help me figure out where and what it was.
  20. I just can't get anything right today! Now I am trying to have a list of images, and when the user clicks on the image, the next page will display the image along with other fields for that record. I am sending the id through the hyperlink to the next page, and I have echoed it to ensure it's comign through, but I cannot get anythign to display ont he next page. What am I doin wrong? Here is the link to the page. If you click on one of the images, you 'll see that the next page is empty: http://webdesignsbyliz.com/wdbl_wordpress/test-submit/ Here is my code: this is the gallery <?php $dbhost = 'localhost'; $dbuser = 'user'; $dbpass = 'pass'; $conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error connecting to mysql'); $dbname = 'jewelry'; mysql_select_db($dbname); $all_records = "SELECT * FROM gallery"; $all_records_res = mysql_query($all_records); $image = mysql_result($all_records_res, 0, 'image'); $id = mysql_result($all_records_res, 0, 'id'); while($nt=mysql_fetch_array($all_records_res)){ echo "<a href=http://webdesignsbyliz.com/wdbl_wordpress/test-display/?id=" .$nt['id']." ><img src=http://www.webdesignsbyliz.com/wdbl_wordpress/wp-content/themes/twentyten_2/upload/".$nt['image']." width=133 height=86></a>"; } ?> display page: <?php $id = $_GET['id']; $dbhost = 'localhost'; $dbuser = 'user'; $dbpass = 'pass'; $conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error connecting to mysql'); $dbname = 'jewelry'; mysql_select_db($dbname); $all_records = "SELECT * FROM gallery WHERE id = $_GET[id]"; $all_records_res = mysql_query($all_records); $image = mysql_result($all_records_res, 0, 'image'); $id = mysql_result($all_records_res, 0, 'id'); while($nt=mysql_fetch_array($all_records_res)){ echo "<img src=http://www.webdesignsbyliz.com/wdbl_wordpress/wp-content/themes/twentyten_2/upload/".$nt['image']." width=133 height=86></a>"; } ?> What an I doing wrong this time?? :-(
  21. Now I am trying to display the images from my table and I have almost got it working, except for one small thing --- it seems to be displaying all the records, but instead of displaying the right image for each record, it's displaying the same image across all the records. Can anyone tell me what I have done wrong? this is the gallery <?php $dbhost = 'localhost'; $dbuser = 'webdes17_lizkula'; $dbpass = 'minimoon'; $conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error connecting to mysql'); $dbname = 'webdes17_jewelry'; mysql_select_db($dbname); $all_records = "SELECT * FROM gallery"; $all_records_res = mysql_query($all_records); $image = mysql_result($all_records_res, 0, 'image'); while($nt=mysql_fetch_array($all_records_res)){ echo "<img src=http://www.webdesignsbyliz.com/wdbl_wordpress/wp-content/themes/twentyten_2/upload/$image>"; } ?> I'm guessing I have the $image variable in the wrong place, but when I tried placing it within the while statement, the page never loaded, and instead acted like it was loading forever. What am I doing wrong? Here is the link to the page so you can see what is happening: http://webdesignsbyliz.com/wdbl_wordpress/test-submit/
  22. The page is here: http://webdesignsbyliz.com/wdbl_wordpress/test-page/ I should have posted this in the beginning, but I completely forgot until now. I hope this helps you see what I am doing wrong. I know it's probably something so simple and something so stupid I am missing! LOL Thank you for all your help! BUT...whatever you just told em to do worked! Thank you soooooo much!!!! I'm going to look over it now and try to see what the heck I was doing wrong!
  23. Still getting the same errors pretty much :-( Warning: move_uploaded_file(wp-content/themes/twentyten_2/upload/dd.jpg) [function.move-uploaded-file]: failed to open stream: No such file or directory in/home/webdes17/public_html/wdbl_wordpress/wp-content/themes/twentyten_2/submit_jewelry.php on line 45 Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpqs2yhv' to 'wp-content/themes/twentyten_2/upload/dd.jpg' in/home/webdes17/public_html/wdbl_wordpress/wp-content/themes/twentyten_2/submit_jewelry.php on line 45 Stored in: http://www.webdesignsbyliz.com/wdbl_wordpress/wp-content/themes/twentyten_2/upload/dd.jpg I can't remember what I had to do differently before when I tried this very same thing. The only difference was it wasn't on a Wordpress installation, but I wouldn't think that would make a difference, so what else could it be? And yes, I have made sure the permissions were set :-)
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.