Issues with Bootstrap CSS functionality not functioning properly within a specific div

Seeking assistance with a Bootstrap issue. I'm attempting to convert the h1 and h3 tags "Jane (Doette and Front-End Ninja)" in my div to uppercase and align them on the right side. However, there seems to be a conflict preventing this from working properly. Can anyone help me debug this problem?

<!DOCTYPE html>

<html>

<head>
    <title>Final Project</title>
    <link rel="stylesheet" href="css/bootstrap.min.css">
    <link href='http://fonts.googleapis.com/css?family=Lato:100,300' rel='stylesheet' type='text/css'>
    <link rel="stylesheet" href="css/style.css">
</head>

<body>
    <div class="container">
        <div class="row">
            <div class="col-md-6">
                <img class="img-responsive" alt="Udacity Logo" src="images/udacity-logo.jpg">
            </div>
            <div class="col-md-6 text-right text-uppercase">
                <h1>Jane Doette</h1>
                <h3>Front-End Ninja</h3>
            </div>
        </div>
        <div class="row">
            <div class="col-md-12">
                <hr>
            </div>
        </div>
        <div class="row">
            <div class="col-md-12">
                <img class="img-responsive" alt="main picture of a giraffe" src="images/animals690x350.jpg">
            </div>
        </div>
        <div class="row">
            <div class="col-md-12">
                <h2>Featured Image</h2>
            </div>
        </div>
        <div class="row">
            <div class="col-md-4">
                <img class="img-responsive" alt="A cute little cat looks on with head turned to the side" src="images/cats325x300.jpg">
                <h3>Cacho</h3>
                <p><a href="https://www.google.com/?gws_rd=ssl" target="_blank">Check out beautiful Cacho</a>
            </div>
            <div class="col-md-4">
                <img class="img-responsive" alt="A gorilla sits and looks into the distance" src="images/gorilla325x300.jpg">
                <h3>Gorilla</h3>
                <p><a href="https://www.google.com/?gws_rd=ssl" target="_blank">Check out this beastly creature</a>
            </div>
            <div class="col-md-4">
                <img class="img-responsive" alt="A cat stands with an astonished and frightened look" src="images/animals325x300.jpg">
                <h3>Blue-Eyed Cat</h3>
                <p><a href="https://www.google.com/?gws_rd=ssl" target="_blank">Check out this blue-eyed cat</a>
            </div>
        </div>
    </div>
</body>
</html>

Answer №1

Your class formatting appears to be incorrect. It should be structured like this:

<div class="col-md-6 text-right text-uppercase">

Answer №2

Let's address the issue

<div class="col-md-6" "text-right" "text-uppercase">

The correct format should be:

<div class="col-md-6 text-right text-uppercase">

For further reference, check out this JSFiddle link

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

How to conceal table cells on Safari 5?

My code works on Firefox and IE, but not on Safari. Here's an example: <table> <thead> <tr> <th style="display: none;">hi</th> </tr> </thead> <tr class="someClass"> <td style= ...

Defeat the all-powerful !important tag and enable dialog customization for positioning

I am currently developing a browser extension and I am encountering an issue with using JQueryUI to display a modal dialog. The problem arises when certain websites, for example espn.com, also utilize JQueryUI but do not properly scope their own elements. ...

Pause animated effects during scrolling

My goal is to add animations that trigger as the user scrolls, but I want them to be staggered so they occur one after the other in quick succession. I attempted using a function that adds a class to trigger CSS animations and then used setTimeout to dela ...

Tips for maintaining image dimensions on the screen using html and css?

Hello everyone! I am excited to be diving into the world of html and css, as I have a course lined up for next month. However, I currently have a project that I need to tackle on my own. One issue I'm facing is keeping the products within the screen s ...

The height of the multicell generated by fpdf is inconsistent

