Category "css"

img tag not working with relative path in src

This is not working: <img src="../assets/images/image.jpg" alt="Alternative Text"> But this is working: <img src="http://localhost/abc/def/geh/asse

How to increase the font size of the request in postman tool?

I am using Postman tool for hitting the REST api with request and response. I want to increase the font size of the request. Under Settings there seem to be jus

Align label and input inside a table row

I encounter a simple problem at first, but I can not solve. I have a table representing a form with many rows (one in my sample to simplify), having two columns

Is the attribute selector syntax for class names necessary in HTML emails in 2022?

I have an old email template contributed to by several people and it uses an attibute selector to select the class attribute value in addition to the normal cla

Changing font-family for placeholder

Is it posible for an input field to have one font-family and it's placeholder another? I have tried to change font-family for the input's placeholder with an al

Jquery nested LI elements inside tabbed content UL LI list

Im using tabbed content on my page (SEE MY FIDDLE) Now the tabbed content makes use of <ul><li> elements to display the different tabs. Inside one

how do I return anchors to their initial state after a visit

I have a chapter-navigation table, with about 50 entries, shown in blue per web custom. The text turns red on a:hover, because the active area is the text rathe

CSS: How to scale an <img> to cover entire parent <div>? [duplicate]

http://jsfiddle.net/Log82brL/15/ This <img> isn't shrink wrapping as I would expect with min-width:100% I'm trying to shrink the <im

Text not wrapping in paragraph element

I have two floated divs, side by side, with p tags inside. The text within the p tags does not wrap and just overflows the container, as you can see in the text

Align Buttons Side by Side Bootstrap

I am trying to align my two bootstrap buttons side by side (horizontally), right now they are aligned one on top of another (vertically). I have found a few que

Invalid Property Value on background-image

.up { background-image: url('/design-library/profound_test/images/cab_images/white-arrow-up.png') 50% 50% no-repeat; } This code is giving me an 'invalid prop

How do I center an image in a table in Outlook

What is the correct inline css to move text or an image center in Outlook. Any time I open it in a browser, it looks great but the bottom image and text always

Select arrow style change

I'm trying to replace the arrow of a select with a picture of my own. I'm including the select in a div with the same size, I set the background of the select a

why does display:table break absolute position on safari only?

how it should be and looks on chrome and firefox: how it looks on safari: removing display:table fixes the positioning, but i need that for the styling (

Edit line thickness of CSS 'underline' attribute

Since you can underline any text in CSS like so: h4 { text-decoration: underline; } How can you also then edit the 'line' that is drawn, the color you get on

Bootstrap CSS for wide and boxed layouts

I am using Bootstrap and I need two layouts for wide and boxed. And I want to easly toggle (change) between layouts when needed. EDIT : How can I do like this

Background color overridden even after reversing the order of CSS layers

I want to use the new CSS cascade layers feature supported by latest versions of Chrome, Firefox, Safari, and Edge (see the support table). I'm importing a styl

How to style an HTML5 Progress Element as Circle/Pie with pure CSS

HTML5 introduced a new "progress" element that by default is rendered as a progress bar (thermometer). A very basic example is: <progress max="100" value

How can I change the size of bootstrap slider?

Jsfiddle link is https://jsfiddle.net/gzp0pcot/ I am using Bootstrap slider from https://github.com/seiyria/bootstrap-slider I tried to change it using css

data-offset in Bootstrap Scrollspy is not offseting at all

Any value I set to data-offset for scrollspy does not work at all. Here are the relevant html, css, and js code: HTML <nav class="navbar navbar-fixed-top