Unusual happenings detected in Magellan Fixed with Foundation 5

I need help creating a product summary sidebar similar to Apple's. I'm using Magellan but it seems to break the page when the width is below 960 pixels. It might be related to the table, but I'm not sure. Any suggestions or assistance would be greatly appreciated. I want something like the image below:

.

<div data-magellan-expedition="fixed">
    <div class="large-2 columns right" >
        <div id="top">
            <h5>Summary</h5>
            <h4>Business Cards</h4>
        </div>

        <div id="summary">
            <table>
                <tbody>
                    <tr><td>Digital</td></tr>   
                    <tr><td>3.5 * 2</td></tr>     
                    <tr><td>Qty: 50,000</td></tr>
                    <tr><td>14 Point C2S</td></tr>
                    <tr><td>Color Front, Empty Back</td></tr>      
                    <tr><td>5 Business day turnaround</td></tr>    
                    <tr><td>5 Business day turnaround</td></tr>  
                    <tr><td>5 Business day turnaround </td></tr>
                </tbody>
             </table>

             <h5>Your Price:      $64.5</h5>
             <h5> Unit Cost:      $0.323</h5>
             <a href="#" class="small radius success button">Get Started</a>
        </div>
    </div>
</div>

Answer №1

The issue could be with the table width. Try adding #top table { width: 100%;}

Since you are using F5 and it does not support older IE browsers, consider implementing more HTML5 and CSS3 elements:

<data-magellan-expedition="fixed">
<section id='business' class='large-3 medium-12 columns right'>
    <header>
        <h1>Summary</h1>
        <p>Business Cards</p>
    </header>
    <article>
        <table class='debug'>
            <tbody>
                 <tr><td>Digital</td></tr>   
                 <tr><td>3.5 * 2</td></tr>     
                 <tr><td>Qty: 50,000</td></tr>
                 <tr><td>14 Point C2S</td></tr>
                 <tr><td>Color Front, Empty Back</td></tr>      
                 <tr><td>5 Business day turnaround</td></tr>    
                 <tr><td>5 Business day turnaround</td></tr>  
                 <tr><td>5 Business day turnaround </td></tr>
           </tbody>
       </table>
       <p class='price'>Your Price:      </p>
       <p class='price'> Unit Cost:      </p>
       <a href="#" class="small radius success button">Get Started</a>
    </article>
</section>
</div>

This structure is more semantic and has a clearer outline. You can target specific tags inside the #business section:

#business table { width: 100% }
#business > header {}
#business > article {}
#business > header > h1 {} 

An example markup to match your example:

.debug {border: 1px solid red;}
/* Business root modifiers */
#business table { width: 100%;}

/* Business #top */
#business > header {
    /* Target former #top */
}

#business > header > h1 {
    font-size: 2rem;
    margin: 0px;
    padding: 0px;
}

#business > header p {
    font-size: 2.5rem;
    margin: 0px;
    padding: 0px;
}

/* Business #summary */

#business > article {
    /* Target former summary */
}

/* Price specifications */
.price {
    font-size: 1.4rem;
    font-weight: bold;
    margin: 0px; padding: 0px;
}
.price:last-of-type {margin-bottom: .5rem;}

Github gist > https://gist.github.com/anonymous/8915089

If this doesn't solve your issue, provide more information such as the location of the checkboxes from the image.

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

What steps should be taken to retrieve the contents of a file that has been chosen using the browse

You have successfully implemented a browse button that allows the user to navigate the directory and choose a file. The path and file name are then displayed in the text element of the Browse button complex. Now, the question arises - how can I extract dat ...

Filtering a subarray in Angular using ng-repeat

While working with Angular, I am attempting to filter data using ng-repeat based on the FactorName property in the given schema. Unfortunately, trying to use <... ng-model="query.Factors.FactorName" ...> as a filter does not produce the desired re ...

Retrieving a function from a JavaScript file located in a publicly accessible directory

Having trouble accessing a function from the JS file scripts.js within the public folder where my CSS file is also located. Despite following various tutorials like this, I keep encountering the error message Error: Cannot find module './scripts.js&ap ...

Declaration of Character Encoding in CSS3

Do I need to include a character encoding declaration in CSS3? When I add the @charset "utf-8"; declaration, Visual Studio's CSS3 validation displays a warning. Can anyone offer some guidance on this issue? ...