After writing the code below, everything seems to be working fine except for the multicell row heights which are not displaying correctly. I encountered this issue several times while testing it out. $x=$pdf->GetY(); $pdf->SetY($x+1); include_once( ...

Troubleshooting: Style sheets not loading on a page rendered by node

Today was my first attempt at learning Node.js and creating a basic server to display a single page with a header tag. However, I encountered an error stating that the CSS file could not be loaded. This is the code I used: const express = require('ex ...

"Enhance the appearance with jQuery: beautifying code

In order to achieve a pretty print layout using jQuery and HTML, I need to ensure that if any div with the class .section reaches the bottom of an A4 page (where the A4 body width is 595px and each page height is 842px), it will have a margin added to push ...

Display Listings Shortcode with Responsive CSS styling

I recently added a plug-in called Display-listings-shortcode and incorporated the columns-extension feature on my website, RitaNaomi.com. This allows for blog posts to be displayed in columns halfway down the homepage when viewed on a web browser. Initiall ...

How can I ensure that the Hamburger menu fully covers the entire viewport when it is open?

My hamburger menu is fully functional using CSS alone. However, when the menu opens, it doesn't fill the entire screen as I would like. Currently, my page content appears below the open menu, creating a cluttered look. https://i.sstatic.net/EtTsr.png ...

How can you align a list next to a set of images using HTML and CSS?

When working with these images in my code, I need to create a list alongside them: <div class="asideContent"> <ul> <li> <p> </p> </li> <li> <p></p> </li> ...

What might be the root of this layout problem?

After creating the maximum of 5 entries, the layout appears as intended and looks like this: However, when there are fewer entries, the layout becomes disorganized: What could be causing this issue? The PHP code responsible for generating each entry is a ...

Difficulty with NodeJS, Hapi, and Cascading Style Sheets

I've decided to challenge myself by creating a small webhost using Node.js with hapi. Even though I'm not an expert in Node.js, I am eager to learn as much as possible. Currently, my main issue revolves around fetching a CSS file from an include ...

What is the best way to create exclusive toggle buttons using jQuery?

I am currently working on a project where I need to create functionality for three buttons, each triggering a unique graph effect. The key requirement is that when one button is pressed, the other two should be deactivated along with their corresponding fu ...

Discovering the color of a locator (Button/Label) through a CSS locator in Selenium: What's the method?

I have a set of automation scripts in place that handle the downloading and saving of files from a server. These scripts also involve moving the downloaded files from the downloads folder to a user-specific location. When this process is complete, the co ...

How to create a unique splash screen for mobile devices when the site is opened

What is the typical method for implementing a splash screen that appears when accessing a website from a mobile device? This screen usually contains links to native apps and an option to proceed to the full site. I am considering utilizing to detect the ...

Arrangement of HTML divs and styling classes

I have been experimenting with divs and classes in order to achieve proper alignment of text on my website. Currently, I am working with 2 classes that I would like to display side by side to create 2 columns. However, the right column containing the text ...

The content in the div is not contained within a border in the css/html

I am struggling with a div wrapper that has a border, but the border is not wrapping around the content and I can't figure out why. Here is my issue on screen: This is what I want it to look like: Below is my HTML code: <div class="event_area_t ...

Unusual behavior exhibited by MUI Grid in the presence of spacing

I am working on a code snippet that looks like this: <Box sx={{height:'100vh', background: '#f5f7fc', overflow:'auto'}}> <Grid container justifyContent={'center'} padding={2}> <Grid item ...

Intersecting table columns with a different data table

My task is to create a table with a column that contains another table, where I want the colors of each alternating row to be different. Please refer to the image below (ignore the "CharacterAgain" column). Below is an example of AngularJS code for the ta ...

What is the best way to align 3 divs next to each other with spacing and borders?

I'm having trouble aligning three divs side by side. When I try to add borders and a small gap between each div, the third div ends up on a new line. Is there a way to automatically resize the divs so they fit together? HTML: <div class="trendi ...