Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4582908
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T21:08:27+00:00 2026-05-21T21:08:27+00:00

how do i write a Logo thats made out of pure css so its

  • 0

how do i write a Logo thats made out of pure css so its just like how i would write it in its html form, how does it look in Ruby/Ruby on Rails?

Right now i have this:

<div id="logo">
<h1><%= link_to 'Title <span>title</span>'.html_safe, root_path %></h1>
</div>

I am new to Ruby and Rails so i have no idea how to include the < span > and i don’t think i should be playing with the .Html_safe either.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T21:08:27+00:00Added an answer on May 21, 2026 at 9:08 pm

    In cases like this, I prefer to have more control over the HTML, since including HTML as a string to a helper method is just nasty.

    <div id="logo">
      <h1>
        <a href="<%= root_path %>">
          Title <span>title</span>
        </a>
      </h1>
    </div>
    

    The helpers like link_to are helpful, but when they make you jump through hoops they aren’t worth using.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My html file: <html> <head><title>RSS Form</title></head> <body> <form method='post' action='write.php'> <img src='logo.png' align='left' />
I am trying to write some test script for a web application. So I
I have a white/transparent logo in a transparent div which is on top of
Hi guys I have an instance where I have a logo image as part
I'm trying to give a client a HTML email template so that they can
Does anyone know why my 'container' div isn't showing the white bg-color from it's
I'm using NHibernate, DI/IoC and the Unit of Work pattern. Most UoW examples I've
i know there's a lot of these type of questions. i wanted to post
I am working on a dutch site and i am having a problem with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.