Jump to content

runawaykinms

Members
  • Posts

    14
  • Joined

  • Last visited

    Never

Everything posted by runawaykinms

  1. runawaykinms

    Spacing

    Im not sure, but you might try a couple of different things. 1. Change the blue divs width. Set it to a percentage instead of a fixed width. So if you make it 100% it should fill in the white div tag. 2. Try to change the display setting. For example you have: <label style="display: block; margin-top: 11px;" for="title">Title:</label> This sets the display to display:block. Therefore, there will be a space before and after the element. These are some of my guesses of the top of my head, but I am brand new to this stuff. If anyone else knows a better answer please share.
  2. Hello, I am having a problem with my drop down menu. The layout of my page has a drop down menu and directly below it there is a table with a rotating ad. The rotating ad is using the jquery cycle plugin to change between different ads. Anyway, the problem I am having specifically is that, if the table cell containing the ad has more than one image (ad) inside of it the drop down menu does not drop on top of this image but behind it. For a slight moment when the images are in between cycle the drop down menu box is visible on top of the ad, but then disappears as soon as the add is displayed. Is there some way I can make the drop down menu be visible on top of anything no matter what it is? In case it is needed, I included the code and the CSS code: HTML: <!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 http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>Untitled Document</title> <link rel="stylesheet" type="text/css" href="styles1.css"/> <script type="text/javascript" src="jquery-1.4.2.min.js" charset="utf-8"></script> <script src="jquery.hoverIntent.minified.js" type="text/javascript" charset="utf-8"></script> <script type="text/javascript" src="jquery.cycle.all.min.js" charset="utf-8"></script> <script type="text/javascript" charset="utf-8"> $(document).ready(function() { function addMega(){ $(this).addClass("hovering"); } function removeMega(){ $(this).removeClass("hovering"); } var megaConfig = { interval: 200, sensitivity: 3, over: addMega, timeout: 200, out: removeMega }; $("li.mega").hoverIntent(megaConfig) }); $(document).ready(function() { $('#slideshow').cycle({ fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc... }); }); </script> </style> </head> <body> <div id="outercontainer"> <div id="container"> <!--Start of Navigation Bar--> <div id="header"> <div id="logo"><img alt="" name="Logo" width="200" height="75" id="Logo"/></div> <ul id="menu"> <li> <h2> <a href="#">Home</a> </h2> <div> Latest news, special deals, and more... </div> </li> <li class="mega"> <h2> <a href="#">Bridal Veils</a> </h2> <div> <h3> Shoulder Length Veils </h3> <p> <a href="#">Shirts</a>, <a href="#">T-shirts</a>, <a href="#">Accessories</a>, <a href="#">More...</a> </p> <h3> Elbow Length Veils </h3> <p> <a href="#">Sporting goods</a>, <a href="#">Gadgets</a>, <a href="#">More...</a> </p> <h3> Fingertip Length Veils </h3> <p> 40% off all photo accessories this weekend only. <a href="#">Don't miss out!</a> <h3> Knee Length Veils <br/> Cathedral Length Veils </h3> </div> </li> <li class="mega"> <h2> <a href="#">Bridal Tiaras</a> </h2> <div> <h3> Ladieswear </h3> <p> <a href="#">Tops</a>, <a href="#">Pants</a>, <a href="#">Skirts</a>, <a href="#">T-shirts</a>, <a href="#">More...</a> </p> <h3> Gifts </h3> <p> <a href="#">Sporting goods</a>, <a href="#">Gadgets</a>, <a href="#">More...</a> </p> <h3> Shop Now for Mother's Day! </h3> <p> Earlybird Mother's Day specials. <a href="#">Shop early, save on shipping!</a> </p><a href="#" class="more">More stuff for her...</a> </div> </li> <li class="mega"> <a href="#">Bridal Jewlery</a> <div> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. </div> </li> <li class="mega"> <a href="#">Bridal Accessories</a> <div> <h3> Wedding Ceremony </h3> <p> <a href="#">Unity Candles</a><br/> <a href="#">Memorial Candles</a><br/> <a href="#">Ring Pillows</a><br/> <a href="#">Flower Girl Baskets</a><br/> <a href="#">Guest Books</a><br/> <a href="#">Wedding Collections</a><br/> </p> <h3> Wedding Reception </h3> <p> <a href="#">Champagne Flutes</a><br/> <a href="#">Cake Servers</a><br/> <a href="#">Champagne Flutes & Cake Server Sets</a><br/> <a href="#">Cake Toppers</a><br/> <a href="#">Gift Card Holders</a><br/> </p> </div> </li> </ul> </div> <div id="maincontent"> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td width="70%" rowspan="3"> <div id="slideshow"> <img src="5300VL[1].jpg" width="100%" height="450"/> <img src="acoustic-bricks.jpg" width="100%" height="450"/> </div> </td> <td width="30%"><img src="Graphics/Bridal Portrait 1.jpg" width="100%" height="148" /></td> </tr> <tr> <td><img src="Graphics/Bridal Portrait 2.jpg" width="100%" height="148" /></td> </tr> <tr> <td><img src="Bridal Portrait 1.jpg" width="100%" height="148" /></td> </tr> </table> </div> <div id="footer"> <p> </p> <p> </p> </div> </div> </div> </body> </html> CSS Code: /*Containers*/ body { font-family: "Lucida Grande", "Lucida Sans Unicode", "Verdana", sans-serif; font-size: 11px; background: #fff; color: #333; } td { vertical-align: top; } div#outercontainer { background-color:#000; margin: 0; padding: 0; border: 0; } div#container { margin-left: 10%; margin-right: 10%; } div#slideshow { display: block; } h1, h2, h3, h4, h5, h6, p, ul, li { font-size: 1em; margin: 0; padding: 0; } /*Mega drop down menu*/ ul#menu { background: #9c3; color: #fff; margin: 0; padding: 0.3em 0em; } ul#menu li { display: inline; margin: 0.1em 1em; position: relative; } ul#menu h2, ul#menu h3 { font-size: 100%; font-weight: normal; display: inline; } ul#menu li a { color: #fff; text-decoration: none; padding: 0 0.4em; } ul#menu li a:hover { text-decoration: underline; } ul#menu li.mega a { background: transparent url(file:///C|/Documents%20and%20Settings/Matt/Local%20Settings/Temporary%20Internet%20Files/Content.IE5/JCKJQWB0/arrow.gif) center right no-repeat; padding: 0 1.2em; } ul#menu li.mega a:hover { text-decoration: underline; } ul#menu div { display: none; } ul#menu li.mega div { border: 1px solid #dda; width: 18em; position: absolute; top: 1.6em; left: 0em; padding: 1.3em; background: #9C3; color: #930; } ul#menu li.hovering div { display: block; } ul#menu li.mega div a { color: #300; padding: 0; background-image: none; text-decoration: underline; } ul#menu li div a.more { color: #390; font-weight: bold; } ul#menu div h3 { color: #000; font-weight: bold; font-size: 1.1em; } ul#menu div p { margin: 0 0 0.8em 0; padding: 0; } /*Main Content*/ /*Footer*/ Thanks for the help
  3. Also, Is that problem occurring in just one browser, or in them all?
  4. I see what you mean. You are saying that if you set the height of each page to a fixed amount, the background image repeats and fills in the desired area. However, if you don't set the height to a fixed number the image does not fill in the area as you would like. Is that correct?
  5. Do you also have the CSS stylesheet avaliable? Can you post that as well?
  6. Thanks Thorpe for the reply. Anyone have some suggestions of good books on using magento, especially when it comes to customization?
  7. When I start a project I usually follow a plan something like this: 1. Draw out a few design sketches on paper/or etch a sketch . I often search/find other websites in the same genre for brainstorming ideas. 2. Start by coding the layout. Also, I used the term layout instead of tables. I think that tables should only be used when necessary or when displaying data. I would recommend using CSS and DIV tags to create the layout when possible. 3. Input the content into the layout diagram.
  8. If I understand your question right, you are looking to create an ecommerce website. I am new to this, but as I understand it, there are two main ways to do this: 1. Hand code the entire site yourself: I don't recommend this, because there are several products that have already done this for you and it would take a lot of time and frustration. 2. Choose a Shoping cart software: There is many shopping cart software out there and they due most of the difficult tasks for you. All you have to do is learn how to use them and if you want to, learn how to customize them. With that being said, and the fact that you are looking for a free one, I recommend using something like Magento. You can research it online and also there are even some free ebooks online I found that explain how to use it. Hope this helps a little bit.
  9. Thanks for your reply, I have researched many shopping carts and have decided that I want to go with Magento. I will be using their free cart software and will be coding in PHP. However, now that I have chose the shopping cart, I am not sure where to start. I know that I will need to download Magento into a folder on my server, but I was looking for a basic description of what to do after that. For example, Magento has many prebuilt includes and pages, but how do I put those pages to work on my previously coded pages?
  10. I have been playing around with this some more and have found one other thing that may help. When I change the code in question from this: <div id="slideshow"> <img src="5300VL[1].jpg" width="100%" height="450"/> <img src="acoustic-bricks.jpg" width="100%" height="450"/> </div> To this: <div id="slideshow"> <img src="5300VL[1].jpg" width="100%" height="450"/> </div> The image fits perfectly, however, since there is only one image the cycle plugin doesn't work. Why when I add more images does the alignment change? Thanks
  11. Hello, I am working on a website and have become frustrated while trying to implement a jquery plugin (cycle plugin). I could really use some help on this one. The website has a basic layout with a table in the center for the main content of the page. In the table, one of the table cells will be used for a rotating ad. I attempted to use the jquery cycle plugin and it seems to work well, except the images that are suppose to cycle are out of alignment with the table cell. I am not sure if this is an issue with the plugin or with the CSS I have used. I have attached both files. Thanks in advance [attachment deleted by admin]
  12. Hello, I am looking for a somewhat basic/general, step by step, description of how to integrate a shopping cart into a current website. For example, Step 1 might be: Pick a shopping Cart. However, after this step, what actions do I need to take to integrate it into my current website. Thanks for your help.
  13. Thank you very much for the help thus far. I was able to submit the form without an error, however, I am having a new problem. When I received the email, the data that is entered in the form field was not there. I tried this a couple of times, and each time the email goes through, but without the information entered. Is something wrong with my code? The original file should be attached to this post. [attachment deleted by admin]
  14. Hello, I am new to PHP and I have created a page for a friends website. When I try to send this document I get the following error: Parse error: syntax error, unexpected $end in /home/oranda/public_html/monthly_report.php on line 111 I am not sure what the problem is, I have searched other forums, but can't find the solution. Any suggestions? I have attached the document with the code. Thanks for the help in advance! [attachment deleted by admin]
×
×
  • 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.