Populate the ListBox based on the value of the input control in the onKeyUp event

I have a ListBox control <asp:ListBox ID="ListBox1" runat="server"> <asp:ListItem Value="1" Text="XYZ" /> <asp:ListItem Value="0" Text="XYZD" /> <as ...

Automated login feature in JQuery utilizing localStorage

I've been working on implementing an automatic login feature for users using the "Remember Me" functionality. Below is the code I have written, but unfortunately, it's not logging in users automatically: if (localStorage.getItem("username") != ...

What is the functionality of Mongoose for handling multiple updates?

Array; arr=[ { id: [ '5e6e9b0668fcbc7bce2097ac', '5e6e9b0e68fcbc7bce2097af' ], color: [ 'a', 'b' ] } ] Models; const varyant = Models.varyant function; Promise.all( arr.map((item)=>{ return var ...

What could be causing my for loop to become unresponsive?

My for loop seems to be populating all fields with the last object parsed. http://codepen.io/anon/pen/EKxNaN This is my current code. I created something similar on CodePen since I can't access JSON from the original source there. var championMaste ...

Ways to prevent other users from clicking or modifying a particular row

I have a data table in my project that will be accessed by multiple users simultaneously. My requirement is that once a row is selected and edited by one user, it should become unclickable for other users who are also viewing the same page or data table. ...

Disabled radio buttons are appearing as if they have been chosen

While working on customizing the styles of radio buttons in a form, I encountered an issue where disabled radio buttons appeared selected even though they were supposed to show as disabled. Here is the code snippet that I used: input ::-ms-clear { ...

Integrate new functionality into the plugin's JavaScript code without directly editing the JS file

I need to incorporate a new function called 'setInputDataId' at the same level as the existing function '_select' in the plugin js file without directly modifying the file itself. I am seeking guidance on how to add this new function. ...

Encountered an npm compilation error - Unable to locate module: bootstrap-theme.css

I recently updated all the dependencies in my JavaScript program without making any changes to my components or index.js file. However, when I run npm run build I encounter an error with index.js related to bootstrap-theme.css: Failed to compile. Modul ...

A guide on updating a boolean field in the database using ajax

Here is a piece of my html code: <form action="" method="post"> {% csrf_token %} {% if donate.is_taken == False %} <br> <button type="submit" class="btn" name="taken_or_not" ...

Tips for enabling the `ignoreUndefinedProperties` feature in Node.js

I'm currently in the process of creating a REST api for my Node.js and Express application. However, I keep encountering an error stating that properties are undefined whenever I attempt to send a request. How can I go about enabling 'ignoreundef ...

Latest Information Regarding Mongodb Aggregate Operations

Struggling to toggle a boolean value within an object that is part of a subdocument in an array. Finding it difficult to update a specific object within the array. Document: "_id" : ObjectId("54afaabd88694dc019d3b628") "Invitation" : [ { "__ ...

When using VueJs, the input value may not clear upon pressing the ESC key for the first time

When I press the ESC key, my input should clear. However, I am experiencing a bug where the input is not cleared after the first press of the ESC key; it only clears after the second press. Even though the console displays an empty value for the input aft ...

Having trouble getting my AngularJS directive with a number in the name to function properly

Check out my code snippet: app.directive('3dPlansSlider', function(){ return { controller: 'projectCtrl', restrict: 'E', templateUrl: 'views/3dPlansSlider.html', link: function(scope, element, attr ...

jQuery - Endless paging

My attempt at implementing infinite scrolling on my page seems to have hit a snag. Instead of triggering at the bottom of the page, it's activating when I scroll back to the top. Can anyone shed some light on what might be causing this issue? $(windo ...

Encountering a 400 bad request error while trying to post data using

const fetch = require("node-fetch").default; let iApi = express.Router(); iApi.post("/update/:name/:value", async (req, res) => { const name = req.params["name"]; ...

ReactJS with Redux Form and Material UI framework featuring automatic typing and field clearing capabilities

Currently, I am in the process of developing a nested form framework that utilizes both the redux form and material ui frameworks. The components are already built up to this point - you can view them here: https://codesandbox.io/s/heuristic-hopper-lzekw ...