Linked Questions

-1 votes
1 answer
825 views

CSS: how to set content by class? [duplicate]

In one table, I have fixed content for each class. <td class="matched">Matched</td> ... <td class="not-matched">Not Matched</td> Is there way to avoid typing ...
user180574's user avatar
  • 5,970
0 votes
1 answer
262 views

How to remove word from li using CSS? [duplicate]

I want to replace Event Date: word using CSS and without the help of jQuery. <ul class="event-custom-price"> <li>Event Date: <p>Tue, 25 Jun 2019 02:14 AM - Tue, 25 Jun 2019 03:...
aniruddha Mahamulkar's user avatar
-1 votes
2 answers
194 views

Use CSS to add a close X in this element [duplicate]

Is there a way to add and X to this element via CSS? <span class="mobile_menu_bar mobile_menu_bar_toggle"></span> Im not sure where its located in the site, so Id rather just go this ...
user718229's user avatar
-2 votes
4 answers
5k views

How to add bold text with CSS? [duplicate]

Answers to this question show how to prepend/append text to a HTML element contents using CSS. Is there a way to make the CSS-added text bold without making the original HTML element contents bold as ...
Ivan's user avatar
  • 63.8k
1 vote
3 answers
3k views

yii cgridview button label or title change

this is the code for a button, i want to change the label or in other words the title tag content. 'assignParent' => array( 'label' => 'Assign Parent', 'url' =&...
user avatar
1 vote
1 answer
1k views

Add words next to icons in jquery ui accordion

I have a jquery ui accordion which works fine. I have the title on the left, and a +/- on the right which I'm using fontawesome for. Is it possible to add some words next to the +/-? For example ...
Steph's user avatar
  • 11
1 vote
1 answer
569 views

When adding quotation marks around text is it okay to use CSS pseudo-elements?

I'm designing a template for my wordpress and I want to introduce some style for the blockquote tag. As writing “ and ” all the time could be a little messy, I wonder if I can style the :before and :...
Vandervals's user avatar
  • 5,944
2 votes
1 answer
705 views

How to make text created with CSS :after Element selectable?

i'm creating text with css :after. But I'm not able to select the resulting text (e.g. for copy&paste). is it possible to make it selectable? <div>foo</div> div:after{ content: ' ...
juleee's user avatar
  • 466
2 votes
2 answers
905 views

Inject git branch name into HTML page

I work on an ASP.NET MVC web project, and we're developing several features concurrently. Each feature is on its own branch, and to test the site we publish it to a staging area. However, after it's ...
RamblerToning's user avatar
0 votes
2 answers
176 views

Security - css files over http or https

Scenario goes like this: Main parts of web site is on one server. All traffic goes over https. I have no control ovet this server. Themes use css files and images from another server. Also over https....
CoR's user avatar
  • 3,876
1 vote
2 answers
191 views

Insert text with css, indent rest of text like list

My question builds on this question. Just like abelenky, I want to insert text in front of an HTML element using CSS only. Marcel Jackwerth's answer worked perfectly, however, I need something ...
user avatar
-1 votes
1 answer
58 views

Button put text right corner with class

I have a span like that <span class="btn btn-sm btn-twitter" id="Teacher" >TheTeacher</span> I want to add x char character with class so, when i write this code $("#Teacher").addClass("...
Zibian Domichi's user avatar
0 votes
2 answers
56 views

Use one file to display to lots of webpages

I'm building a simple webpage. However there are a few dozen sub pages. The way this guy organises his business means the phone number is constantly changing between those in charge of taking calls ...
Caelum's user avatar
  • 1
0 votes
0 answers
50 views

Positioning an element to a third party element

I'm using vue-grid-layout: https://github.com/jbaysolutions/vue-grid-layout They use a placeholder item to show where the tile is being dragged. By default it's red. I was able to style it to a ...
user6728767's user avatar
  • 1,193
0 votes
0 answers
40 views

Subdivide or reorder HTML content by css means

For a static web page and with javascript forbidden (because of firewall settings) I would like to have the possibility to display content depending on different css. This css will be different for ...
Peter's user avatar
  • 107